您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 质量控制/管理 > 迈普交换机配置指导书
迈普交换机配置指导书1.通过Console口配置交换机(同HW2016一样)通过配置线将终端的RS-232串口与交换机的Console口相连。配置用PCPC机串口MyPowerS3000B配置口2.迈普交换机基本配置enacont进入配置模式vlan2创建vlan2port0/0tagexlayer2-modedisable关闭2层模式interfacesw0进入SW0接口ipaddress192.168.x.x255.255.255.0配置管理地址x范围(2-254)vlan-id2管理vlanexitiproute0.0.0.00.0.0.0192.168.x.1静态路由,指向管理地址x网关enablepasswordlevel15admin为交换机密码igmpsnoopen打开组播exitwr3.中兴交换机配置实例Switch#showrunBuildconfigration...doneCurrentconfigration:1701bytesuseradminpassword7OWRW[[!slot0port0/1pvid1065storm-controldisableexitport0/2pvid1065storm-controldisableexitport0/3pvid1065storm-controldisableexitport0/4pvid1065storm-controldisableexitport0/5pvid1065storm-controldisableexitport0/6pvid1065storm-controldisableexitport0/7pvid1065storm-controldisableexitport0/8pvid1065storm-controldisableexitport0/9pvid1065storm-controldisableexitport0/10pvid1065storm-controldisableexitport0/11pvid1065storm-controldisableexitport0/12pvid1065storm-controldisableexitport0/13pvid1065storm-controldisableexitport0/14pvid1065storm-controldisableexitport0/15pvid1065storm-controldisableexitinterfaceloopback0ipaddress127.0.0.1255.0.0.0exitinterfacesw0ipaddress192.168.14.2255.255.255.0vlan-id2exitiproute0.0.0.00.0.0.0192.168.14.1Switch#3.1举例说明例:1端口为主端口,2,3端口为下挂交换机端口,4,5端口为普通农带,6-10端口为家庭网关数据,11-12为单个可视电话用户,13端口为网络IP电话用,14端口为带网络IP电话的家庭网关网户,15端口为IP电话用户。配置如下:Switch#configureterminal%Enterconfigurationcommands,oneperline.EndwithCNTL+Z.Switch(config)#vlan2Switch(config-vlan2)#port0/0-0/3taSwitch(config-vlan2)#vlan1000Switch(config-vlan1000)#port0/0-0/3taSwitch(config-vlan1000)#port0/4-0/5unSwitch(config-vlan1000)#port0/6-0/10unSwitch(config-vlan1000)#vlan2103Switch(config-vlan2103)#port0/0-0/3taSwitch(config-vlan2103)#port0/6-0/10taSwitch(config-vlan2103)#port0/11-0/12unSwitch(config-vlan2103)#vlan2104Switch(config-vlan2104)#port0/0-0/3taSwitch(config-vlan2104)#port0/6-0/10taSwitch(config-vlan2104)#vlan2101Switch(config-vlan2101)#port0/0taSwitch(config-vlan2101)#port0/13unSwitch(config-vlan2101)#port0/14taSwitch(config-vlan2101)#vlan2097Switch(config-vlan2097)#port0/0taSwitch(config-vlan2097)#port0/15unSwitch(config-vlan2097)#exitSwitch(config)#port0/4-0/5Switch(config-port-range)#pvid1000Switch(config-port-range)#port0/6-0/10Switch(config-port-range)#pvid1000Switch(config-port-range)#port0/13Switch(config-port-0/13)#pvid2101Switch(config-port-range)#port0/14Switch(config-port-0/14)#pvid1000VLAN1000doesnotexistorhasnotmemberport0/14Failtosetport0/14!Switch(config-port-0/14)#exitSwitch(config)#vlan1000Switch(config-vlan1000)#port0/14unSwitch(config-vlan1000)#exitSwitch(config)#port0/14Switch(config-port-0/14)#pvid1000Switch(config-port-0/14)#exitSwitch(config-port-0/14)#port0/11-0/12Switch(config-port-range)#pvid2103Switch(config-port-range)#port0/15Switch(config-port-0/15)#pvid2097Switch(config-port-0/15)#exitSwitch(config)#showvlan---------------------------------------------------------------------------NO.VIDVLAN-NamePortNumber---------------------------------------------------------------------------11default[U]0/00/10/20/30/40/50/60/70/80/90/100/110/120/130/140/1522VLAN0002[M]0/00/10/20/331000VLAN1000[U]0/40/50/60/70/80/90/100/14[M]0/00/10/20/342097VLAN2097[U]0/15[M]0/052101VLAN2101[U]0/13[M]0/00/1462103VLAN2103[U]0/110/12[M]0/00/10/20/30/60/70/80/90/1072104VLAN2104[M]0/00/10/20/30/60/70/80/90/103.2补充上述端口2,3下挂交换机描述添加方式;Switch(config)#port0/2Switch(config-port-0/2)#descSwitch(config-port-0/2)#desc?%UnknowncommandSwitch(config-port-0/2)#exitSwitch(config)#vlan3Switch(config-vlan3)#descTo_192.168.14.11Switch(config-vlan3)#port0/2taSwitch(config-vlan3)#vlan4Switch(config-vlan4)#descTo_192.168.14.12Switch(config-vlan4)#port0/3taSwitch(config-vlan4)#exitSwitch(config)#exit[0m[1;36m%SYS-5-CONFIG-I:Configuredfromconsolebyadminonconsole[0mSwitch#saAreyousure?(y/n)ySave...done4.上述交换机配置完如下Switch#showrunBuildconfigration...doneCurrentconfigration:1226bytesuseradminpassword7OWRW[[!slot0port0/4pvid1000exitport0/5pvid1000exitport0/6pvid1000exitport0/7pvid1000exitport0/8pvid1000exitport0/9pvid1000exitport0/10pvid1000exitp
本文标题:迈普交换机配置指导书
链接地址:https://www.777doc.com/doc-5694286 .html