ModificationRelease
Support for this command in the EVPN EVI BGP configuration was
introduced.
Release 4.3.2
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
The default value is auto-generated based on VPN-ID.
None is used in the EVPN EVI BGP configuration mode to remove the auto-generated route targets. It can
only be applied after all other route targets of that type (import or export) have been removed.
The Import and Export keywords in the EVPN EVI BGP configuration are optional. If neither is used, both
are supported by default.
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to configure a bridge domain:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# l2vpn
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group EGroup
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-domain eastdomain
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd)# vfi eastvfi
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi)# autodiscovery bgp
RP/0/RSP0/CPU0:router(config-l2vpn-bg-bd-vfi-ad)#route-target 100:20
The following example shows how to set the BGP route target for the PBB EVPN or EVPN bridge domain:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# evpn
RP/0/RSP0/CPU0:router(config-evpn)# evi 2
RP/0/RSP0/CPU0:router(config-evpn-evi)# bgp
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)# route-target 20:30
RP/0/RSP0/CPU0:router(config-evpn-evi-bgp)#
Related Commands
DescriptionCommand
Establishes a bridge domain, and enters L2VPN bridge group bridge
domain configuration mode.
bridge-domain (VPLS), on page 240
Creates a bridge group so that it can contain bridge domains and
then to assign network interfaces to the bridge domain.
bridge group (VPLS), on page 242
Enters L2VPN configuration mode.l2vpn, on page 100
Enters EVPN configuration mode.evpn, on page 400
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
309
Multipoint Layer 2 Services Commands
route-target