10. 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 evpn
Example:
RP/0/RSP0/CPU0:router(config)# evpn
Enters EVPN configuration mode.
Step 3 evi evi_id
Example:
RP/0/RSP0/CPU0:router(config-evpn)# evi 6005
Configures Ethernet VPN ID.
The EVI ID range is from 1 to 65534.
Step 4 bgp
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi)# bgp
Enters the BGP configuration mode for the specific EVI.
Step 5 (Optional) rd { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn }
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# rd 200:50
Configures the route distinguisher.
Step 6 (Optional) route-target import { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn }
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target import 100:6005
Configures importing of routes from the L2 EVPN BGP NLRI that have the matching route-target value.
Step 7 (Optional) route-target export { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn }
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target export 100:6005
Configures exporting of routes to the L2 EVPN BGP NLRIs and assigns the specified route-target identifiers to the
BGP EVPN NLRIs.
Step 8 exit
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
537
EVPN Features
Configure EVPN Service Instance (EVI) Parameters