set routing route-map match community-with-exact-match


The set routing route-map match community-with-exact-match command matches the community number attribute must match exactly with the expressions in the community-list. However, the order of the communities in the community-list is of no significance.
The delete routing route-map match community-with-exact-match 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 <NUMBERmatch community-with-exact-match <community-list>

delete routing route-map <route-map-name> order <NUMBER> match community-with-exact-match <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-with-exact-match <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-with-exact-match COMMUNITY1
admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.