Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to delete a vlan

Hi

When I do a show vlan brief, I get a list of vlans. There is one particular vlan I'd like to remove vlan130. How can I delete that vlan?

Thanks in advance

Dan

  • LAN Switching and Routing
4 REPLIES
Cisco Employee

Re: How to delete a vlan

Dan,

Which switch is this? If its a new switch like 2960,3560,3750, please go to config mode and delete the vlan. Do the following:

config t

no vlan 130

If its an older switch, you have to delete it using the Vlan data base mode:

Switch# vlan database

Switch(vlan)# no vlan 130

Switch(vlan)# apply

http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_20_ea2/command/reference/cli3.html#wp2879531

HTH,Please rate if it does.

-amit singh

Re: How to delete a vlan

Hi

Which series switch u r using.First determine the role of the switch in question i mean weather it is vtp server or vtp client.u cannot delte the vlan from the switch which is acting as a vtp client.

verify how u have created the vlan..ie..there are 2 ways of creating the vlans in vlan database mode or from global mode.if u have created the vlans from vlan database mode then go the vlan datase mode and issue the command no vlan vlanid

if it is in gobal mode then go to the global mode and issue no vlan (vlanname) vlanid.

Thanks

Mahmood

Silver

Re: How to delete a vlan

Is this switch a standalone or in a network. If its standalon then go to config mode and the command would be no vlan 130.

It its in a network, and having a vtp status of server, follow the above procedure. If its a client go to the core switch running on server and then delete in the config mode saying no vlan 130.

-Hoogen

Do rate if this helps :)

Cisco Employee

Re: How to delete a vlan

Hi Dan,

Go to VLAN DATABASE mode and then issue a command "no vlan " and the apply

Switch#vlan database

Switch(vlan)#no vlan 130

Deleting VLAN 130...

Switch(vlan)#apply

APPLY completed.

Switch(vlan)#exit

Make sure this is not a VTP client switch and if you have a VTP server switch perform this task there and it will be updated on all your VTP clients switches.

HTH

Ankur

*Pls rate all helpfull post

444
Views
0
Helpful
4
Replies