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

how to remove vlan

Hi,

I am trying to make a vlan port to truck port,issue is am not not able to remove vlan.

Switch detail-WS-C6509

issue - command to remove "set vlan 172 4/21"

config done for truck

set trunk 4/21 on dot1q 1-1005,1025-4094

out put-

Switch (enable) sh port 4/21

Port Name Status Vlan Duplex Speed Type

----- ------------------ ---------- ---------- ------ ----- ------------

4/21 das4.CTF Fa1/0/1 notconnect 172 full 100 10/100BaseTX

4 REPLIES
Hall of Fame Super Blue

Re: how to remove vlan

You should be able to do this.

1) Set the port back into vlan 1 - "set vlan 1 4/21

2) Then set it as a trunk.

It will show as a trunk when it comes up which it hasn't from your output.

Jon

Community Member

Re: how to remove vlan

Thanks Jon, it works :)

Hall of Fame Super Blue

Re: how to remove vlan

No problem, glad to have helped

Jon

Silver

Re: how to remove vlan

Hi Rohit ,

If you want to remove vlan 172 then issue the below command

clear vlan 172

If you want to create trunk port then

This example shows how to set port 5 on module 4 as an 802.1Q trunk port in desirable mode:

Console> (enable) set trunk 4/5 desirable dot1q

Port(s) 4/5 trunk mode set to desirable.

Port(s) 4/5 trunk type set to dot1q.

Console> (enable)

For your knowledge

set trunk

To configure trunk ports and to add VLANs to the allowed VLAN list for existing trunks, use the set trunk command.

set trunk mod/ports {on | off | desirable | auto | nonegotiate} [vlans | none]

[isl | dot1q | dot10 | lane | negotiate]

set trunk all off

Thanks,

Satish

404
Views
0
Helpful
4
Replies
CreatePlease to create content