This topic discusses various ways you can verify and troubleshoot VXLANs.
Verify the Registration Node Daemon
vxrdctl vxlans command to see the configured VNIs, the local address being used to source the VXLAN tunnel, and the service node being used.
vxrdctl peers command to see configured VNIs and all VTEPs (leaf switches) within the network that have them configured.
When head end replication mode is disabled, the command does not work.
vxrdctl peers command to see the other VTEPs (leaf switches) and the VNIs with which they are associated. This does not show anything unless you enabled head end replication mode by setting the
head_rep option to True. Otherwise, replication is done by the service node.
Verify the Service Node Daemon
vxsndctl fdb command to verify which VNIs belong to which VTEP (leaf switches).
Verify Traffic Flow and Check Counters
VXLAN transit traffic information is stored in a flat file located in
Ping to Test Connectivity
To test the connectivity across the VXLAN tunnel with an ICMP echo request (ping), make sure to ping from the server rather than the switch itself.
SVIs (switch VLAN interfaces) are not supported when using VXLAN. There cannot be an IP address on the bridge that also contains a VXLAN.
Following is the IP address information used in this example configuration.
Test connectivity between VNI 10 connected servers by pinging from server1:
The other VNIs were also tested and can be viewed in the expanded output below.
Test connectivity between VNI-2000 connected servers by pinging from server1:
Test connectivity between VNI-30 connected servers by pinging from server1:
Troubleshoot with MAC Addresses
Because there is no SVI, there is no way to ping from the server to the directly attached leaf (top of rack) switch without cabling the switch to itself. The easiest way to see if the server can reach the leaf switch is to check the MAC address table of the leaf switch.
First, obtain the MAC address of the server:
Next, check the MAC address table of the leaf switch:
90:e2:ba:55:f0:85 appears in the MAC address table, which indicates that connectivity is occurring between leaf1 and server1.
Check the Service Node Configuration
ip -d link show command to verify the service node, VNI, and administrative state of a particular logical VNI interface: