SwitchA# conf t
SwitchA(config)# vlan 20
SwitchA(config-vlan)# vlan 30
SwitchA(config-vlan)# end
SwitchA# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/22
2 VLAN0002 active Fa0/2
20 VLAN0020 active
30 VLAN0030 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
.....
SwitchA# conf t
SwitchA(config)# spanning-tree vlan 20 root primary
SwitchA(config)# spanning-tree vlan 30 root secondary
SwitchA(config)# end
SwitchA# show spanning-tree vlan 20
SwithcA# show spanning-tree vlan 30
0 意見:
張貼留言
小技巧:也可以 匿名 留言!