Route Map Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
32.23
set extcommunity
Use this command to add an extended community set clause to a route map entry. A route
map entry can have a route target extended community set clause, a site-of-origin extended
community set clause, or both.
When a BGP update message matches the route map entry, the device sets the update’s
extended community attribute to the specified value or values.
Use the
no
parameter to remove the set clause.
Syntax
set extcommunity
{
rt
|
soo
}
EXTCOMMNUMBER
no set extcommunity
{
rt
|
soo
}
EXTCOMMNUMBER
no set extcommunity
{
rt
|
soo
}
Mode
Route-map mode
Usage
This command is valid for BGP update messages only.
Examples
To use entry 3 of the route map called “rmap1” to set the route target extended community
attribute to 06:01, use the commands:
awplus(config)#route-map rmap1 permit 3
awplus(config-route-map)#set extcommunity rt 06:01
To instead specify the extended community number in dotted decimal notation, use the
command:
awplus(config-route-map)#set extcommunity rt 0.0.0.6:01
To use entry 3 of the route map called “rmap1” to set the site-of-origin extended community
attribute to 06:01, use the commands:
awplus(config)#route-map rmap1 permit 3
awplus(config-route-map)#set extcommunity soo 06:01
To instead specify the extended community number in dotted decimal notation, use the
command:
awplus(config-route-map)#set extcommunity soo 0.0.0.6:01
Related Commands
match community
route-map
set comm-list delete
set community
show route-map
Parameter
Description
rt
Configure a route target extended community.
This consists of routers that will receive
matching routes.
soo
Configure a site-of-origin extended
community. This consists of routers that will
inject matching routes into BGP.
EXTCOMMNUMBER
The extended community number, in the format
AA:NN or IPADD:N