08-25-2020 01:13 PM - edited 08-25-2020 01:14 PM
Hello Cisco Community. How do I remove an interface from being Default on VLAN 1?
We have two 4500-E's with trunk ports on Ten-Gig ports 1/1- 2 in a port-channel, but I can't find a way to remove 1/1 from being a default port for VLAN 1.
We use a three digit number for our Native VLAN and VLAN 1 doesn't show up on int ten 1/2, but can't be removed from int ten 1/1.
When I run "show vlan" it shows up only on 1/1. I know you can't delete it or shut it off so what is the trick?
Thank you.
08-25-2020 01:52 PM - edited 08-25-2020 01:55 PM
Hi,
If both port 1/1/ and 1/2 are part of a Portchannel, just add the 3 digit number for your native vlan to the Portchannel.
under the Portchannel interface add
switchport trunk native vlan xxx
the physical links should now inherit the config on the PO and make vlan xxx the native vlan and not part of vlan 1 anymore.
HTH
08-26-2020 08:28 AM
We use a three digit number for our Native VLAN and VLAN 1 doesn't show up on int ten 1/2, but can't be removed from int ten 1/1.
Our Native VLAN is listed as a command on all three ports, two physical and the port channel.
08-25-2020 01:55 PM
Hello,
you cannot delete or remove Vlan 1. What are you trying to accomplish ? Vlan 1 is used to send control traffic like VTP/STP/DTP/CDP.
08-26-2020 08:33 AM
We use a three digit number for our Native VLAN and VLAN 1 doesn't show up on int ten 1/2, but can't be removed from int ten 1/1.
Our Native VLAN is listed as a command on all three ports, two physical and the port channel.
What I'm trying to do is remove interface TenGigabitEthernet1/1 from VLAN1 from the "show vlan" command output.
08-25-2020 02:11 PM
I agree with George, according to Best practice for c6500 switches Cisco doc, we cannot remove vlan 1 because of control traffic. We should not use vlan 1 for data traffic. you can do remove vlan 1 data traffic on trunking interfaces with switchport trunk allowed vlan 2-1004
interface GigabitEthernet1/0/20
switchport trunk allowed vlan 2-1004
switchport trunk encapsulation dot1q
switchport mode trunk
Regards, ML
**Please Rate All Helpful Responses **
08-25-2020 02:21 PM
01-29-2025 09:03 PM
I had the same problem with a trunked interface on a 3850 switch.
I was able to add the following config to the interface which moved it out of VLAN 1 to VLAN XXX. "switchport access VLAN XXX"
interface GigabitEthernet1/0/20
switchport access VLAN XXX
switchport trunk allowed vlan 2-1004
switchport mode trunk
Regards, PL3
01-30-2025 03:25 AM - edited 01-30-2025 11:05 AM
I'm wondering if what you're seeing is possibly due to untagged control plane frames, like CDP, will only use that one port of your port-channel.
What's shown might also be platform/IOS specific too.
I know we consider these frames belonging to VLAN 1, but they really don't, as they are only used between devices. I.e. switch will not forward them to other switch ports.
01-30-2025 10:34 AM
You can not remove default vlan 1 / but you can change native vlan and move all ports to another vlan - in this case, Vlan 1 will be unused.
You can use this command also
configure terminal
interface <interface-id>
switchport trunk allowed vlan remove 1 (and add anoters vlan )
exit
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