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 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).
ASN:NNNN Enter the 2-octet AS specific extended community number
in the format ASN:NNNN (2-byte AS number:4-byte
community value).
IPADDR:NN Enter the IP address specific extended community in the
format IPADDR:NN (4-byte IPv4 Unicast Address:2-byte
community value).
additive (OPTIONAL) Enter the keyword additive to add to the
existing extended community.
non-trans (OPTIONAL) Enter the keywords non-trans to indicate a
non-transitive BGP extended community.
Defaults none
Command
Modes
ROUTE MAP (config-route-map)
Command
History
Version 9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
If the set community rt and soo are in the same route-map entry, the behavior
defines as:
• 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.
Related
Commands
set extcommunity soo — sets the extended community site-of-origin in the route-
map.
Border Gateway Protocol IPv4 (BGPv4)
395