VMware Cloud Community
pchelbee
Contributor
Contributor

cisco 4500 vss and vmw

Hello all.

This is fifth day that I'm trying to solve how to correct configure vmware and cisco vss with lacp. (Previously I tried to use etherchannel with the same effect) Also other LACP groups (not with vmware works perfectely on this vss switches.

I configured two channel-groups for each server connected to cisco and when I enable interfaces in this groups on second standby switch, I loose connectivity to one of the virtual machines, I can connect to it from one server but not from another so lacp not working as expected.

What i missed in configuration. Any help will be very helpful. Below my configuration.

So I have cisco 4500x in vss configuration with vsl links (Active/Standby), I configured port-channels and aggregate two pairs of interfaces with corresponding channel-groups for hosts connected to them:

interface Port-channel5

switchport

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

spanning-tree portfast trunk

spanning-tree bpduguard enable

!

interface Port-channel7

switchport

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

spanning-tree portfast trunk

spanning-tree bpduguard enable

interface TenGigabitEthernet1/1/5

description dell1.eth1

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

channel-protocol lacp

channel-group 5 mode active

spanning-tree portfast trunk

spanning-tree bpduguard enable

interface TenGigabitEthernet1/1/7

description dell2.eth1

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

channel-protocol lacp

channel-group 7 mode active

spanning-tree portfast trunk

spanning-tree bpduguard enable

interface TenGigabitEthernet2/1/5

description dell1.eth2

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

shutdown

channel-protocol lacp

channel-group 5 mode active

spanning-tree portfast trunk

spanning-tree bpduguard enable

interface TenGigabitEthernet2/1/7

description dell2.eth2

switchport trunk allowed vlan 200

switchport mode trunk

mtu 9000

shutdown

channel-protocol lacp

channel-group 7 mode active

spanning-tree portfast trunk

spanning-tree bpduguard enable

When ports enabled I get the following status for the ports:

Te1/1/5   dell1.eth1         connected    trunk        full a-1000 1000BaseT

Te1/1/7   dell2.eth1         connected    trunk        full a-1000 1000BaseT

Te2/1/5   dell1.eth2         connected    trunk        full a-1000 1000BaseT

Te2/1/7   dell2.eth2         connected    trunk        full a-1000 1000BaseT

Po5                          connected    trunk      a-full a-1000

Po7                          connected    trunk      a-full a-1000

Also I have two hosts with esxi 6.5, and there I configured vDS with LACP group

here is LAG config:

pastedImage_4.png

both hosts connected to upstream switch with LAG

host1:

pastedImage_9.png

host2:

pastedImage_8.png

pastedImage_7.png

Portgroup:

pastedImage_6.png

And some outputs from esxi state lacp:

and also question why Admin Key and Oper Key the same on differents hosts in LACP group?

host1:

crc-DSwitch

   DVSwitch: crc-DSwitch

   Flags: S - Device is sending Slow LACPDUs, F - Device is sending fast LACPDUs, A - Device is in active mode, P - Device is in passive mode

   LAGID: 469272483

   Mode: Passive

   Nic List:

         Local Information:

         Admin Key: 9

         Flags: SP

         Oper Key: 9

         Port Number: 32769

         Port Priority: 255

         Port State: AGG,SYN,COL,DIST,

         Nic: vmnic1

         Partner Information:

         Age: 00:00:02

         Device ID: 02:00:00:00:00:0a

         Flags: SA

         Oper Key: 7

         Port Number: 23

         Port Priority: 32768

         Port State: ACT,AGG,SYN,COL,DIST,

         State: Bundled

         Local Information:

         Admin Key: 9

         Flags: SP

         Oper Key: 9

         Port Number: 32768

         Port Priority: 255

         Port State: AGG,SYN,COL,DIST,

         Nic: vmnic0

         Partner Information:

         Age: 00:00:04

         Device ID: 02:00:00:00:00:0a

         Flags: SA

         Oper Key: 7

         Port Number: 7

         Port Priority: 32768

         Port State: ACT,AGG,SYN,COL,DIST,

         State: Bundled

host2:

crc-DSwitch

   DVSwitch: crc-DSwitch

   Flags: S - Device is sending Slow LACPDUs, F - Device is sending fast LACPDUs, A - Device is in active mode, P - Device is in passive mode

   LAGID: 469272483

   Mode: Passive

   Nic List:

         Local Information:

         Admin Key: 9

         Flags: SP

         Oper Key: 9

         Port Number: 32768

         Port Priority: 255

         Port State: AGG,SYN,COL,DIST,

         Nic: vmnic0

         Partner Information:

         Age: 00:00:04

         Device ID: 02:00:00:00:00:0a

         Flags: SA

         Oper Key: 5

         Port Number: 21

         Port Priority: 32768

         Port State: ACT,AGG,SYN,COL,DIST,

         State: Bundled

         Local Information:

         Admin Key: 9

         Flags: SP

         Oper Key: 9

         Port Number: 32769

         Port Priority: 255

         Port State: AGG,SYN,COL,DIST,

         Nic: vmnic1

         Partner Information:

         Age: 00:00:01

         Device ID: 02:00:00:00:00:0a

         Flags: SA

         Oper Key: 5

         Port Number: 5

         Port Priority: 32768

         Port State: ACT,AGG,SYN,COL,DIST,

         State: Bundled

Tags (1)
0 Kudos
3 Replies
pchelbee
Contributor
Contributor

Is here someone who can help with this?

0 Kudos
pchelbee
Contributor
Contributor

Useless forum...

0 Kudos
bayupw
Leadership
Leadership

Your vDS LACP mode is passive

pastedImage_4.png

But your switch is LACP mode Active

channel-protocol lacp

channel-group 5 mode active

Try to match those settings first e.g. changing the vDS LACP to active

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos