Setting a BGP Extended Community Attribute

You can use the set extcommunity command to set the extended community attributes in a route map for BGP updates.

You can use the rt keyword to specify a route target community, which consists of one or more routers that can receive a set of routes advertised by BGP that carry the extended community attribute.

You can use the soo keyword to specify a site-of-origin community, which consists of one or more routers that inject into BGP a set of routes that carry the extended community attribute.

You can specify both a route target community and a site-of-origin community at the same time in a set clause without them overwriting each other.

To set the extended community attributes:

host1(config-route-map)#set extcommunity rt 10.10.10.2:325

Use the no version to remove the set clause from the route map.

Related Documentation