01-25-2016 10:15 AM - edited 03-08-2019 03:31 AM
Hi All,
Quick question. I'm trying to add several VLANs to an uplink port going to one of our floor switch stacks, however it's not letting me add.
Current Interface Config
interface Ethernet1/21
description Xconn N3 floor switch t4/1/1
switchport
switchport mode trunk
switchport trunk allowed vlan 1,25,50,330-331,337,339,400,555
switchport trunk allowed vlan add 600,605,666,1112
channel-group 330 mode active
no shutdown
Here is what I get when I try to add the VLANs
N7K2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
N7K2(config)# int e1/21
N7K2(config-if)# switchport trunk allowed vlan add 102-104,109
^
% Invalid command at '^' marker.
N7K2(config-if)# switchport ?
host Set port host
Is the problem that I already have an "add" command in the existing config? And if so, do I need to do a "no switchport trunk allowed vlan add 600,605,666,1112" first and then re-enter the command but add the new vlans?
Solved! Go to Solution.
01-26-2016 07:35 AM
Hello ,
Add VLAN's on interface Port-channel 330
interface port-channel 330
switchport trunk allowed vlan add 102-104,109
Hope it Helps..
-GI
01-25-2016 12:06 PM
You should be adding the VLANs on the trunk from the port-channel interface not the physical.
HTH
01-26-2016 09:38 AM
Thanks, I've got it working now
01-26-2016 07:35 AM
Hello ,
Add VLAN's on interface Port-channel 330
interface port-channel 330
switchport trunk allowed vlan add 102-104,109
Hope it Helps..
-GI
02-09-2020 08:22 PM
Thanks for this reply!
strange that Cisco doest advise that
01-26-2016 09:37 AM
This did the trick.
Thanks for helping, I'm not quite used to Nexus yet
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