Match Community - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

Route Map Commands

match community

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 community-list command.
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 parameter to remove the community match clause from a route map.
Syntax
match community {<community-listname>|<1-99>|<100-199>}[exact-match]
no match community[<community-listname>|<1-99>|<100-199>|exact-match]
Parameter
<community-listname>
<1-99>
<100-199>
exact-match
Route-map mode
Mode
This command is valid for BGP update messages only.
Usage
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.
To add entry 3 to the route map called "myroute", which will process update messages if they
Examples
contain the community values that are included in "mylist", use the commands:
awplus(config-route-map)#
ip community-list
Related Commands
route-map
set comm-list delete
set community
show route-map
39.4
awplus#
awplus(config)#
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
Description
The community list name or number.
Community list number (standard range)
Community list number (expanded range)
Exact matching of communities
configure terminal
route-map myroute permit 3
match community mylist
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents