cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1111
Views
10
Helpful
6
Replies

vpc role

marmellata08
Level 1
Level 1

Hello, I have a vpc peer-keepalive with same priority but actually 10.111.5.2 in my example is primary. Having same role priority what can affect vpc role to be primary or secondary ?

 

vpc domain 10
role priority 100
peer-keepalive destination 10.111.5.2 source 10.111.5.1 vrf KeepAlive
delay restore 150
peer-gateway
auto-recovery
ip arp synchronize

interface Vlan1
no shutdown
vrf member KeepAlive
ip address 10.111.5.1/30

vPC Role status
----------------------------------------------------
vPC role : secondary
Dual Active Detection Status : 0
vPC system-mac : xx:xx:xx:xx:xx:xx
vPC system-priority : 32667
vPC local system-mac : xx:xx:xx:xx:xx:xx
vPC local role-priority : 100

 

vpc domain 10
role priority 100
peer-keepalive destination 10.111.5.1 source 10.111.5.2 vrf KeepAlive
delay restore 150
peer-gateway
auto-recovery
ip arp synchronize

interface Vlan1
no shutdown
vrf member KeepAlive
ip address 10.111.5.2/30

vPC Role status
----------------------------------------------------
vPC role : primary
Dual Active Detection Status : 0
vPC system-mac : xx:xx:xx:xx:xx:xx
vPC system-priority : 32667
vPC local system-mac : xx:xx:xx:xx:xx:xx
vPC local role-priority : 100

1 Accepted Solution

Accepted Solutions

If the role priorities are equal, the system software uses the lowest mac address on the switch to select the primary device.

HTH

View solution in original post

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Whichever switch you want to be the primary should have a lower number. This way, it is always clear which switch is the primary.

primary

role priority 100

 

backup

role priority 200

HTH

 

 

Thanks Reza I see but I was wondering how it is established who is the primary with equal priority configured .. if it makes sense.

If the role priorities are equal, the system software uses the lowest mac address on the switch to select the primary device.

HTH

Thanks :)

Hi!
So what if I have a pair of switches in vPC domain that have HSRP SVIs (one switch has let's say priority 110 for SVI9 and the other has priority 105 for SVI9). Given the switches are in vPC, they both would forward traffic correct? Does giving the switches the same priority number under vPC Domain config really help anything as I guess lowest MAC switch still is the primary role? Reason being the switches will support servers running in Active Active mode.

As you may know there are 2 things we are talking about, one is vPC priority and other is HSRP priority.

The priority under the vPC domain is for vPC operations and as you mentioned irrespective of which switch is HSRP active the servers which are dual homed to the vPC domain will work in Active-Active mode i.e even if the traffic land on the switch which is HSRP standby will be forwarded