The core of my network is a pair of 8360's in a VSX cluster. Because of a variety of reasons the default VRF is completely unused and my underlay network is in a VRF named "corporate". I have a new request that needs me to configure a simple, static VxLAN tunnel between the two core switches and an 8360 in another part of my campus network. Since VxLAN source interfaces can ONLY be in the default VRF it's a little more complicated than I feel like it should be but I think it should work. Here's what I've done:
1. I created matching anycast VTEP loopback interfaces on both core switches
2. I leaked routes between the default and corporate VRFs so that the edge VTEP and the anycast loopbacks could reach each other (OSPF is already configured to redistribute static routes)
3. I configured the vxlan interface with the anycast VTEP IP as it's source and the edge VTEP loopback address as it's peer
Here's the config from the two core switches (it's identical on both)
interface loopback 2
description anycast VTEP
ip address 10.254.134.1/32
ipv6 address 2001:18e8:408:8086::1/128
ip route 10.254.83.2/32 1/1/10 10.255.5.2
ip route 10.254.134.1/32 loopback2 vrf corporate
interface vxlan 1
source ip 10.254.134.1
no shutdown
vni 35
vlan 35
vtep-peer 10.254.83.2
The edge switch is much simpler. It's a single switch that already had a loopback interface and everything is in the default VRF. I just had to add the vxlan interface configuration
interface vxlan 1
source ip 10.254.83.2
no shutdown
vni 35
vlan 35
vtep-peer 10.254.134.1
The routes are distributing correctly and I can ping between the two addresses (10.254.83.2 and 10.254.134.1) but traffic isn't passing through the tunnel. On the edge switch everything looks normal and the VTEPS are in an operational state
cx-nc23-h# show interface vxlan vteps
Source Destination Origin Status VNI Routing VLAN VRF
---------------------------------------------- ---------------------------------------------- ------------ --------------------- --------- --------- ----- ----------
10.254.83.2 10.254.134.1 static operational 35 disabled 35 --
but on both core switches the VTEPS are stuck in an "activating" state.
core-vsx-un(config)# show interface vxlan vteps
Source Destination Origin Status VNI Routing VLAN VRF
---------------------------------------------- ---------------------------------------------- ------------ --------------------- --------- --------- ----- ----------
10.254.134.1 10.254.83.2 static activating 35 disabled 35 --
core-vsx-sc(config)# show interface vxlan vteps
Source Destination Origin Status VNI Routing VLAN VRF
---------------------------------------------- ---------------------------------------------- ------------ --------------------- --------- --------- ----- ----------
10.254.134.1 10.254.83.2 static activating 35 disabled 35 --
There's nothing in the logs to say why the VTEPS won't flip to operational. Am I missing something for the VSX/anycast/route leaking setup? I feel like this should be relatively straight forward. Thanks!