cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
654
Views
5
Helpful
3
Replies

Nexus 7 OTV Operational Role Switch

CLCrawl
Level 1
Level 1

Hello,

 

We have a pair of Nexus switches. We need to remove one of them from service to do some hardware upgrades, and then bring it back into service. We need to get the Operational VPC Role swung to Nexus1 which is going to stay operational, away from Nexus2. As of now we have the following for show vpc.

 

Nexus1

vPC domain id : 2 
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 : 3
Peer Gateway : Enabled
Peer gateway excluded VLANs : -
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled 

 Nexus2

vPC domain id : 2 
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 : 3
Peer Gateway : Enabled
Peer gateway excluded VLANs : -
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled

 Here is the running config for VPC on each.

Nexus1

vpc domain 2
role priority 1
peer-keepalive destination <IP> source <IP> vrf default
peer-gateway

Nexus 2

vpc domain 2
peer-keepalive destination <IP> source <IP> vrf default
peer-gateway

As you can see we have the priority as low as it can go on Nexus1. We then bounced, shutdown and no shutdown, the VPC Peer Link. Unfortunately, this resulted in Nexus1 shutting down all of its VPC links, while Nexus2 simply retained the Operational Primary Role. In a sense we gained nothing.

 

Am I missing something else to try and force the switch? Would killing both the VPC Keepalive Link and VPC Peer Link completely force Nexus1 to recapture the Operational Primary Role? Thanks to any insight you can provide, much appreciated.

1 Accepted Solution

Accepted Solutions

Yes, since the code does not support the command, the choice is pretty much a reload of Nexus-2.

Good Luck!

 

View solution in original post

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

CLCrawl
Level 1
Level 1

Unfortunately, the code we are running doesn't support that command. This is a big part of the upgrade as well. I am thinking our best bet is to simply migrate all the links to Nexus 1, and then reload Nexus 2. That would certainly force Nexus 1 to revert back to Primary / Primary right?

Yes, since the code does not support the command, the choice is pretty much a reload of Nexus-2.

Good Luck!

 

Review Cisco Networking for a $25 gift card