Example:
RP/0/RSP0/CPU0:router(config-evpn-bgp)# exit
Exits the current configuration mode and returns to evpn submode
Step 6 evi evi_id
Example:
RP/0/RSP0/CPU0:router(config-evpn)# evi 1
Configures Ethernet VPN ID.
The EVI ID range is from 1 to 65534.
Step 7 bgp
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi)# bgp
Enters the BGP configuration mode for the specific EVI.
Step 8 route-target import { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } [stitching]
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target import 101:1 stitching
Configures importing of routes from the L2 EVPN BGP NLRI that have the matching route-target value.
Step 9 route-target export { 2-byte as_number | 4-byte as_number | IP_address | none } : { nn } [stitching]
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target export 101:1 stitching
Configures exporting of routes to the L2 EVPN BGP NLRIs and assigns the specified route-target identifiers to the
BGP EVPN NLRIs.
Step 10 Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configure Ethernet Segment Identifier
Perform this task to configure Ethernet Segment Identifier (ESI).
SUMMARY STEPS
1. configure
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
514
EVPN Features
Configure Ethernet Segment Identifier