Users Guide
BGP Extended Communities (RFC 4360)
BGP Extended Communities, as dened in RFC 4360, is an optional transitive BGP attribute.
BGP Extended Communities provides two major advantages over Standard Communities:
• The range is extended from 4-octet (AA:NN) to 8-octet (Type:Value) to provide enough number communities.
• Communities are structured using a new “Type” eld (1 or 2-octets), allowing you to provide granular control/lter routing information
based on the type of extended communities.
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 specic extended community number in the
format ASN4:NN (4-byte AS number:2-byte community value).
ASN:NNNN Enter the 2-octet AS specic extended community number in the format ASN:NNNN (2-
byte AS number:4-byte community value).
IPADDR:NN Enter the IP address specic 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 (cong-route-map)
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
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 denes 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) 369