cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1590
Views
1
Helpful
6
Replies

Port-channel mode cannot be changed in a non-empty port-channel

I tried to create a Port channel 30 and aggregated it with eth-1/10 & eth-1/11. Not both physical ports are down, nothing is connected there. When I tried to config "channel-group 30 mode active" in both physical interfaces (eth-1/10 & -1/11) I am getting below error: 

"Port-channel mode cannot be changed in a non-empty port-channel, and port mode must match with port-channel mode".

Now is it something because ports are down ? or something else is missing ? 

Eth1/10         --      eth  routed down    XCVR not inserted        auto(D) 30
Eth1/11         --      eth  routed down    XCVR not inserted        auto(D) --

interface Ethernet1/11
  switchport
  switchport mode trunk
  channel-group 30
  no shutdown

interface Ethernet1/10
  switchport
  switchport mode trunk
  channel-group 30
  no shutdown

--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
10    Po10(SU)    Eth      LACP      Eth1/39(P)
20    Po20(SU)    Eth      LACP      Eth1/48(P)
30    Po30(SD)    Eth      NONE      Eth1/10(D)   Eth1/11(D)

The thing is I want a LACP lag to bind both physical interfaces (eth-1/10 & -1/11). Please suggest.

1 Accepted Solution

Accepted Solutions

Dawei
Cisco Employee
Cisco Employee

Try this:

 

N9K(config)# int e1/10-11
N9K(config-if-range)# no channel-group 30
N9K(config-if-range)# channel-group 30 mode active

 

View solution in original post

6 Replies 6

Mark Elsen
Hall of Fame
Hall of Fame

 

 - Is the configuration of Po30 symmetrical w.r.t the physical ports it uses ?

  M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Hi Marce,

Here is the configuration for Po30

interface port-channel30
  description ###Towards DNS server###
  switchport
  switchport mode trunk

Dawei
Cisco Employee
Cisco Employee

Try this:

 

N9K(config)# int e1/10-11
N9K(config-if-range)# no channel-group 30
N9K(config-if-range)# channel-group 30 mode active

 

Hi Dawei,

Thank you so much for the solution, it worked.

Also, is there any other configuration required for LACP for these two physical interfaces, or this is sufficient? 

Here is the configuration for Po30, please suggest if I need to add any config for LACP: 

interface port-channel30
  description ###Towards DNS server###
  switchport
  switchport mode trunk

No other commands are needed. If you are connecting to a server using this port-channel, you may consider configuring `spanning-tree port type edge trunk`.

Review Cisco Networking for a $25 gift card