deleting vlan.dat is a pain in the ass and so is removing each vlan by hand... who knew you could do this...
no vlan 2-1000
you can't delete vlan's 1 and 1002 - 1005, but you knew that...
try it out... do a show vlan brief after and they're gone...
asw2#sh vlan brie
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
10 data active
20 voice active 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/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24
100 mgmt active
1002 fddi-default act/unsup
1003 trcrf-default act/unsup
1004 fddinet-default act/unsup
1005 trbrf-default act/unsup
asw2#config t
asw2(config)#no vlan 2-1000
asw2(config)#end
asw2#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
1002 fddi-default act/unsup
1003 trcrf-default act/unsup
1004 fddinet-default act/unsup
1005 trbrf-default act/unsup
that'll save some time some day...
No comments:
Post a Comment