Trunk only two vlans, cannot remove others

Unanswered Question
Jul 30th, 2007

I have a 3550 switch that I am trying to set up a trunk port and only trunk two VLANs.

When I try to remove all VLANs other than what I want, I get this message:

"Command rejected: Bad VLAN allowed list.

VLANs 1,1002-1005 are required."

Do I have to allow these VLANs?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
lamav Mon, 07/30/2007 - 16:21

Yes. You can never disallow vlans 1002 through 1005. Those are native to the IOS.

All you have to do is type "switchport trunk allowed vlan x,y,z"

The rest will be pruned by default.

sundar.palaniappan Mon, 07/30/2007 - 16:22


Those are default VLANs that you couldn't remove in the past. But the newer IOS lets you remove the default VLANs from the trunk. Here's a small capture from my lab switch.

SW1-3550#show run int f0/24

Building configuration...

Current configuration : 154 bytes


interface FastEthernet0/24

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 100

switchport mode trunk

switchport nonegotiate


SW1-3550#show int trunk

Port Mode Encapsulation Status Native vlan

Fa0/24 on 802.1q trunking 1

Port Vlans allowed on trunk

Fa0/24 100

Port Vlans allowed and active in management domain

Fa0/24 100

Port Vlans in spanning tree forwarding state and not pruned

Fa0/24 100



lamav Mon, 07/30/2007 - 16:33

Sundar, you can prune those vlans by default by not including them in the 'allowed vlan' statement. Correct?


This Discussion