1、三层交换机带外管理:
CS6200-28X-EI>ena
CS6200-28X-EI#conf
CS6200-28X-EI(config)#username dcn privilege 15 password 0 123456
CS6200-28X-EI(config)#enable password 789
CS6200-28X-EI(config)#authentication line console login local
CS6200-28X-EI(config)#exit
CS6200-28X-EI#wr
CS6200-28X-EI#
验证:
2、三层交换机带内管理:
CS6200-28X-EI#conf
CS6200-28X-EI(config)#telnet-server enable //开启TELNET登陆
Telnet server has been already enabled.
CS6200-28X-EI(config)#ssh-server enable //开启SSH登陆
ssh is enabled successfully.
CS6200-28X-EI(config)#ip http server //开启WEB登陆
web server has worked
CS6200-28X-EI(config)#int vlan 1
CS6200-28X-EI(config-if-vlan1)#ip add 192.168.1.1 255.255.255.0
CS6200-28X-EI(config-if-vlan1)#exit
CS6200-28X-EI(config)#exit
CS6200-28X-EI#wr
验证:
(1)TELNET登陆:
(2)SSH登陆:
(3)WEB登陆: