Users Guide

Layer 3 Routing Commands 1344
Example
The following example shows how to set the extended community attribute
for route target with route-maps.
(R1)(Config)# ip extcommunity-list 10 permit rt 1:1
(R1)(config)# route-map SEND_OUT permit 10
(R1)(config-route-map)# match extcommunity 13
(R1)(config-route-map)# set extcommunity rt 10:10 additive
(R1)(config-route-map)# exit
set extcommunity soo
Use the set extcommunity soo command to set BGP extended community
attributes for the site of origin. Use the no form of the command to remove
the extended community attributes for the site of origin.
NOTE: This command is effective only if BGP is running on the router.
Syntax
set extcommunity soo value [additive]
no set extcommunity soo
value — Specifies the site of origin extended community value. This value
can be entered in one of the following formats:
16-bit AS number: a 32-bit value (Ex: 64496:11)
32-bit IPv4 address: a16-bit value (Ex: 10.1.1.1:22)
32-bit AS number: a 32-bit value (Ex: 65537:60110)
additive–Adds a route target to the existing route target list without
replacing any existing route targets.
Default Configuration
No site of origin extended community attributes are set.
Command Mode
Route Map Configuration mode