欢迎来到天天文库
浏览记录
ID:43079844
大小:30.51 KB
页数:8页
时间:2019-09-25
《三、虚拟局域网(VLAN)路由实例》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、三、虚拟局域网(VLAN)路由实例例一例二3.1.例一:设备选用Catalyst5500交换机1台,安装WS-X5530-E3管理引擎,多块WS-X5225R及WS-X5302路由交换模块,WS-X5302被直接插入交换机,通过二个通道与系统背板上的VLAN相连,从用户角度看认为它是1个1接口的模块,此接口支持ISL。在交换机内划有3个虚拟网,分别名为default、qbw、rgw,通过WS-X5302实现虚拟网间路由。以下加重下横线部分,如setsystemname5500C为需设置的命令。设置如下:Catalyst5500配置:beginsetpassword$1$FMFQ$Hf
2、ZR5DUszVHIRhrz4h6V70setenablepass$1$FMFQ$HfZR5DUszVHIRhrz4h6V70setpromptConsole>setlength24defaultsetlogout20setbannermotd^C^C!#systemsetsystembaud9600setsystemmodemdisablesetsystemname5500Csetsystemlocationsetsystemcontact!#ipsetinterfacesc0110.230.4.240255.255.255.010.230.4.255setinterfacesc0
3、upsetinterfacesl00.0.0.00.0.0.0setinterfacesl0upsetarpagingtime1200setipredirectenablesetipunreachableenablesetipfragmentationenablesetiproute0.0.0.010.230.4.151setipaliasdefault0.0.0.0!#Commandalias!#vtpsetvtpdomainhnesetvtpmodeserversetvtpv2disablesetvtppruningdisablesetvtppruneeligible2-1000
4、clearvtppruneeligible1001-1005setvlan1namedefaulttypeethernetmtu1500said100001stateactivesetvlan777namergwtypeethernetmtu1500said100777stateactivesetvlan888nameqbwtypeethernetmtu1500said100888stateactivesetvlan1002namefddi-defaulttypefddimtu1500said101002stateactivesetvlan1004namefddinet-defaul
5、ttypefddinetmtu1500said101004stateactivebridge0x0stpieeesetvlan1005nametrnet-defaulttypetrbrfmtu1500said101005stateactivebridge0x0stpibmsetvlan1003nametoken-ring-defaulttypetrcrfmtu1500said101003stateactiveparent0ring0x0modesrbaremaxhop7stemaxhop7!#setbootcommandsetbootconfig-register0x102setbo
6、otsystemflashbootflash:cat5000-sup3.4-3-1a.bin!#module1:2-port1000BaseLXSupervisorsetmodulename1setvlan11/1-2setportenable1/1-2!#module2:empty!#module3:24-port10/100BaseTXEthernetsetmodulename3setmoduleenable3setvlan13/1-22setvlan7773/23setvlan8883/24settrunk3/1onisl1-1005#module4empty!#module5
7、empty!#module6:1-portRouteSwitchsetmodulename6setportlevel6/1normalsetporttrap6/1disablesetportname6/1setcdpenable6/1setcdpinterval6/160settrunk6/1onisl1-1005!#module7:24-port10/100BaseTXEthernetsetmodulename7setmoduleenable7setvl
此文档下载收益归作者所有