欢迎来到天天文库
浏览记录
ID:51688518
大小:44.95 KB
页数:5页
时间:2020-03-15
《extreme交换机常用维护命令.doc》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、extreme交换机常用维护命令最近有个项目用extreme的网络设备,根据extreme官方资料,整理了一些常用的配置!1.用户名和密码配置createaccount[admin
2、user]{encrypted}{}configureaccountadmin2.port配置configportsautooff{speed[10
3、100
4、1000]}duplex[half
5、full]autooff3.Vlan配置无论是核心还是接入层,都要先创建三个Vla
6、n,并且将所有归于DefaultVlan的端口删除:configvlandefaultdelportallcreatevlanServercreatevlanUsercreatevlanManger删除vlanDelvlanuser定义802.1q标记configvlanServertag10configvlanUsertag20configvlanMangertag30设定Vlan网关地址:configvlanServeripa192.168.41.1/24configvlanUseripa192.168.40
7、.1/24configvlanMangeripa192.168.*.*/24Enableipforwarding启用ip路由转发,即vlan间路由Trunk配置configvlanServeraddport1-3tconfigvlanUseraddport1-3tconfigvlanmangeraddport1-3tTrunk删除配置configvlanServerdelport1-3tconfigvlanUserdelport1-3tconfigvlanmangerdelport1-3t添加vlanipconf
8、igurevlan"Server"ipaddress192.168.155.25255.255.255.252添加IPROUTEConfigiprouteadd删除IPROUTEConfigiproutedel4.VRRP配置enablevrrpconfigurevrrpaddvlanUserVlanconfigurevrrpvlanUserVlanaddmastervrid10192.168.6.254configurevrrpvlanUserVlanauthenticationsimple-passworde
9、xtremeconfigurevrrpvlanUserVlanvrid10priority200configurevrrpvlanUserVlanvrid10advertisement-interval15configurevrrpvlanUserVlanvrid10preempt5.端口镜像配置configmirroringaddvlanxxxenablemirroringtoport3#选择3作为镜像口configmirroringaddport1#把端口1的流量发送到3configmirroringaddp
10、ort1vlandefault#把1和vlandefault的流量都发送到36.port-channel配置enablesharinggrouping{port-based
11、address-based
12、round-robin}7.stp配置enableIS_rtpstpdcreatestpd*configurestpdaddvlan{ports[dot1d
13、emistp
14、pvst-plus]}configu
15、restpdstpd1priority16384configurevlanmarketingaddports2-3stpdstpd1emistp8.DHCP中继配置enablebootprelayconfigbootprelayadd9.NAT配置Enablenat#启用natStaticNATRuleExampleconfignataddout_vlan_1mapsource192.168.1.12/32to216.52.8.32/32DynamicNATRuleExamplecon
16、fignataddout_vlan_1mapsource192.168.1.0/24to216.52.8.1-216.52.8.31PortmapNATRuleExampleconfignataddout_vlan_2mapsource192.168.2.0/25to216.52.8.32/28bothportmapPortmapMin-MaxExampleconfign
此文档下载收益归作者所有