Skip to content
Dmitry Golovach
Go back

Cisco NX-OS: vPC & FHRP

FHRP acts as active/active forwarding over vPC:

Nexus SVI configuration:

feature interface-vlan
!
interface Vlan10
  ip address 10.10.10.253/24
  no shutdown
!
interface Vlan20
  ip address 10.10.20.253/24
  no shutdown

Nexus HSRP configuration:

feature hsrp
!
interface Vlan10
  hsrp 10
    ip 10.10.10.1
    priority 255
!
interface Vlan20
  hsrp 20
    ip 10.10.20.1
    priority 255
!priority is not important, since HSRP will act as Active/Active in vPC

SW9 is using port e2/0 to forward traffic, because NXOS1 is Primary

Peer gateway configuration

If the destination MAC address is an NXOS1 physical address but destination IP address is not on NXOS1 (something behind NXOS1), NXOS2 does not use Peer Link and send traffic over Member vPC

vpc domain 1
   peer-gateway

Entire config

feature interface-vlan
feature hsrp
!
vpc domain 1
 peer-gateway
!
interface Vlan10
  no shutdown
  ip address 10.10.10.253/24
  hsrp 10
    priority 255
    ip 10.10.10.1
!
interface Vlan20
  no shutdown
  ip address 10.10.20.253/24
  hsrp 20
    priority 255
    ip 10.10.20.1

Share this post:

Previous Post
Cisco NX-OS: vPC & Failures
Next Post
Cisco NX-OS: From vPC to Back-to-Back vPC