04-03-2008 12:14 AM - edited 03-05-2019 10:09 PM
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
04-03-2008 12:28 AM
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
04-03-2008 12:36 AM
Thanks Jon, it works :)
04-03-2008 12:39 AM
No problem, glad to have helped
Jon
04-03-2008 12:44 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide