2024年4月26日发(作者:)
思科交换机配置
1、 交换机管理VLAN,地址,用户和密码
Switch>enable
#进入特权模式
Switch#configure
#进入全局模式
Switch(config)#hostname
#命名yyyy
Switch(config)#enable
#弱口令
Switch(config)#enable
#使能密码
Switch(config)#interface
#默认VLAN
Switch(config-if)#no
#使VLAN处于运行中
Switch(config-if)#
Switch(config-if)#exit
Switch (config)#line vty 0
#开启TELNET登录,同时登录2人
Switch (config-line)#password 123456
Switch (config-line)#login
ip address
192.168.3.254 255.255.255.0
vlan
secret
password
terminal
yyyy
123
123456
1
shoutdown
2
发布评论