欢迎来到天天文库
浏览记录
ID:43356054
大小:42.51 KB
页数:9页
时间:2019-09-30
《虚拟局域网(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为需设置的命令。 设置如下
2、:Catalyst5500配置: beginsetpassword$1$FMFQ$HfZR5DUszVHIRhrz4h6V70setenablepass$1$FMFQ$HfZR5DUszVHIRhrz4h6V70setpromptConsole>setlength24defaultsetlogout20setbannermotd^C^C!#systemsetsystembaud9600setsystemmodemdisablesetsystemname5500Csetsystemlocation
3、setsystemcontact!#ipsetinterfacesc0110.230.4.240255.255.255.010.230.4.255 setinterfacesc0upsetinterfacesl00.0.0.00.0.0.0setinterfacesl0upsetarpagingtime1200setipredirectenablesetipunreachableenablesetipfragmentationenablesetiproute0.0.0.010.230.4.151
4、setipaliasdefault0.0.0.0!#Commandalias!#vtpsetvtpdomainhnesetvtpmodeserversetvtpv2disablesetvtppruningdisablesetvtppruneeligible2-1000clearvtppruneeligible1001-1005setvlan1namedefaulttypeethernetmtu1500said100001stateactivesetvlan777namergwtypeethern
5、etmtu1500said100777stateactivesetvlan888nameqbwtypeethernetmtu1500said100888stateactivesetvlan1002namefddi-defaulttypefddimtu1500said101002stateactivesetvlan1004namefddinet-defaulttypefddinetmtu1500said101004stateactivebridge0x0stpieeesetvlan1005name
6、trnet-defaulttypetrbrfmtu1500said101005stateactivebridge0x0stpibmsetvlan1003nametoken-ring-defaulttypetrcrfmtu1500said101003stateactiveparent0ring0x0modesrbaremaxhop7stemaxhop7!#setbootcommandsetbootconfig-register0x102setbootsystemflashbootflash:cat
7、5000-sup3.4-3-1a.bin!#module1:2-port1000BaseLXSupervisorsetmodulename1setvlan11/1-2setportenable1/1-2!#module2:empty!#module3:24-port10/100BaseTXEthernetsetmodulename3setmoduleenable3setvlan13/1-22setvlan7773/23setvlan8883/24settrunk3/1onisl1-1005#mo
8、dule4empty!#module5empty!#module6:1-portRouteSwitchsetmodulename6setportlevel6/1normalsetporttrap6/1disablesetportname6/1setcdpenable6/1setcdpinterval6/160settrunk6/1onisl1-1005!#module7:24-port10/100BaseTXEthernetsetmodulename7setmoduleenable7setvla
此文档下载收益归作者所有