cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2089
Views
0
Helpful
2
Replies

Link flapping/down issue with Nexus 7K

neeraj7334
Level 1
Level 1

Hi , We have a pair of nexus 7K in VPC environment.  From past few days it has been noticed that randomly any interface on any 7K goes down . To recover the same we do shut & no shut the interface which brings it back. 

Would like to know if some one has experienced the same issue or is there any preventive measures to keep this away in future .

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Is STP configured correctly with primary VPC being root and the backup device being backup root?

also, what does the log show when this happens?

Can you post VPC and VPC peer link config from both switch?

What is the output of "sh vpc"?

What version of Nexus-OS are you running?

HTH

Hi ,

We get normal link down alerts when interface goes down.

Below are required output .

## Primary Config  #######

Switch is in rapid-pvst mode
Root bridge for: VLAN0010, VLAN0020, VLAN0040
Port Type Default                        is edge
Edge Port [PortFast] BPDU Guard Default  is enabled
Edge Port [PortFast] BPDU Filter Default is enabled
Bridge Assurance                         is enabled
Loopguard Default                        is enabled
Pathcost method used                     is short
STP-Lite                                 is enabled

Name                   Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001                     0         0        0        134        134
VLAN0010                     0         0        0          5          5
VLAN0020                     0         0        0          4          4
VLAN0030                     0         0        0         10         10
VLAN0040                     0         0        0          4          4
VLAN0104                     0         0        0          5          5
---------------------- -------- --------- -------- ---------- ----------
6 vlans                      0         0        0        162        162

 

 

show vpc

Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 1  
Peer status                       : peer adjacency formed ok     
vPC keep-alive status             : peer is alive                
Configuration consistency status  : success
Per-vlan consistency status       : success                      
Type-2 consistency status         : success
vPC role                          : secondary, operational primary
Number of vPCs configured         : 74 
Peer Gateway                      : Disabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Enabled (timeout = 240 seconds)

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans   
--   ----   ------ --------------------------------------------------
1    Po1    up     1,10,20,30,40,104                                     

vPC status
----------------------------------------------------------------------
id   Port   Status Consistency Reason                     Active vlans
--   ----   ------ ----------- ------                     ------------
8    Po8    up     success     success                    1              
                                                                         
9    Po9    up     success     success                    1              
                                                                         
10   Po10   up     success     success                    1,10,30        
                                                                         
11   Po11   up     success     success                    1,10,20,30,    
                                                          40,104         
17   Po17   up     success     success                    1              
                                                                         
21   Po21   down*  success     success                    -              
                                                                         
22   Po22   up     success     success                    1              
                                                                         
28   Po28   up     success     success                    1              
                                                                         
29   Po29   up     success     success                    1              
                                                                         
30   Po30   up     success     success                    1              
                                                                         
31   Po31   up     success     success                    1              
                                                                         
32   Po32   up     success     success                    1              
                                                                         
33   Po33   up     success     success                    1              
                                                                         
35   Po35   up     success     success                    1              
                                                                         
36   Po36   up     success     success                    1              
                                                                         
37   Po37   up     success     success                    1              
                                                                         
38   Po38   down*  success     success                    -              
                                                                         
39   Po39   up     success     success                    1               

 

interface port-channel1
  description ***Connected to Secondary NEXUS SW2 port-channel 1***
  switchport mode trunk
  spanning-tree port type network
  vpc peer-link

kickstart image file is: bootflash:///n7000-s1-kickstart.6.1.4.bin
  kickstart compile time:  12/25/2020 12:00:00 [05/16/2013 07:14:08]
  system image file is:    bootflash:///n7000-s1-dk9.6.1.4.bin
  system compile time:     3/11/2013 23:00:00 [05/16/2013 08:21:50]

 

 

###### Secondary config ###########

 

show spanning-tree summary

Switch is in rapid-pvst mode
Root bridge for: none
Port Type Default                        is edge
Edge Port [PortFast] BPDU Guard Default  is enabled
Edge Port [PortFast] BPDU Filter Default is enabled
Bridge Assurance                         is enabled
Loopguard Default                        is enabled
Pathcost method used                     is short
STP-Lite                                 is enabled

Name                   Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001                     0         0        0        127        127
VLAN0010                     0         0        0          5          5
VLAN0020                     0         0        0          4          4
VLAN0030                     0         0        0         15         15
VLAN0040                     0         0        0          7          7
VLAN0104                     0         0        0          5          5
---------------------- -------- --------- -------- ---------- ----------
6 vlans                      0         0        0        163        163
 

show vpc

Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 1  
Peer status                       : peer adjacency formed ok     
vPC keep-alive status             : peer is alive                
Configuration consistency status  : success
Per-vlan consistency status       : success                      
Type-2 consistency status         : success
vPC role                          : primary, operational secondary
Number of vPCs configured         : 74 
Peer Gateway                      : Disabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Enabled (timeout = 240 seconds)

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans   
--   ----   ------ --------------------------------------------------
1    Po1    up     1,10,20,30,40,104                                     

vPC status
----------------------------------------------------------------------
id   Port   Status Consistency Reason                     Active vlans
--   ----   ------ ----------- ------                     ------------
8    Po8    up     success     success                    1              
                                                                         
9    Po9    up     success     success                    1              
                                                                         
10   Po10   up     success     success                    1,10,30        
                                                                         
11   Po11   up     success     success                    1,10,20,30,    
                                                          40,104         
17   Po17   up     success     success                    1              
                                                                         
21   Po21   down*  success     success                    -              
                                                                         
22   Po22   up     success     success                    1              
                                                                         
28   Po28   up     success     success                    1              
                                                                         
29   Po29   down*  Not         Consistency Check Not      -              
                   Applicable  Performed                                 
30   Po30   up     success     success                    1              
                                                                         
31   Po31   up     success     success                    1              
                                                                         
32   Po32   up     success     success                    1              
                                                                         
33   Po33   up     success     success                    1              
                                                                         
35   Po35   up     success     success                    1              
                                                                         
36   Po36   up     success     success                    1              
                                                                         
37   Po37   up     success     success                    1              
                                                                         
38   Po38   down*  success     success                    -              
                                                                         
39   Po39   up     success     success                    1              
                                                                         
42   Po42   down*  Not         Consistency Check Not      -              
                   Applicable  Performed                                 
43   Po43   down*  Not         Consistency Check Not      -              
                   Applicable  Performed                                 
44   Po44   down*  Not         Consistency Check Not      -              
                   Applicable  Performed                                  

 

interface port-channel1
  description ***Connected to Primary NEXUS SW1 port-channel 1***
  switchport mode trunk
  spanning-tree port type network
  vpc peer-link

kickstart image file is: bootflash:///n7000-s1-kickstart.6.1.4.bin
  kickstart compile time:  12/25/2020 12:00:00 [05/16/2013 07:14:08]
  system image file is:    bootflash:///n7000-s1-dk9.6.1.4.bin
  system compile time:     3/11/2013 23:00:00 [05/16/2013 08:21:50]