Xrdocs Io ncs5500 Tutorials srv6 Transport On Ncs Part 6
Xrdocs Io ncs5500 Tutorials srv6 Transport On Ncs Part 6
Paban Sarma
Technical Marketing Engineer, Cisco. Follow
Save to PDF
TA B L E O F C O N T E N T S
OVERVIEW
TO P O LO GY
C O N F I G U R AT I O N S T E P S
V E R I F I C AT I O N S T E P S
SUMMARY
Overview
In our previous tutorials, we covered SRv6 Transport with uSID on the NCS 500 and 5500 platforms, and L3/L2 P2P
services on top of it. This tutorial will cover implementaion of ethernet VPN (EVPN) based multipoint layer 2 service
(ELAN) over SRv6 uSID transport. As of today, only Single homed EVPN ELAN is supported on these platforms. EVPN
ELAN is not supported on the NCS 5700 series platforms as of latest XR release.
Topology
The loopback0 IPs are chosen as per the SRv6 addressing best practice (check out segment-routing.net for more
details).
In this tutorial, we will establish a multipoint L2VPN (EVPN-ELAN) connecting CE1, CE2 and CE3. The example will
demonstrate VLAN based ELAN (EVPLAN) service and establish L2 stretch across CE1, CE2 and CE3 for VLAN 200.
We already covered the con guration steps for the transport in our previous tutorial. The below table summerizes the
SRv6 uSID locator used (name POD0) on each node for reference.
PE1 fcbb:bb00:1::/48
P2 fcbb:bb00:2::/48
P3 fcbb:bb00:3::/48
PE4 fcbb:bb00:4::/48
PE5 fcbb:bb00:5::/48
Con guration steps included in this tutorial will focus only on the service speci c tasks including,
BGP con guration is similar to what we did in our previous tutorial. However, since we have multiple PE nodes here, we
need to establish full mesh BGP with EVPN AFI. For simplicity, we are using P2 as a route-re ector (RR). In real time
deployment, it is recommended to use dedicated route-re ectors in the network. The following con g snippet shows the
BGP con guration on all the PEs and the RR node.
PE1
PE4
PE5
P2 as RR
The next step is to con gure the EVPN. It includes three steps,
ES con guration: Since we are not using Multihoming CE, we won’t explicitly con gure any ESI but simply enable to
physical PE-CE link under EVPN
evpn
interface TenGigE0/0/0/0
ethernet-segment
identifier type 0 1.1.1.1.1.1.0
!
!
!
Enabling SRv6: we need to globally enable SRv6 for EVPN under EVPN global con guration. This step optionally
includes specifying the SRv6 locator to be used for EVPN services.
evpn
segment-routing srv6
locator POD0
!
!
EVI con guartion: The next important step is to con gure the EVPN identi er (EVI) and enable MAC advertisement and
SRv6 for the EVI. We can also specify the locator per EVI in this stage. We are using per EVI locator in this tutorial.
evpn
evi 200 segment-routing srv6
advertise-mac
!
locator POD0
!
!
Below is the con g snippet from all the PE nodes. (we have the exact same con guration on all three PEs as the topology
is symmetric i.e same interfaces are used on each PE)
evpn
evi 200 segment-routing srv6
advertise-mac
!
locator POD0
!
interface TenGigE0/0/0/0
!
segment-routing srv6
!
!
The layer2 sub interface created now needs to be stitched with the EVI by using the l2vpn bridge-domain service
construct as shown below. Note that the segment-routing srv6 keyword is must here . We can also specify a locator if we
wish to use a di erent locator for the bridge-domain.
l2vpn
bridge group POD0
bridge-domain POD0
interface TenGigE0/0/0/0.2
!
evi 200 segment-routing srv6
!
!
!
!
The very rst step is to verify whether the con gured bridge-domain is in Up state on all the PE nodes. For brevity we
have included the veri cation outputs only from PE5.
The next step is to see the programmed SRv6 SIDs for the service we con gured. For each EVI , there are two SRv6 SID
programmed, uDT2U and uDT2M for Unicast and BUM tra c respectively.
The same SIDs can also be veri ed using the EVI detail CLI.
The above output shows the two SIDs for two types of tra c for the EVI. We can check details of the SIDs using show
The CE nodes are con gured in the same L2 subnets which we want to stitch using the EVPN service. Below are the IP
con gurations on each CE.
We can now try verifying end-to-end ping from CE1 to the other CE nodes to con rm the working of the EVPN service.
RP/0/RP0/CPU0:LABSP-3393-CE1#ping 200.0.0.1
Fri May 12 05:22:43.472 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
RP/0/RP0/CPU0:LABSP-3393-CE1#ping 200.0.0.2
Fri May 12 05:22:44.911 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
RP/0/RP0/CPU0:LABSP-3393-CE1#ping 200.0.0.3
Fri May 12 05:22:46.593 UTC
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.0.0.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
As the packets went through the EVPN PEs, we will see the respective MAC addresses learnt locally and via EVPN. The
below CLI snippets shows the learnings on PE5.
Summary
This concludes Part 6 of our SRv6 tutorial series explaining multipoint L2 service over SRv6 transport with EVPN control
Plane (EVPN ELAN). Stay tuned for our upcoming tutorials.
Leave a Comment
0 Comments
1 Login
Name
This site is maintained by Cisco Systems, Inc. employees. Powered by Jekyll & Minimal Mistakes.