12-08-2024 06:28 AM - edited 12-08-2024 06:34 AM
I have configured EVPN-MPLS using CSR100v with CML.
Why is the Type-2 information "MAC and IP" missing?
Shouldn't this entry contain the IP address?
[2][10.255.0.4:20][0][48][5254001F1F37][0][*]/20
I attached the configuration.
PE4#show l2vpn evpn mac
MAC Address EVI BD ESI Ether Tag Next Hop(s)
-------------- ----- ----- ------------------------ ---------- ---------------
5254.0001.8351 20 20 0000.0000.0000.0000.0000 0 10.255.0.2
5254.001f.1f37 20 20 0000.0000.0000.0000.0000 0 Gi3:20
PE4#show l2vpn evpn mac ip
IP Address EVI BD MAC Address Next Hop(s)
------------------------- ----- ----- -------------- -------------------------
PE4#
PE4#show bgp l2vpn evpn neighbors 10.255.0.2 advertised-routes
BGP table version is 12, local router ID is 10.255.0.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 10.255.0.4:20 (default for vrf VPN20)
*> [2][10.255.0.4:20][0][48][5254001F1F37][0][*]/20
:: 32768 ?
*> [3][10.255.0.4:20][0][32][10.255.0.4]/17
:: 32768 ?
*> [5][10.255.0.4:20][0][24][192.168.2.0]/17
0.0.0.0 0 32768 ?
Total number of prefixes 3
12-08-2024 06:46 AM
Because PE dont have idea about user IP'
Config static IP and try ping other IP and then check type2 mac-ip
MHM
12-08-2024 07:08 AM - edited 12-08-2024 07:20 AM
Thank for reply.
I tried your advise, but mac-ip is still missing.
PE4#show run interface bdi 20
interface BDI20
vrf forwarding VPN20
ip address 192.168.2.254 255.255.255.0
no mop enabled
no mop sysid
end
PE4#ping vrf VPN20 192.168.2.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
PE4#show arp vrf VPN20
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.2.1 0 5254.001f.1f37 ARPA BDI20
Internet 192.168.2.254 - 001e.144f.93bf ARPA BDI20
PE4#show l2vpn evpn mac ip
IP Address EVI BD MAC Address Next Hop(s)
------------------------- ----- ----- -------------- -------------------------
PE4#show bgp l2vpn evpn neighbors 10.255.0.2 advertised-routes
BGP table version is 12, local router ID is 10.255.0.4
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
t secondary path, L long-lived-stale,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 10.255.0.4:20 (default for vrf VPN20)
*> [2][10.255.0.4:20][0][48][5254001F1F37][0][*]/20
:: 32768 ?
*> [3][10.255.0.4:20][0][32][10.255.0.4]/17
:: 32768 ?
*> [5][10.255.0.4:20][0][24][192.168.2.0]/17
0.0.0.0 0 32768 ?
Total number of prefixes 3
PE4#
12-08-2024 08:31 AM
In your case, there is no need for IP-MAC type 2 routes.
You can check document above to see when such routes in use.
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