route-target
To specify a route target for the VFI, PBB EVPN or EVPN bridge domain, use the route-target command
in the BGP autodiscovery mode or in the EVPN EVI BGP configuration mode. To return to the default value,
use the no form of this command.
route-target {as-number:nn | ip-address:nn | [export | import ]| none}
no route-target {as-number:nn | ip-address:nn | [export | import ]| none}
Syntax Description
Autonomous system (AS) number of the route distinguisher.
• as-number—16-bit AS number
Range for 2-byte numbers is 1 to 65535. Range for 4-byte numbers is 1.0
to 65535.65535.
In the EVPN EVI BGP configuration, range for the 4-byte AS number is
65536-4294967295.
• nn—32-bit number
as-number:nn
IP address of the route distinguisher.
• ip-address—32-bit IP address
• nn—16-bit number
ip-address:nn
Specifies export route target.export
Specifies import route target.import
Withholds BGP RTs.
This keyword appears only in the EVPN EVI BGP
configuration.
Note
none
Command Default
None.
Command Modes
BGP autodiscovery configuration
EVPN EVI BGP configuration
Command History
ModificationRelease
This command was introduced.Release 4.0.0
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
308
Multipoint Layer 2 Services Commands
route-target