11-02-2022 12:40 AM
Hello Everyone,
I am testing EVPN+MPLS on NCS5501.
anyone can explain what this command " l2vpn forwarding inject local-mac add mac-address " is doing ? if I have more than a CE in the PE should I add the mentioned command per CE ?
Thanks
11-02-2022 10:14 AM
Hi, I remember this command from dCloud. This one is used to test your EVPN setup by injecting any MAC address, where you can check if this MAC is then learned on the other side.
Here is a Cisco Liver pdf
https://www.ciscolive.com/c/dam/r/ciscolive/us/docs/2019/pdf/5eU6DfQV/LTRSPG-2968.pdf
Page 73
11-02-2022 11:03 AM - edited 11-02-2022 11:05 AM
Thanks Smailmilak,
I have this Cisco live slides but even here there is no explanation why this command issued.
Without the injection command I am not receiving MAC address from the PE when I have "show evpn evi vpn-id 20 mac".
I want to understand what this command is really doing.
11-02-2022 11:24 AM
It is there only for testing. You don't need to have any CE devices attached from where you would learn MAC addresses.
Check your config. It should be there.
11-02-2022 11:38 AM
This is in real device lab NCS5501. I have CE attached to the PE and even without this command CE can ping to CE but I have no Mac when issuing "show evpn evi vpn-id 20 mac"
Here is my lab topology
11-02-2022 11:52 AM
Ok in this case you don't need that command.
Since you can ping CE to CE via EVPN, then it is working. You will find the mac in the bgp table.
No idea why you don't see the mac with that command. I remember that it was working for me, but it was 1 year ago.
Check here
https://xrdocs.io/ncs5500/tutorials/bgp-evpn-based-single-active-multi-homing/
11-02-2022 12:03 PM
Thanks a lot @smailmilak
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide