set extcommunity rt
To set Route Origin community attributes in Route Map, use this feature.
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 ASN4:NN
ASN:NNNN
IPADDR:NN
additive
non-trans
Defaults
none
Command
ROUTE MAP (config-route-map)
Modes
Command
Version 9.2(0.0)
History
Usage
If the set community rt and soo are in the same route-map entry, the behavior
Information
defines as:
•
•
•
Related
set extcommunity soo
Commands
map.
Border Gateway Protocol IPv4 (BGPv4)
Enter the keyword as4 then 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 MXL 10/40GbE Switch IO Module.
If the rt option comes before soo, with or without the additive option, soo
overrides the communities rt sets.
If the rt option comes after soo, without the additive option, rt overrides
the communities soo sets.
If the rt with the additive option comes after soo, rt adds the communities
soo sets.
— sets the extended community site-of-origin in the route-
395