cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
16470
Views
0
Helpful
11
Replies

VPC failed with interface status shown as "vpcCmpFai"

prachaya_k
Level 1
Level 1

Hi All,

 

I am trying to do DCI between 2 pair of Nexus 9508 using VPC. However, on one of the NEXUS is failed to do VPC. I noticed the status of the physical interface, it shown as "vpcCmpFai"

 

Sh int e2/1 status

--------------------------------------------------------------------------------
Port          Name               Status    Vlan      Duplex  Speed   Type
--------------------------------------------------------------------------------
Eth2/1        --                 vpcCmpFai trunk     full    auto    10Gbase-LR
NX1-1(config-if)#
NX1-1(config-if)#
NX1-1(config-if)# Sh int e3/1 statu

--------------------------------------------------------------------------------
Port          Name               Status    Vlan      Duplex  Speed   Type
--------------------------------------------------------------------------------
Eth3/1        --                 vpcCmpFai trunk     full    auto    10Gbase-LR
NX1-1(config-if)#
NX1-1(config-if)#
NX1-1(config-if)# Sh int po 98 statu

--------------------------------------------------------------------------------
Port          Name               Status    Vlan      Duplex  Speed   Type
--------------------------------------------------------------------------------
Po98          --                 noOperMem trunk     full    auto    --         
NX1-1(config-if)#

 

**E2/1 and E3/1 are member of Po98**

Anyone experienced this error before, please help advise what to do to fix it?

11 Replies 11

Rick1776
Level 5
Level 5
Can you share the output from show vpc consistency-parameters global

I believe that is a compatibility issue.

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/troubleshooting/guide/N5K_Troubleshooting_Guide/n5K_ts_vpc.pdf

Hi Rick1776

 

Yes, there is an incompatibility issue. But again, I do not know why it is giving this issue. I re-check my configure and they are exactly the same on both side.

 

See below for output of show command:

 

Sh vpc consis vpc 98

    Legend:
        Type 1 : vPC will be suspended in case of mismatch

Name                        Type  Local Value            Peer Value             
-------------               ----  ---------------------- -----------------------
STP Port Type               1     Edge Trunk Port        Edge Trunk Port       
STP Port Guard              1     Root                   Default               
STP MST Simulate PVST       1     Default                Default               
lag-id                      1     [(1000,                [(1000,               
                                  0-23-4-ee-be-a, 8062,  0-23-4-ee-be-a, 8062,
                                  0, 0), (1000,          0, 0), (1000,         
                                  0-23-4-ee-be-1e, 8062, 0-23-4-ee-be-1e, 8062,
                                   0, 0)]                 0, 0)]               
mode                        1     active                 active                
delayed-lacp                1     disabled               disabled              
Speed                       1     10 Gb/s                10 Gb/s               
Duplex                      1     full                   full                  
Port Mode                   1     trunk                  trunk                 
Native Vlan                 1     1                      1                     
MTU                         1     1500                   1500                  
LACP Mode                   1     on                     on                    
Interface type              1     port-channel           port-channel          
Admin port mode             1     trunk                  trunk                 
Switchport Isolated         1     0                      0                     
vPC card type               1     N9K EOR LC             N9K EOR LC            
Allowed VLANs               -     482-483,910-939,960-97 482-483,910-939,960-97
                                  9                      9                     
Local suspended VLANs       -     -                      -                    

 

====================================================

Here is configure on NX-1

!

interface port-channel98
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree port type edge trunk
  spanning-tree bpduguard disable
  vpc 98

!

interface Ethernet2/1
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree bpduguard disable
  channel-group 98 mode active

!

interface Ethernet3/1
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree bpduguard disable
  channel-group 98 mode active

!

====================================================================

 

Here is configure on NX-2

!

interface port-channel98
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree port type edge trunk
  spanning-tree bpduguard disable
  vpc 98

!

interface Ethernet2/1
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree bpduguard disable
  channel-group 98 mode active

!

interface Ethernet3/1
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree bpduguard disable
  channel-group 98 mode active

!

=====================================================================

 

As you can see, I do not have any ROOT Guard enabled at all on these port but why the show command said one side has ROOT guard and the other is default?

 

###Note###

I also have these configure enable at global

!

spanning-tree port type edge bpduguard default
spanning-tree port type edge bpdufilter default

!

Are module 2 and 3 the same?

 

 Also why do you have this on port type edge trunk? 

 

Os this just connecting to an server?

Hi Rick1776

 

Are module 2 and 3 the same?

 - Yes, Module 2 and 3 are the same

 

 Also why do you have this on port type edge trunk? Or this just connecting to an server?

 - As per best practice on page 62 [Configure the vPC used for DCI as spanning-tree port type edge (i.e port fast) to fasten port state forwarding mode when port is operationally up]

 

 

 

 

Just saw this,your spanning tree types are different on both sides.

spanning-tree port type edge trunk

Both sides have to be the same

Hi Rick1776

 

I'm not sure what you mean. Both side are the same as you can see from below:

 

This is interface po98 on NX-1:

interface port-channel98
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree port type edge trunk
  spanning-tree bpduguard disable
  vpc 98

 

This is interface po98 on NX-2:

interface port-channel98
  switchport mode trunk
  switchport trunk allowed vlan 482-483,910-939,960-979
  spanning-tree port type edge trunk
  spanning-tree bpduguard disable
  vpc 98

What I meant was on the physical interface you have switchport mode trunk.

For the physical interfaces I would have the following configuration.
interface Ethernet2/1
channel-group 98 mode active
no shut

Have the basic configuration under the physical interface and then configure the port-channel.

Sometimes the order of operations messes things up.

Under the physical interfaces like 2/1 not the port channel.

interface port-channel98
switchport mode trunk
switchport trunk allowed vlan 482-483,910-939,960-979
spanning-tree port type edge trunk
spanning-tree bpduguard disable
vpc 98

!

interface Ethernet2/1
switchport mode trunk This should not be here
switchport trunk allowed vlan 482-483,910-939,960-979
spanning-tree bpduguard disable
channel-group 98 mode active

!

interface Ethernet3/1
switchport mode trunk this should not be here 
switchport trunk allowed vlan 482-483,910-939,960-979
spanning-tree bpduguard disable
channel-group 98 mode active

 

under Int 2/1 and 3/1 you should just have 

channel-group 98

no shut

 

configure all other interfaces under int po 98

Hi Rick1776

 

Ok, now I get you..

 

i will try as you suggested and will let you the outcome.

 

thank you very much for helping

Not a problem happy to help.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: