Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »


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> <NUMBERmatch extcommunity <extcommunity-list>

delete routing route-map <route-map-name> <NUMBER> match extcommunity <extcommunity-list>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

<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 10 match extcommunity EXTcom1
admin@Xorplus# set routing route-map GlobalMap 10 action permit
admin@Xorplus# commit
  • No labels