cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
0
Helpful
4
Replies

how to remove vlan

rohitraizaday
Level 1
Level 1

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 4

Jon Marshall
Hall of Fame
Hall of Fame

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

Thanks Jon, it works :)

No problem, glad to have helped

Jon

smothuku
Level 7
Level 7

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

Review Cisco Networking products for a $25 gift card