这篇讲讲5228F的配置,留给需要配置的网友,也给自己做个记录。
1. Console线。5228F附带了一根RS232的配置线,但因为家中电脑不支持RS232,所以重新买了根RJ45-USB的控制线。某宝上很多,找便宜的买就行了。然后根据控制线的芯片(我买的340芯片)上网找驱动,下载安装即可。
USB-RJ45 console线
2. 设备的用户手册。根据设备背面的说明,上zte的support网站,用提供的用户名密码登录,然后下载对应的用户手册/说明书。zed格式的,需要额外再下载中兴e读来进行阅读。(其实zed解压缩出来就是html文档,应急时可以解压后打开阅读。小技巧,从内部人士获知)
ZXR10 5200F系列(V3.05.10)全千兆智能交换机 用户手册文档包 (https://support.zte.com.cn/support/docCenter/ItemdocumentList.aspx?sid=179665&id=30648281)
中兴e读(https://support.zte.com.cn/support/DownloadZTEeReader.aspx)
网站的登录用户名密码贴在交换机的背面(switchzte/Switch_99895960)
3. putty或其他串口通信软件。
1. USB连接windows电脑(安装完驱动),rj45连接console口。
2. 打开putty软件,连接方式选择Serial,Speed:9600,从windows的设备管理器里面可以看到打开的是那个COM口。
putty连接成功后,按回车会看到欢迎界面,进入命令行。
*************************************************************************
Welcome to ZXR10 Carrier-Class High-end Routing Switch of ZTE Corporation
*************************************************************************
!!!注意提示符,提示符确认当前处于什么模式下,不同的模式可输入的命令不同。退到上一级提示符使用exit命令
enable切换为管理员模式,默认密码:zxr10
ZXR10>enable
Password:
ZXR10#configure terminal
第一个事情当然是把风扇速度降下来
ZXR10(config)#environZXR10(config-environ)#set fan 1 all 0 0 //手动关闭,建议不要
ZXR10(config-environ)#set fan 1 all 1 0 //手动1挡,建议选择
ZXR10(config-environ)#set fan 1 all 2 0 //手动2挡
ZXR10(config-environ)#set fan 1 all 3 0 //手动3挡
ZXR10(config-environ)#set fan 1 all auto 0 //自动,超过45度就会加到2挡
ZXR10(config)#
ZXR10(config)#aaa-authentication-template 2003
ZXR10(config-aaa-authen-template)#aaa-authentication-type localZXR10(config-aaa-authen-template)#exit
ZXR10(config)#aaa-authorization-template 2003
ZXR10(config-aaa-author-template)#aaa-authorization-type none
ZXR10(config-aaa-author-template)#exit
ZXR10(config)#system-user
ZXR10(config-system-user)#authentication-template 3
ZXR10(config-system-user-authen-temp)#bind aaa-authentication-template 2003
ZXR10(config-system-user-authen-temp)#exit
ZXR10(config-system-user)#authorization-template 3
ZXR10(config-system-user-author-temp)#bind aaa-authorization-template 2003
ZXR10(config-system-user-author-temp)#exit
ZXR10(config-system-user)#user-name jade
ZXR10(config-system-user-username)#bind authentication-template 3
ZXR10(config-system-user-username)#bind authorization-template 3
ZXR10(config-system-user-username)#password zxr10
配置管理网口的ip,配置完成后,就可以用网线连管理网口进行配置了(web/telnet/ssh)。
ZXR10(config)#interface mgmt_eth
ZXR10(config-if-mgmt_eth)#ip address 192.168.1.10/24
ZXR10(config)#ssh server enable
ZXR10#show ssh
=================================================================
SSH configuration
=================================================================
SSH enable-flag configuration : enable
SSH version : 1SSH listen port : 22
SSH DSCP value : 48
SSH IPv4 ACL name :
SSH IPv6 ACL name :
SSH rekey interval : 2(hours)
-----------------------------------------------------------------
ZXR10(config)#web server enable
ZXR10(config)#show web server
--------------------------------------------------------------------------
WEB server status : Enabled
WEB server port : 80
Absoulte timeout interval : 1440 minute(s)
Idle timeout interval : 10 minute(s)
Current online users : 0
Maximum users allowed : 5
IPv4 ACL name :
IPv6 ACL name :
WEB secure server status : Disabled
WEB secure server port : 443
--------------------------------------------------------------------------
使用网线连上管理网口,电脑端设置同一网段ip(如192.168.1.11),通过ssh jade@192.168.1.10,输入密码,即可进入命令行,后续与串口指令一样。
使用http://192.168.1.10即可访问网页配置端,但是网页端的配置功能有限,仅可配置vlan,和查看一些基本信息,功能有限。
Web控制台
因为家里有台群晖,所以需要配置LACP,下面展示LACP的配置命令。群晖的配置就不在这说了,网上有很多。
lacp 配置(链路聚合设置为根据源/目标端口进行负载均衡,模式为lacp(802.3ad),将13、14端口加入组1)
ZXR10(config)#interface smartgroup1
ZXR10(config)#lacp
ZXR10(config-lacp)#interface smartgroup1
ZXR10(config-lacp-sg-if-smartgroup1)#lacp load-balance src-dst-port
ZXR10(config-lacp-sg-if-smartgroup1)#lacp mode 802.3ad
ZXR10(config-lacp-sg-if-smartgroup1)#exitZXR10(config-lacp)#interface gei-0/1/1/13
ZXR10(config-lacp-member-if-gei-0/1/1/13)#smartgroup 1 mode active
ZXR10(config-lacp-member-if-gei-0/1/1/13)#exit
ZXR10(config-lacp)#interface gei-0/1/1/14
ZXR10(config-lacp-member-if-gei-0/1/1/14)#smartgroup 1 mode active
ZXR10(config-lacp-member-if-gei-0/1/1/14)#
vlan 配置(聚合端口的vlan配置。普通端口配置类似,不再举例)
ZXR10(config)#switchvlan-configuration
ZXR10(config-swvlan)#interface smartgroup1
ZXR10(config-swvlan-if-smartgroup1)#switchport mode access
ZXR10(config-swvlan-if-smartgroup1)#switchport access vlan 2
ZXR10(config-swvlan-if-smartgroup1)#
保存配置,退至ZXR10#后,输入write进行保存
ZXR10(config)#exitZXR10#writeBuilding configuration...
.[OK].ZXR10#
总体来说,这台交换机的配置还是很麻烦的,大多数网友的需求应该和我一样,也就需要个vlan和lacp配置,文中指令基本都能满足了。虽然提供了Web页面的控制台,但功能非常弱,仅提供了Vlan配置,而且配置还很麻烦,所以还是建议直接console线或ssh用命令行配置,配置时建议拿着用户手册配,细心点问题都不大,文档对各个指令的说明还是很详细的,还支持搜索,比较方便。如有疑问,欢迎留言交流。
(文中如有错误,欢迎大家指正)
作者声明本文无利益相关,欢迎值友理性交流,和谐讨论~
阅读全文
能否发一份手册企业邮箱1010667406
为什么我设置好了,ssh 可以正常登录,web 能打开,就是进不去 奇怪
求这个交换机启动文件 5260.set
求个交换机启动文件
求个联系方式
大佬能帮个忙吗
求个5260.set文件,交换机启动不起来了
大佬能帮个忙吗
求个boot file文件 大佬
同事求一份配置手册,谢谢楼主。hello_zhangyue@126.com
配置链路聚合,是不是需要再同一个vlan中?
哥能否发一份用户手册,现在下载需要用户权限了谢谢啦 491456048@qq.com
哥能否发一份用户手册,现在下载需要用户权限了,谢谢491456048@qq.com
请问怎清楚配置,恢复到出厂设置谢谢
up主,求一个配置手册,阅读软件有了,文档没权限,290080348@qq.com
家里有几台GEN9服务器
看一下其他网友的回复,需要两条命令。
14w,如果没记错的话。
已经买了锐捷
如果和路由器的网段不一样是否会影响吗?
请选择举报理由