BGP and BGP4+ Commands
match community (Route Map)
Use this command to add a community match clause to a route map entry. Specify the community value or values to match by specifying a community list. To create the community list, enter Global Configuration mode and use the ip
A BGP update message matches the route map if its attributes include community values that match the community list.
Each entry of a route map can only match against one community list in one community match clause. If the route map entry already has a community match clause, entering this command replaces that match clause with the new clause.
Note that community lists and route map entries both specify an action of deny or permit. The action in the community list determines whether the route map checks update messages for a given community value. The route map action and its set clauses determine what the route map does with update messages that contain that community value.
Use the no variant of this command to remove the community match clause from a route map.
Syntax match community
no match community
Parameter | Description |
| The community list name or number. |
|
|
Community list number (standard range). | |
|
|
| Community list number (expanded range). |
|
|
| Exact matching of communities. |
|
|
Mode
Usage This command is valid for BGP update messages only.
Communities are used to group and filter routes. They are designed to provide the ability to apply policies to large numbers of routes by using match and set commands. Community lists are used to identify and filter routes by their common attributes.
Example To add entry 3 to the route map called myroute, which will process update messages if they contain the community values that are included in mylist, use the commands:
awplus# configure terminal
awplus(config)#
Related Commands
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
AlliedWare PlusTM Operating System - Software Version | 3.81 |