关于vlan划分之no-ip-routing

上传人:F****n 文档编号:98539919 上传时间:2019-09-11 格式:DOC 页数:8 大小:62KB
返回 下载 相关 举报
关于vlan划分之no-ip-routing_第1页
第1页 / 共8页
关于vlan划分之no-ip-routing_第2页
第2页 / 共8页
关于vlan划分之no-ip-routing_第3页
第3页 / 共8页
关于vlan划分之no-ip-routing_第4页
第4页 / 共8页
关于vlan划分之no-ip-routing_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《关于vlan划分之no-ip-routing》由会员分享,可在线阅读,更多相关《关于vlan划分之no-ip-routing(8页珍藏版)》请在金锄头文库上搜索。

1、在SW1上配置 VTP 、trunk、vlan RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#no ip do loRouter(config)#line con 0Router(config-line)#no exec-tRouter(config-line)#logg synRouter(config-line)#exiRouter(config)#host sw1sw1(config)#no ip routingsw1(config)#Zsw1

2、#vlan dasw1(vlan)#vtp domain vChanging VTP domain name from NULL to vsw1(vlan)#vtp server Device mode already VTP SERVER.sw1(vlan)#exiAPPLY completed.Exiting.sw1#conf tEnter configuration commands, one per line. End with CNTL/Z.sw1(config)#int f0/0sw1(config-if)#swi mo trsw1(config-if)#exisw1(config

3、)#Zsw1#vlan dasw1(vlan)#vlan 2 name 1VLAN 2 added: Name: 1sw1(vlan)#vlan 3 name 3VLAN 3 added: Name: 3sw1(vlan)#exiAPPLY completed.Exiting.sw1#conf tEnter configuration commands, one per line. End with CNTL/Z.sw1(config)#int f0/1sw1(config-if)#swi mo accsw1(config-if)#swi acc vlan 2sw1(config)#int f

4、0/2sw1(config-if)#swi mo accsw1(config-if)#swi acc vlan 3sw1(config-if)#exisw1(config)#Zsw1#show *Mar 1 00:19:21.967: %SYS-5-CONFIG_I: Configured from console by consolesw1#show vlan-sVLAN Name Status Ports- - - -1 default active Fa0/0, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11,

5、Fa0/12, Fa0/13 Fa0/14, Fa0/152 2 active Fa0/13 3 active Fa0/21002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 1500 - - - - - 1002 10032 enet 15

6、00 - - - - - 0 0 3 enet 1500 - - - - - 0 0 1002 fddi 1500 - - - - - 1 10031003 tr 1500 1005 0 - - srb 1 10021004 fdnet 1500 - - 1 ibm - 0 0 1005 trnet 1500 - - 1 ibm - 0 0 sw1#conf tEnter configuration commands, one per line. End with CNTL/Z.sw1(config)#int range f0/0 - 4sw1(config-if-range)#no shus

7、w1(config-if-range)#在SW2上配置 VTP 、trunk、vlanRouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#no ip do loRouter(config)#line con 0Router(config-line)#no exec-tRouter(config-line)#logg synRouter(config-line)#exiRouter(config)#host sw2 sw1(config)#no ip rou

8、tingsw2(config)#Zsw2#vlan dasw2(vlan)#vtp domain vChanging VTP domain name from NULL to vsw2(vlan)#vtp client Setting device to VTP CLIENT mode.sw2(vlan)#exiIn CLIENT state, no apply attempted.Exiting.sw2#conf tEnter configuration commands, one per line. End with CNTL/Z.sw2(config)#int f0/0sw2(confi

9、g-if)#swi mo trsw2(config-if)#exisw2(config)#int f0/1sw2(config-if)#Zsw2#*Mar 1 00:19:36.163: %SYS-5-CONFIG_I: Configured from console by consolesw2#conf tEnter configuration commands, one per line. End with CNTL/Z.sw2(config)#int range f0/0 - 3sw2(config-if-range)#no shusw2(config-if-range)#Zsw2#sh

10、ow vlan-sVLAN Name Status Ports- - - -1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/152 2 active 3 3 active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 1500 - - - - - 1002 10032 enet 1500 - - - - - 0 0 3 enet 1500 - - - - - 0 0 1002 fddi 1500 - 0 - - - 1 10031003 tr 1500 1005 0 - - srb 1

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 教学/培训

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号