|
1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - - - 0 0
1005 brf 101005 1500 - - - IBM - 0 0
(Output Suppressed...)
To remove ports from a VLAN, use the set vlan ... command and place the ports in a different VLAN. This is essentially what you are doing when you assign a port to any VLAN, because the ports initially belonged to VLAN 1.
To delete the VLAN, use the clear vlan command, but the ports will remain a part of that VLAN and be deactivated because they no longer belong to any VLAN. The switch will display a warning and give you the opportunity to cancel the current request.
CatosSwitch> (enable) clear vlan 3
This command will deactivate all ports on vl
an 3
in the entire management domain.
Do you want to continue(y/n) [n]?y
Vlan 3 deleted
CatosSwitch> (enable) show vlan
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
1 default active 5 1/1-2
3/16-48
4/1-16
2 cisco_vlan_2 active 75 3/1-12
1002 fddi-default active 6
1003 token-ring-default active 9
1004 fddinet-default active 7
1005 net-default active 8
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 crf 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - - - 0 0
1005 brf 101005 1500 - - - IBM - 0 0
(Output Suppressed...)
Note: Ports 3/13-3/15 are not displayed in the above show vlan command, as they are deactivated by the removal of VLAN 3. Unless you add them back in any other VLAN, they will not be displayed.
[3]
上一页 [1] [2] [3]
|