set extcommunity rt
Use this feature to set Route Origin community attributes in Route Map.
C-Series, E-Series, S-Series, Z-Series
Syntax
set extcommunity rt {as4 ASN4:NN [non-trans] | ASN:NNNN [non-
trans] | IPADDR:NN [non-trans]} [additive]
To delete the Route Origin community, use the no set extcommunity command.
Parameters
as4
ASN:NNNN
IPADDR:NN
additive
non-trans
Defaults
none
Command Modes
ROUTE MAP (config-route-map)
Command History
Version 7.8.1.0
Version 7.7.1.0
Version 7.6.1.0
Usage
If the set community rt and soo are in the same route-map entry, the behavior defines as:
Information
Related
set extcommunity soo
Commands
ASN4:NN
Enter the keyword as4 followed by the 4-octet AS specific extended
community number in the format ASN4:NN (4-byte AS number:2-byte
community value).
Enter the 2-octet AS specific extended community number in the
format ASN:NNNN (2-byte AS number:4-byte community value).
Enter the IP address specific extended community in the format
IPADDR:NN (4-byte IPv4 Unicast Address:2-byte community value).
(OPTIONAL) Enter the keyword additive to add to the existing
extended community.
(OPTIONAL) Enter the keywords non-trans to indicate a non-
transitive BGP extended community.
Introduced on the S-Series.
Introduced on the C-Series.
Introduced on the E-Series.
•
If the rt option comes before soo, with or without the additive option, soo
overrides the communities set by rt.
•
If the rt option comes after soo, without the additive option, rt overrides the
communities set by soo.
•
If the rt with the additive option comes after soo, rt adds the communities set
by soo.
– sets the extended community site-of-origin in the route-map.
449