07-31-2020 04:41 PM
Not able to change the port-channel mode from active to passive in Nexus 9504, getting below error.
Other end of the interface is connected to Palo Alto Firewall and its configured as LACP mode active. As per the design, Firewall interface should be in active and Nexus switch interface in Passive, we tried to change the Nexus switch interface Eth1/25 to passive and received the below error.
Appreciate your inputs/comments
Error: Cannot add passive-mode port to active-mode port-channel
CGNWKSW01(config)# interface Ethernet1/25
CGNWKSW01(config-if)# channel-group 60 mode passive
Cannot add passive-mode port to active-mode port-channel
CGNWKSW01(config-if)#
Nexus 9504 Configs:
interface port-channel60
description ## Spine 1 to PaloAlto Firewall 1 ##
switchport
switchport mode trunk
mtu 9216
vpc 60
interface Ethernet1/25
description ## Spine 1 to PaloAlto Firewall 1 ##
switchport
switchport mode trunk
mtu 9216
channel-group 60 mode active -----------> Tried changing to Passive and received the above error
no shutdown
CGNWKSW01# sh port-channel summ
Flags: D - Down P - Up in port-channel (members)
p - Up in delay-lacp mode (member)
M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port- Type Protocol Member Ports Channel
--------------------------------------------------------------------------------
60 Po60(SU) Eth LACP Eth1/25(P)
Thanks
Mathew
Solved! Go to Solution.
07-31-2020 11:52 PM - edited 07-31-2020 11:53 PM
Hi Mathew
Give this a try
Leaf-5(config-if)# channel-group 88 mode active Leaf-5(config-if)# channel-group 88 mode passive Cannot add passive-mode port to active-mode port-channel Leaf-5(config-if)# no channel-group 88 mode active <<<<<<<<<<< Leaf-5(config-if)# channel-group 88 mode passive
HTH!
07-31-2020 11:52 PM - edited 07-31-2020 11:53 PM
Hi Mathew
Give this a try
Leaf-5(config-if)# channel-group 88 mode active Leaf-5(config-if)# channel-group 88 mode passive Cannot add passive-mode port to active-mode port-channel Leaf-5(config-if)# no channel-group 88 mode active <<<<<<<<<<< Leaf-5(config-if)# channel-group 88 mode passive
HTH!
08-18-2020 03:25 PM
Thanks Jason, it worked
Regards
Mathew
06-12-2024 06:09 AM - edited 06-12-2024 06:10 AM
Hello,
There is another condition that can lead to the same error message. In my case I need to change to active mode:
interface Ethernet1/4
switchport mode trunk
switchport trunk allowed vlan 78
channel-group 1
C3132-ITESYS(config)# int ethernet 1/4
C3132-ITESYS(config-if)# channel-group 1 mode active
Cannot add active-mode port to on-mode port-channel
C3132-ITESYS(config-if)# no channel-group 1
C3132-ITESYS(config-if)# channel-group 1 mode active
Cannot add active-mode port to on-mode port-channel
C3132-ITESYS(config-if)# exit
In this case the reason was another active interface in the same port-channel, in my case the interface eth1/5. So you need to remove the eth1/5 from the port-channel and then proceed with the changes for both.
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