Troubleshooting EVPN Type-2 Route Distribution to a DCIG
For optimal traffic forwarding in an EVPN topology, you can enable fabric spines to distribute host routes to a Data Center Interconnect Gateway (DCIG) using EVPN type-2 (MAC-IP) routes along with the public BD subnets in the form of BGP EVPN type-5 (IP Prefix) routes. This is enabled using the HostLeak object. If you encounter problems with route distribution, use the steps in this topic to troubleshoot.
SUMMARY STEPS
- Verify that HostLeak object is enabled under the VRF-AF in question, by entering a command such as the following in the spine-switch CLI:
- Verify that the config-MO has been successfully processed by BGP, by entering a command such as the following in the spine-switch CLI:
- Verify that the public BD-subnet has been advertised to DCIG as an EVPN type-5 route:
- Verify whether the host route advertised to the EVPN peer was an EVPN type-2 MAC-IP route:
- Verify that the EVPN peer (a DCIG) received the correct type-2 MAC-IP route and the host route was successfully imported into the given VRF, by entering a command such as the following on the DCIG device (assuming that the DCIG is a Cisco ASR 9000 switch in the example below):
DETAILED STEPS
Step 1 |
Verify that HostLeak object is enabled under the VRF-AF in question, by entering a command such as the following in the spine-switch CLI: Example:
|
Step 2 |
Verify that the config-MO has been successfully processed by BGP, by entering a command such as the following in the spine-switch CLI: Example:
Look for output similar to the following:
|
Step 3 |
Verify that the public BD-subnet has been advertised to DCIG as an EVPN type-5 route: Example:
In the Path type entry, ref 1 indicates that one route was sent. |
Step 4 |
Verify whether the host route advertised to the EVPN peer was an EVPN type-2 MAC-IP route: Example:
The Shared RD line indicates the RD/VNI shared by the EVPN type-2 route and the BD subnet. The EVPN Network line shows the EVPN type-5 route of the BD-Subnet. The Path-id advertised to peers indicates the path advertised to EVPN peers. |
Step 5 |
Verify that the EVPN peer (a DCIG) received the correct type-2 MAC-IP route and the host route was successfully imported into the given VRF, by entering a command such as the following on the DCIG device (assuming that the DCIG is a Cisco ASR 9000 switch in the example below): Example:
In this output, the received RD, next hop, and attributes are the same for the type-2 route and the BD subnet. |