Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 3560 Catalyst

Status
Not open for further replies.

captnops

IS-IT--Management
Joined
Feb 12, 2003
Messages
141
Can someone provide information on how to delete a VLAN from within the CLI?


Thank you
 
Code:
cat-3560#conf t
cat-3560(config)#no vlan 10
cat-3560(config)#exit
That should be it. If you are using VTP over multiple switches then you need to issue the command on a VTP server. Obviously this will delete the vlan from your entire VTP domain.

If you need to remove the Layer-3 SVI then just do a 'no' on the interface in global config:

Code:
cat-3560#conf t
cat-3560(config)#no interface vlan 10



HTH

Andy
 
Thank you very much for the info.

Todd
 
...also..if i might add...
....while studying i noticed when i erase nvram (startup config) the switch erases most everything but not the vlan info...

..link below better explains..


..just incase you wanted to know...


CCNP,CCSP,MCSE,Sec+,Net+,A+...
 
Vlan info is stored in the vlan.dat file and does not get erased when doing a "write erase" . You can either go into the vlan database and delete the info or some people just delete the whole vlan.dat file itself . The file gets recreated if you need to use it again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top