利用单臂路由实现vlan间的通信

利用单臂路由实现vlan间的通信

ID:38708347

大小:50.50 KB

页数:12页

时间:2019-06-18

利用单臂路由实现vlan间的通信_第1页
利用单臂路由实现vlan间的通信_第2页
利用单臂路由实现vlan间的通信_第3页
利用单臂路由实现vlan间的通信_第4页
利用单臂路由实现vlan间的通信_第5页
资源描述:

《利用单臂路由实现vlan间的通信》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、2011年3月13日星期日我做的前面配置有勿。配置交换机1,2为trunk模式sw1#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.sw1(config)#intf0/11sw1(config-if)#switchportmodetrunksw2(config)#intf0/11sw2(config-if)#switchporttrunkencapsulationdot1qsw2(config-if)#switchportmodetrunksw2(config)#intf

2、0/3sw2(config-if)#switchportmodetrunksw2(config-if)#switchporttrunkencapsulationdot1q配vtpsw1(config)#vtpmodeserversw1(config)#vtpdomainlzhChangingVTPdomainnamefromzhangletolzhsw1(config)#vtppassword123{配不上密码}sw2#vlandatabasesw2(vlan)#vtpclientsw2(vlan)#vtpdomainlzh2Changi

3、ngVTPdomainnamefromNULLtolzh2sw2(vlan)#vtppasswsw2(vlan)#vtppassword123456SettingdeviceVLANdatabasepasswordto123456.sw1#vlandatabase(注:2950的交换机只能在database下加密)sw1(vlan)#vtppassword123SettingdeviceVLANdatabsepasswordto123.sw1(vlan)#vtppruningPruningswitchedONsw1(vlan)#vtppr

4、uning?v2-modeSettheadministrativedomaintoV2mode.sw1(vlan)#vtppruningv2-modePruningalreadyswitchedon.V2modeenabled.sw1(vlan)#exit(配vlan)(配完SW1在SW2上看不出同步?)sw1#vlandatabase(早期的交换机要进入database中)sw1(vlan)#vlan10nameITAPPLYcompleted.Exiting....(在SW1是的与PC1相连的接口上配接入模式并划入一个VLAN

5、中)sw1#conftsw1(config)#intf0/3sw1(config-if)#switchportmodeaccesssw1(config-if)#switchportaccessvlan10sw1(config-if)#endsw1#05:31:30:%SYS-5-CONFIG_I:Configuredfromconsolebyconsolesw1#shvlanbriVLANNameStatusPorts-------------------------------------------------------------

6、---------------1defaultactiveFa0/1,Fa0/2,Fa0/4,Fa0/5Fa0/6,Fa0/7,Fa0/8,Fa0/9Fa0/10,Fa0/1210ITactiveFa0/311VLAN0011active12VLAN0012active13VLAN0013active14VLAN0014active15VLAN0015active16VLAN0016active17VLAN0017active18VLAN0018active19VLAN0019active20ITAAactive1002fddi-defa

7、ultactive1003trcrf-defaultactive1004fddinet-defaultactive1005trbrf-defaultactivesw1#(同上)sw2#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.sw2(config)#intf0/17sw2(config-if)#swsw2(config-if)#switchportmodeaccesssw2(config-if)#switchportaccessvlan10(配子接口。目地是充当网关)

8、Router(config)#inte0/0.10Router(config-subif)#enRouter(config-subif)#encapsulationdot1q10Router(

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。