7. address-family l2vpn evpn
8. import stitching-rt reoriginate
9. route-policy route-policy-name in
10. encapsulation-type type
11. route-policy route-policy-name out
12. advertise l2vpn evpn re-originated stitching-rt
13. Use the commit or end command.
DETAILED STEPS
Step 1 configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters the global configuration mode.
Step 2 router bgp asn_id
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 100
Specifies the BGP AS number and enters the BGP configuration mode, allowing you to configure the BGP routing
process.
Step 3 neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)# neighbor 209.165.200.225
Places the router in neighbor configuration mode for BGP routing and configures the neighbor IP address 209.165.200.225
as a BGP peer.
Step 4 remote-as autonomous-system-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# remote-as 2000
Creates a neighbor and assigns it a remote autonomous system number.
Step 5 ebgp-multihop maximum hop count
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# ebgp-multihop 255
Enables multihop peerings with external BGP neighbors.
Step 6 update-source loopback
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)# update-source loopback1
Allows BGP sessions to use the primary IP address from a particular interface as the local address.
Step 7 address-family l2vpn evpn
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
505
EVPN Features
Configure the Routing Sessions Between the DCI and ToR