set routing route-map match community
The set routing route-map match community command matches the community number attribute of the route with one, or more regular expressions in the community-list.
The delete routing route-map match community command restores the default behavior of not matching the community number attribute of the route.
Command Syntax
set routing route-map <route-map-name> order <NUMBER> match community <community-list>
delete routing route-map <route-map-name> order <NUMBER> match community <community-list>
Parameter
Parameter | Description |
route-map <route-map-name> | Specifies the name of the route map. Required. |
order <NUMBER> | Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535. |
community <community-list> | Specifies the name of the community-list to match the community number attribute of the route. |
Example
- Configure a match clause in the route map to match the community list:
admin@Xorplus# set routing community-list standard COMMUNITY1 permit community 100:100 admin@Xorplus# set routing route-map GlobalMap order 10 match community COMMUNITY1 admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.