set routing route-map match extcommunity
The set routing route-map match extcommunity command matches the extended community number attribute of the route with one, or more regular expressions in the community-list.
The delete routing route-map match extcommunity command restores the default behavior of not matching the extended community number attribute of the route.
Command Syntax
set routing route-map <route-map-name> order <NUMBER> match extcommunity <extcommunity-list>
delete routing route-map <route-map-name> order <NUMBER> match extcommunity <extcommunity-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. |
extcommunity <extcommunity-list> | Specifies the name of the extended community-list to match the community number attribute of the route. |
Example
- Configure a match clause in the route map to match the extended community list:
admin@Xorplus# set routing extcommunity-list standard EXTcom1 permit 20 admin@Xorplus# set routing route-map GlobalMap order 10 match extcommunity EXTcom1 admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.