多平台统一管理软件接口,如何实现多平台统一管理软件接口
276
2022-09-22
CCNA实验:创建VLAN
VLAN Name Status Ports
1 default active Fa0/0, Fa0/1, Fa0/2, Fa0/3Fa0/4, Fa0/5, Fa0/6, Fa0/7Fa0/8, Fa0/9, Fa0/10, Fa0/11Fa0/12, Fa0/13, Fa0/14, Fa0/151002 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 100001 1500 - - - - - 1002 10031002 fddi 101002 1500 - - - - - 1 10031003 tr 101003 1500 1005 0 - - srb 1 10021004 fdnet 101004 1500 - - 1 ibm - 0 0 1005 trnet 101005 1500 - - 1 ibm - 0 0 S1#第二步:进入vlan database模式下S1#vlan daS1#vlan database (进入数据库模式下进行)S1(vlan)#vlan 2 name VLAN2VLAN 2 added:Name: VLAN2S1(vlan)#vlan 3 name vlan3VLAN 3 added:Name: vlan3S1(vlan)#vlan 4 name vlan4 VLAN 4 added:Name: vlan4S1(vlan)#exitAPPLY completed.Exiting....S1#
第三步:再次查看创建vlan的结果:S1#show vlan-switch
VLAN Name Status Ports
1 default active Fa0/0, Fa0/1, Fa0/2, Fa0/3Fa0/4, Fa0/5, Fa0/6, Fa0/7Fa0/8, Fa0/9, Fa0/10, Fa0/11Fa0/12, Fa0/13, Fa0/14, Fa0/152 VLAN2 active 3 vlan3 active 4 vlan4 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 100001 1500 - - - - - 1002 10032 enet 100002 1500 - - - - - 0 0 3 enet 100003 1500 - - - - - 0 0 4 enet 100004 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 1 10031003 tr 101003 1500 1005 0 - - srb 1 1002
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
1004 fdnet 101004 1500 - - 1 ibm - 0 0 1005 trnet 101005 1500 - - 1 ibm - 0 0 S1#第四步:查看vlan配置文件S1#dir flash: (vlan的信息在2900系列上是保存在flash下的vlan.dat文件中的)Directory of flash:/
1 -rw- 780
8388604 bytes total (8387760 bytes free)S1#第五步:将F0/2划入到vlan中S1(config)#int f0/2S1(config-if)#switchport mode accessS1(config-if)#switchport access vlan 2S1(config-if)#S1(config-if)#第六步:验证是否将接口划分到vlan中S1#show vlan-s
VLAN Name Status Ports
1 default active Fa0/0, Fa0/1, Fa0/3, Fa0/4Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12Fa0/13, Fa0/14, Fa0/152 VLAN2 active Fa0/2 (看到这里已经好了)3 vlan3 active 4 vlan4 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 100001 1500 - - - - - 1002 10032 enet 100002 1500 - - - - - 0 0 3 enet 100003 1500 - - - - - 0 0 4 enet 100004 1500 - - - - - 0 0 1002 fddi 101002 1500 - - - - - 1 10031003 tr 101003 1500 1005 0 - - srb 1 1002
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
1004 fdnet 101004 1500 - - 1 ibm - 0 0 1005 trnet 101005 1500 - - 1 ibm - 0 0 S1#
清除交换机上划分的大量的vlan信息1.vlan data下no vlan {vlan-id}2.del vlan.dat
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~