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

6500 Portchannel Allowed VLANs Trunk

I am having a problem getting allowed trunks to show up in my configuration

I am setting up the portchannels on the 6513 to trunk. I have them set for encap dot1q, switchport, and switchport mode trunk.

When I go to add the switchport trunk allowed vlan add 2,100,110... it doesnt get added.

When I issue the show interface port-channel 6 trunk it shows that no vlans are allowed?

Probably an easy question that I am just missing.

The port channel is shut down but is not yet connected to the other switch so it is admin up protocol down.

Thanks

James

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: 6500 Portchannel Allowed VLANs Trunk

You could try removing all vlans but those 3 and see what happens

switchport trunk allowed vlan remove 1,3-99,101-109,111-1025 etc...

8 REPLIES
New Member

Re: 6500 Portchannel Allowed VLANs Trunk

possible example of syntax:

Port-channel64

switchport

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 123, 124, 125

switchport mode trunk

switchport nonegotiate

no ip address

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

That's exactly the command set I used. Didnt show up in the running config.

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

Thanks for the feedback. Perhaps if you provide us a copy of your running config we can see something missing... i.e. port shutdown or no vlan in vtp domain database.......

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

Have you tried allowing the vlans on the interfaces that belong to the port-channel? Make sure they're all the same config.

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

Shouldn't have to do that really. That's kind of the purpose of the portchannel in the first place. I will have about 16 different port channels on each 6513. Largest portchannel will be 4 ports. I'd prefer to just configure the portchannel with the VLANs as opposed to all the physical ports.

Purple

Re: 6500 Portchannel Allowed VLANs Trunk

You could try removing all vlans but those 3 and see what happens

switchport trunk allowed vlan remove 1,3-99,101-109,111-1025 etc...

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

Interesting thought. Will give it a shot. But right now it says I have NONE allowed. Maybe a little reverse psychology will do the switch good!

New Member

Re: 6500 Portchannel Allowed VLANs Trunk

Glen you were definitely on the right track. I brought up the other side of the portchannel so I could troubleshoot.

What it ended up being is that on CoreA I had VLANs 1-4094 allowed and on CoreB I had only the VLANs I wanted to allow in the config.

I remembered that some point in the early troubleshooting of this issue that I put the switchport trunk allowed VLAN add all command. Unfortunately for Cisco users, this actual command does not show up in the running config.

I ended up doing a switchport trunk allowed vlan none command then issued the switchport trunk allowed vlan 2,100,110 and now only those correct VLANs are on the trunk.

Thanks for everyone's help. Now I am off to configure the HA for the FWSM on the two Chassis. I am sure you will hear from me again soon.

Five stars to Glen! Thanks.

James

711
Views
0
Helpful
8
Replies
CreatePlease to create content