At any point you may enter a question mark ? for help.任何时候可以打?取得帮助
Use ctrl-c to abort configuration dialog at any prompt.按Ctrl-C可以取消并退出
Default settings are in square brackets [].默认参数在[]中
Continue with configuration dialog? [yes/no]: y继续交互配置吗?回答:y
Enter IP address: 10.1.1.249ip地址
Enter IP netmask: 255.255.255.0子网掩码
Would you like to enter a default gateway address? [yes]: y设置默认网关?y
IP address of default gateway: 10.1.1.254默认网关
Enter host name [3548_9A]:
The enable secret is a one-way cryptographic secret used
instead of the enable password when it exists.
Enter enable secret: _password输入超级用户密码
Would you like to configure a Telnet password? [yes]: y
Enter Telnet password: _password输入telnet密码
Would you like to enable as a cluster command switch? [yes/no]: n集群模式?n
The following configuration command script was created:已建立以下配置信息
ip subnet-zero
interface VLAN1
ip address 10.1.1.249 255.255.255.0
ip default-gateway 10.1.1.254
enable secret 5 $1$biZ3$AOLb9cMTtBwMtGB9lyBzr.
line vty 0 15
password _domainwlzx
snmp community private rw
snmp community public ro
!
end
Use this configuration? [yes/no]:使用该配置信息吗? y
修改配置:
禁止通过snmp管理:
3548>enable
password:
3548#config term
3548(config)#no snmp community private
3548(config)#no snmp community public
接着配置干道:(确定上级交换机对应端口已设为干道模式)