资源预览内容
第1页 / 共8页
第2页 / 共8页
第3页 / 共8页
第4页 / 共8页
第5页 / 共8页
第6页 / 共8页
第7页 / 共8页
第8页 / 共8页
亲,该文档总共8页全部预览完了,如果喜欢就下载吧!
资源描述
在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#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)#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 f0/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, 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 1500 - - - - - 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 shusw1(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 routingsw2(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(config-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#show 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
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号