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
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# exit
Exits the current configuration mode.
Step 9 advertise-mac
Example:
RP/0/RSP0/CPU0:router(config-evpn-evi)# advertise-mac
Advertises MAC route (type-2).
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.
Example: EVI Configuration under EVPN Configuration-mode
Every participating EVPN instances are identified by EVI_ID. EVI_ID must be defined under EVPN
configuration mode as shown below.
EVPN
Evi <VPN ID>
Bgp
RD <>
RT <>
!
advertise-mac
Configure EVI under a Bridge Domain
Perform this task to configure EVI under the corresponding L2VPN bridge domain.
SUMMARY STEPS
1. configure
2. l2vpn
3. bridge group bridge group name
4. bridge-domain bridge-domain name
5. interface type interface-path-id
6. exit
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
525
EVPN Features
Example: EVI Configuration under EVPN Configuration-mode