
中兴交换机802配置参考.docx
2页中兴2826S低端交换机NAS配置具体配置如下:1、通过console 口连接默认adminlogin:admin默认 zhongxingpassword:zhongxingzte>enable默认enablepassword:默认为空zte(cfg)#进入命令配置行2、配置交换机管理IP地址二层交换机2826S的网管ip地址和路由配置:zte(cfg)#config router(进入router配置模式)zte(cfg-router)#set ipport 0 ipaddress 10.78.54.254 255.255.255.0 (网管地址)zte(cfg-router)#set ipport 0 vlan 1(将网管地址划分到vlan1)zte(cfg-router)#set ipport 0 enable(启用网管地址)(网管路由地址)zte(cfg-router)#iproute0.0.0.0 0.0.0.0 10.78.54.1显示管理地址:zte(cfg)#show ipportStatusenabledIpAddress :10.78.54.254VlanIdMask255.255.255.0ArpProxy:disabledMacAddress:00.19.c6.30.9f.82Timeout :600(s)3、启用SNMP协议配置:zte(cfg)#config snmp 进入SNMP配置模式 zte(cfg)#create community public (团体名)public(只读)、private(读写)4、启用基于端口的802.1x认证协议:要实现802.1x 一定要先使能端口的security:radius isp 配置:zte(cfg)#conf nas进入NAS配置模式zte(cfg-nas)#radius isp aaa enable配置域为aaazte(cfg-nas)#radius isp aaa defaultisp enable设置aaa为默认域zte(cfg-nas)#radius isp aaa sharedsecret 123456设置认证服务器共享密钥为123456zte(cfg-nas)#radius isp aaa add accounting 10.78.54.157 1813设置接入计费服务器地址,端口为1813zte(cfg-nas)#radius isp aaa add authentication 10.78.54.157 1812设置接入认证服务器地址,端口为1812aaa接入控制配置:zte(cfg-nas)#aaa-control port 1-23 dot1x enable启用基于端口的dot1x协议zte(cfg-nas)#aaa-control port 1-23 protocol eap设置端口认证方式为eap认证zte(cfg-nas)#aaa-control port 1-23 accounting enable启用端口计费zte(cfg-nas)#aaa-control port 1-23 multiple-hosts enable启用端口允许多用户连接zte(cfg-nas)#dot1x quiet-period 0用户认证失败后不响应周期5、 显示交换机所有配置:zte(cfg)#show run6、 保存配置命令:。
