Enable VSX and VRRP
Core 1
interface lag 100
description VSX-ISL
no shutdown
no routing
vlan trunk native 1 tag
vlan trunk allowed all
lacp mode active
interface 1/1/49
no shutdown
lag 100
interface 1/1/50
no shutdown
lag 100
interface 1/1/48
no shutdown
ip address 10.10.10.1/30
vsx
system-mac 00:00:00:00:00:11
inter-switch-link lag 100
role primary
keepalive peer 10.10.10.2 source 10.10.10.1
vsx-sync vrrp
interface vlan 100
ip address 192.168.100.2/24
vrrp 150 address-family ipv4
address 192.168.100.1 primary
priority 110
no shutdown
exit
router vrrp enable
Core 2
interface lag 100
description VSX-ISL
no shutdown
no routing
vlan trunk native 1 tag
vlan trunk allowed all
lacp mode active
interface 1/1/49
no shutdown
lag 100
interface 1/1/50
no shutdown
lag 100
interface 1/1/48
no shutdown
ip address 10.10.10.2/30
vsx
system-mac 00:00:00:00:00:11
inter-switch-link lag 100
role secondary
keepalive peer 10.10.10.1 source 10.10.10.2
vsx-sync vrrp
interface vlan 100
ip address 192.168.100.3/24
vrrp 150 address-family ipv4
address 192.168.100.1 primary
priority 90
no shutdown
exit
router vrrp enable
Check Status
sh vsx status
sh vrrp
Test Failover
interface vlan 100
shutdown
sh vrrp
Failback
interface vlan 100
no shutdown
sh vrrp
Spanning-tree
Core 1
spanning-tree
spanning-tree mode mstp
spanning-tree priority 0
Core 2
spanning-tree
spanning-tree mode mstp
spanning-tree priority 1