Posted on July 15, 2020 2:05 am
 |  Asked by Richard Loo
Print Friendly, PDF & Email

In EVPN configuration guide, I read the following command has been used:

ip address virtual source-nat vrf A address
But I could not find any documentation to explain this command. What is used for? and How to use it?
Please give some hint about this command. Thanks.
Answered on July 15, 2020 3:22 am

Hi Richard,

With "ip address virtual" anycast gateway configuration, it is possible that the response to traffic sourced from the SVI (Example: ping, traceroute used for troubleshooting) could land on the "wrong" switch. This problem is solved by using the SNAT feature described here:

The command you cited makes the SNAT source address explicit. Pre 4.21.3F and without "ip address virtual source-nat vrf" config, the SNAT source IP is automatically picked in each VRF - highest Loopback IP (if present) followed by highest SVI IP.

We also have a related show command "show ip virtual-router SNAT"

Hope this helps.


Posted by Richard Loo
Answered on July 16, 2020 2:50 am

Naveen, thanks for your reply.

I tried to access the link you provided:

I got "Access Denied: You are not authorized to view this resource."

Can you please help me on this?



Answered on July 16, 2020 3:16 am

Richard, To view the TOI content, I believe you'd need to be logged in using your corporate email address. Please try to create an account on with your company email address.

Post your Answer

You must be logged in to post an answer.