cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9091
Views
0
Helpful
4
Replies

Nexus 5548 - Error: Command is not mutually exclusive

DRC_Admin
Frequent Visitor
Frequent Visitor

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

4 Replies 4

Kirk J
Cisco Employee
Cisco Employee

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...

DRC_Admin
Frequent Visitor
Frequent Visitor

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

Greetings.

See https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/operations/n5k_config_sync_ops.html#89896 

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...

 

DRC_Admin
Frequent Visitor
Frequent Visitor

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

Review Cisco Networking for a $25 gift card