如下图接入console串口线到交换机的管理接口
在电脑上打开超级终端
新建一个终端连接
设置接口属性
按回车键即可进入交换机系统 输入默认默认的管理员 admin zhongxing
输入enable 进入特权模式 密码为 admin
输入?可以查看帮助命令
修改交换机名 zte(cfg)#hostname 51cto
进入三层路由地址配置模式 51cto(cfg)#config router
设置第一个端口IP为 192.168.0.1/24
51cto(cfg-router)#set ipport 1 ipaddress 192.168.0.1/24
设置第一口为VLAN1 51cto(cfg-router)#set ipport 1 vlan 1
开启激活第一端口 51cto(cfg-router)#set ipport 1 enable
exit退出到特权模式设置WEB管理
开启WEB功能 51cto(cfg)#set web enable
端口重定向到9999 51cto(cfg)#set web listen-port 9999
设置telnet为任意模式(默认只允许特定主机访问) 51cto(cfg)#set remote-access any
设置登录密码 51cto(cfg)#set user local admin login-password denglu
设置网页管理密码 51cto(cfg)#set user local admin admin-password web
保存所有配置 51cto(cfg)#saveconfig
Saving file, please wait a minute...
done ! (此提示表示成功)
重启一次交换机 51cto(cfg)#reboot
按Y确认重启 Sure to reboot ? [Yes|No]:y
然后用电脑将网线连接在第一个端口 设置电脑IP地址为 192.168.0.2/24
ping 192.168.0.1 测试链路
远程终端管理 C:\>telnet 192.168.0.1
输入设置的密码为denglu进入
在浏览器输入配置的WEB管理地址http://192.168.0.1:9999
转载于:https://blog.51cto.com/xxcmd/1051465