03-27-2018 11:49 AM - edited 03-01-2019 01:43 PM
I am attempting to update the allowed vlans on a port-channel trunk and receiving the following message:
Error: Command is not mutually exclusive
I am unsure of the work around for this. Perhaps I should apply the change to the port first, and then the port-channel?
The current ethernet config looks like this:
interface port-channel4
description Uplink to 4507
switchport mode trunk
switchport trunk allowed vlan 5,50-52,56,90
speed 10000
vpc 4
interface Ethernet1/7
description Uplink to 4507
switchport mode trunk
switchport trunk allowed vlan 5,50-52,56,90
channel-group 4 mode active
Please let me know what I am missing. I am simply trying to add vlan 20 as an allowed vlan.
Thanks,
Mark
03-27-2018 05:53 PM
Hi Mark.
You happen to have config sync enabled?
Have seen a few cases with folks getting that error, that went away after removing the switch profiles.
Thanks,
Kirk...
03-28-2018 05:53 AM
Thanks Kirk,
I'm new to Nexux 5k, long time Catalyst engineer, just getting into the Nexus stuff. This was setup a few years ago before I was working here, how would I tell?
Mark
03-28-2018 06:11 AM
Greetings.
and https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/operations/n5k_config_sync_ops.html#pgfId-1095876 for general info on config sync.
Your N5k should have something like:
N5k-1# config sync
N5k-1(config-sync)# switch-profile Test
N5k-1(config-sync)# sync-peers destination 10.29.170.8
N5k-2# config sync
N5k-2(config-sync)# switch-profile Test
N5k-2(config-sync)# sync-peers destination 10.29.170.7
Thanks,
Kirk...
03-28-2018 06:14 AM
Thanks Kirk,
As I figured, we are running config-sync between our two Nexus 5548s. Is the work around to remove the switch-profile and then add it back?
Mark
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