中兴交换机配置流程及配置命令

发布时间 : 星期三 文章中兴交换机配置流程及配置命令更新完毕开始阅读

WORD格式整理版

用户端口vlan配置

用户端口一般以untag方式绑定到指定的vlan,这时候需要配置端口的pvid,该pvid与用户端口所绑定的vlan id一致 zte(cfg)#set vlan 2 add port 2-24 untag //将用户vlan2绑定到用户端口 zte(cfg)#set port 2-24 pvid 2 //配置用户端口的pvid

交换机管理IP配置

zte(cfg-router)#config router //进入交换机三层配置模式 zte(cfg-router)#set ipport 0 ipaddress 172.32.240.254 255.255.255.0 //配置管理IP zte(cfg-router)#set ipport 0 vlan 100 //将管理IP绑定到管理vlan100 学习指导参考

WORD格式整理版

zte(cfg-router)#set ipport 0 enable //启用该管理 zte(cfg-router)#iproute 0.0.0.0 0.0.0.0 172.32.240.1 //配置缺省路由 zte(cfg-router)#exit //退出三层配置模式

Snmp属性配置

说明:配置团体属性时 private表示相应的字串有读写权限,public则只有只有读权限 zte(cfg)#config snmp //进入交换机snmp配置模式 zte(cfg-snmp)#create community zte private //创建团体字串,配置为private,表示该子串zte有读写权限 zte(cfg-snmp)#create view zteview //创建视图 zte(cfg-snmp)#set community zte view AllView //将团体字串与视图对应起来 zte(cfg-snmp)#set traphost 10.40.92.105 zte //trap信息上告网管服务器 zte(cfg-snmp)#exit //退出snmp配置模式 学习指导参考

WORD格式整理版

端口隔离配置

zte(cfg)#set pvlan session 1 add promiscuous-port 1 //上行口1配置为共享端口 zte(cfg)#set pvlan session 1 add isolated-port 2-24 //用户端口配置为隔离端口

二层组播配置

zte(cfg)#set igmp snooping enable //启用igmp zte(cfg)#set igmp snooping add vlan 2 //设置igmp监听的vlan为用户vlan

学习指导参考

WORD格式整理版

用户端口速率限制

zte(cfg)#set port 2-24 bandwidth egress on rate 1000 //设置用户端口的下行速率为1M,以1k为单位

用户端口广播包限制

zte(cfg)# set port 2-24 bandwidth ingress on rate 500 //配置上行广播包速率 zte(cfg)# set port 2-24 ingess_limit_mode broadcast //设置上行速率限制模式为广播包

用户端口mac学习限制

zte(cfg)#set port 2-24 macaddress 1 //限制用户端口的mac地址学习数量为1个 学习指导参考

联系合同范文客服:xxxxx#qq.com(#替换为@)