cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3216
Views
6
Helpful
18
Replies

LACP Nexus 9k Lab on Pnetlab

VuongNguyen2903
Level 1
Level 1

Hi everyone,

I practice the Lab on Pnetlab. Connect 2 Nexus and configuration Port channel.

I have issue with the information: I configure Channel Po10 for 2 Nexus on both e1/1 port. 

version 9.3(4) Bios:version

interface Ethernet1/1
switchport mode trunk
speed 10000
duplex full
channel-group 10 mode active

switch(config-if)# show run int po10

!Command: show running-config interface port-channel10
!Running configuration last done at: Tue Apr 4 03:17:11 2023
!Time: Tue Apr 4 03:21:57 2023

version 9.3(4) Bios:version

interface port-channel10
switchport mode trunk
speed 10000
duplex full

 


Group Port- Type Protocol Member Ports
Channel
--------------------------------------------------------------------------------
10 Po10(SD) Eth LACP Eth1/1(s)

 


2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_ADMIN_UP: Interface port-channel10 is
admin up .
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_DOWN_PORT_CHANNEL_MEMBERS_DOWN: Interf
ace port-channel10 is down (No operational members)
2023 Apr 4 03:17:13 switch last message repeated 1 time
2023 Apr 4 03:17:13 switch %ETHPORT-5-SPEED: Interface Ethernet1/1, operational
speed changed to 1 Gbps
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/1, operati
onal duplex mode changed to Full
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/1
, operational Receive Flow Control state changed to off
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/1
, operational Transmit Flow Control state changed to off
2023 Apr 4 03:17:13 switch %ETHPORT-5-SPEED: Interface port-channel10, operatio
nal speed changed to 1 Gbps
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_DUPLEX: Interface port-channel10, oper
ational duplex mode changed to Full
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface port-channe
l10, operational Receive Flow Control state changed to off
2023 Apr 4 03:17:13 switch %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface port-channe
l10, operational Transmit Flow Control state changed to off
2023 Apr 4 03:17:23 switch %ETH_PORT_CHANNEL-5-PORT_SUSPENDED: Ethernet1/1: Eth
ernet1/1 is suspended

You may give me the solution? Thank you for your support.

 

18 Replies 18

TotallyTodd
Level 1
Level 1

You totally need 2 or more interfaces on the same device to create a port-channel totally. 

balaji.bandi
Hall of Fame
Hall of Fame

that should work as expected on the version you using, (there are some issue on old version 9.3 is good to work)

try below commands (both the switches)

interface port-channel10

shutdown

no lacp suspend-individual

no shutdown

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Tks. I will try to do it.

Totally hope it works!

If I used this command as  above. Interface Po will down: Po100 1 eth trunk down No operational members auto(D) lacp

Po100  - hope this is PO10

I just tested  and works as expected: below test results :

balajibandi_0-1680845023009.png

 

balajibandi_1-1680845068963.png

 

feature lacp

interface port-channel10
switchport
switchport mode trunk

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

 

balajibandi_4-1680845246444.png

 

 

balajibandi_3-1680845227146.png

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

VuongNguyen2903
Level 1
Level 1

Nexus01:

Interface Ethernet1/1 is suspended
Channel group is 10 port channel is Po10
PDUs sent: 32
PDUs rcvd: 0
Markers sent: 0
Markers rcvd: 0
Marker response sent: 0
Marker response rcvd: 0
Unknown packets rcvd: 0
Illegal packets rcvd: 0
Lag Id: [ [(0, 0-0-0-0-0-0, 0, 0, 0), (0, 0-0-0-0-0-0, 0, 0, 0)] ]
Operational as aggregated link since Thu Jan 1 00:00:00 1970

Nexus02:

Interface Ethernet1/1 is suspended
Channel group is 10 port channel is Po10
PDUs sent: 44
PDUs rcvd: 0
Markers sent: 0
Markers rcvd: 0
Marker response sent: 0
Marker response rcvd: 0
Unknown packets rcvd: 0
Illegal packets rcvd: 0

 

Everyone can help me?

The speed duplex is mismatch

Please hardcoded the value and try check again.

Tks for reply.

I have configure on int and po: speed 1000. and 2 device the same configure. But no effect.

check my config above 

start from zero do these steps 
do this in both NSK in same time i.e. when you config keepalive in NSK1 dont go to step2 but config keepalive in NSK2

1- CONNECT interface that use for keepalive 
2- config the keepalive interface 
3-
feature vpc
feature lacp 
feature inter-vlan 
4- config the spanning tree mode mst 
config spanning tree mst config 
revision 0 
instance 0 vlan 1-4094
5-
config the vpc domain 
config peer-keepalive and use vrf default in end of this command 
6-connect interface that use as vpc peer-link 
7- interface ex/x
channel-group 1 mode active  forces 
no shut
8- interface port-channel 1 
spanning-tree port type network 
switchport mode trunk 
switchport trunk allow vlan 1,.... <<- what you want other vlan specific here 
vpc peer-link 
no shut 


that all steps you need 
the issue is there is bug if you config peer-link before config the SPT MST the peer-link never go UP



Thank you very much, 

But I only configure the channel-port in this lab. 

You can give me your advice? Please

version 9.3(9) Bios:version

interface port-channel10
switchport mode trunk
speed 1000

01(config-if)# show run int e1/1

!Command: show running-config interface Ethernet1/1
!Running configuration last done at: Thu Apr 6 02:06:06 2023
!Time: Thu Apr 6 02:06:17 2023

version 9.3(9) Bios:version

interface Ethernet1/1
switchport mode trunk
speed 1000
channel-group 10 mode active

01(config-if)#

 

version 9.3(9) Bios:version

interface port-channel10
switchport mode trunk
speed 1000

02(config-if)# show run int e1/1

!Command: show running-config interface Ethernet1/1
!Running configuration last done at: Thu Apr 6 02:05:57 2023
!Time: Thu Apr 6 02:06:31 2023

version 9.3(9) Bios:version

interface Ethernet1/1
switchport mode trunk
speed 1000
channel-group 10 mode active

02(config-if)#

Review Cisco Networking for a $25 gift card