02-21-2022 07:18 AM
Hello, I'm trying to configure EVPN for L2VPN traffic. I already have SR-MPLS basic configure with ISIS and BGP.
I want to make a L2VPN from my distribution switches using EVPN. I have two Core switches (ASR 9903), they are setup with:
I have read a lot around EVPN and SR. Many of the examples are showing advanced MPLS TE stuff, what I want now is just to get a EVPN Multipoint up and running and then later play with SR MPLS-TE. Can some one show me some configuration examples?
/Tom
03-22-2022 10:56 AM - edited 03-22-2022 11:21 AM
Check this out for point to point EVPN
Check this out for point to multi-point EVPN
Here is a VPWS example:
CE23 - PE3 - <P network> - PE4 - CE24
PE3 connects to CE23 using G0/0/0/2 and the L2VPN will use G0/0/0/2.100 l2transport (the same is configured for PE4 to CE24)
RP/0/0/CPU0:PE3#sh run int g0/0/0/2.100 Tue Mar 22 17:37:40.486 UTC interface GigabitEthernet0/0/0/2.100 l2transport description To L2VPN_CE23 dot1q vlan 100 ! RP/0/0/CPU0:PE3#sh run l2vpn Tue Mar 22 17:37:55.955 UTC l2vpn pw-class EoMPLS-PWCLASS encapsulation mpls ! ! xconnect group XCONNECT_GROUP p2p CE24 interface GigabitEthernet0/0/0/2.100 neighbor ipv4 1.1.1.14 pw-id 1234 pw-class EoMPLS-PWCLASS ! ! ! ! RP/0/0/CPU0:PE3#
RP/0/0/CPU0:PE4#sh run int g0/0/0/2.100 Tue Mar 22 17:39:57.277 UTC interface GigabitEthernet0/0/0/2.100 l2transport description To L2VPN_CE24 dot1q vlan 100 ! RP/0/0/CPU0:PE4#sh run l2vpn Tue Mar 22 17:40:14.115 UTC l2vpn pw-class EoMPLS-PWCLASS encapsulation mpls ! ! xconnect group XCONNECT_GROUP p2p CE23 interface GigabitEthernet0/0/0/2.100 neighbor ipv4 1.1.1.13 pw-id 1234 pw-class EoMPLS-PWCLASS ! ! ! ! RP/0/0/CPU0:PE4#
Here is how you can verify that your L2VPN is up:
RP/0/0/CPU0:PE3#sh l2vpn xconnect Tue Mar 22 17:44:34.428 UTC Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved, SB = Standby, SR = Standby Ready, (PP) = Partially Programmed XConnect Segment 1 Segment 2 Group Name ST Description ST Description ST ------------------------ ----------------------------- ----------------------------- XCONNECT_GROUP CE24 UP Gi0/0/0/2.100 UP 1.1.1.14 1234 UP ---------------------------------------------------------------------------------------- RP/0/0/CPU0:PE3#
RP/0/0/CPU0:PE4#sh l2vpn xconnect Tue Mar 22 17:45:01.446 UTC Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved, SB = Standby, SR = Standby Ready, (PP) = Partially Programmed XConnect Segment 1 Segment 2 Group Name ST Description ST Description ST ------------------------ ----------------------------- ----------------------------- XCONNECT_GROUP CE23 UP Gi0/0/0/2.100 UP 1.1.1.13 1234 UP ---------------------------------------------------------------------------------------- RP/0/0/CPU0:PE4#
Let me know if this helps!
-Anthony Sylvester
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