ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Policy-based Routing for BGP
– 1903
community-list-name – Name of standard or expanded community
list. (Maximum length: 32 characters, no spaces or other special
characters)
exact-match – Must exactly match the specified community list.
All and only those communities specified must be present.
COMMAND MODE
Route Map
COMMAND USAGE
This command matches the community attributes of the BGP routing
message following the rules specified with the ip community-list command.
EXAMPLE
Console(config)#route-map RD permit 2
Console(config-route-map)#match community 60
Console(config-route-map)#set weight 30
Console(config-route-map)#
match
extcommunity
This command sets a BGP extended community access list to match. Use
the no form to remove this entry from a route map.
SYNTAX
match extcommunity {1-99 | 100-500} [exact-match]
no match extcommunity
1-99 – Standard community list number that identifies one or more
groups of communities.
100-500 – Expanded community list number that identifies one or
more groups of communities.
COMMAND MODE
Route Map
COMMAND USAGE
This command matches the extended community attributes of the BGP
routing message following the rules specified with the ip extcommunity-list
command.
EXAMPLE
Console(config)#route-map RD permit 3
Console(config-route-map)#match extcommunity 160
Console(config-route-map)#set weight 30
Console(config-route-map)#