I hit got problem at labs yesterday due VPC implementation for VXLAN anycast gateway dont want to get failover.
solved by this workarround :
“vpc nve peer-link-vlan xx”
this is from Cisco sites :
vPC Considerations
A virtual IP must be configured for the vPC pair
A virtual IP must be configured for loopback purposes.
A peer-link switched virtual interfaces (SVI) must be only on a peer-link in external communication. A configuration example:
vpc nve peer-link-vlan 99
interface vlan99
no shutdown
no ip redirects
ip address 99.1.1.1/24
ip ospf cost 10
ip router ospf 1 area 0.0.0.0
ip pim sparse-mode
A special peer-link SVI must be configured on the VPC pair.
VPC peers must have identical configurations:
Consistent VLAN to VN-segment mapping.
Consistent NVE1 binding to the same loopback interface.
Using the same secondary IP address.
Using different primary IP addresses.