Cisco Cisco Packet Data Interworking Function (PDIF)
Route-map Configuration Mode Commands
set extcommunity rt ▀
Command Line Interface Reference, StarOS Release 16 ▄
8097
set extcommunity rt
Sets the BGP external community destination for the routes matching the route-map. The external community is the
Route Target (RT).
Route Target (RT).
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > Route-map Configuration
configure > context context_name > route-map map_name { deny | permit }
seq_number
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-route-map)#
Syntax
set extcommunity rt rt_number rt_number rt_number ...
no set extcommunity rtrt_number
no
Unsets the specified BGP external community (Route Target).
rt_number
Specifies a Route Target as a string in AS:NN format, where AS = 2-byte AS-community hexadecimal
number and NN = 2-byte hexadecimal number (1 to 11 characters). You can enter multiple route targets
separated by spaces.
number and NN = 2-byte hexadecimal number (1 to 11 characters). You can enter multiple route targets
separated by spaces.
Usage
Sets the BGP external community destinations (route targets) for the routes matching the route-map.
The external community list must have been previously configured via the Context Configuration mode ip
extcommunity-list command.
The external community list must have been previously configured via the Context Configuration mode ip
extcommunity-list command.
Example
The following command sets the BGP route target to AS 212:34:
set extcommunity rt 212:34