Setup Guide
Congure Route Map Filters
Within ROUTE-MAP mode, there are match and set commands.
• match commands search for a certain criterion in the routes.
• set commands change the characteristics of routes, either adding something or specifying a level.
When there are multiple match commands with the same parameter under one instance of route-map, Dell EMC Networking OS does a
match between all of those match commands. If there are multiple match commands with dierent parameters, Dell EMC Networking OS
does a match ONLY if there is a match among ALL the match commands. In the following example, there is a match if a route has any of
the tag values specied in the match commands.
Example of the match Command to Match Any of Several Values
The following example shows using the match command to match any of several values.
DellEMC(conf)#route-map force permit 10
DellEMC(config-route-map)#match tag 1000
DellEMC(config-route-map)#match tag 2000
DellEMC(config-route-map)#match tag 3000
Example of the match Command to Match All Specied Values
In the next example, there is a match only if a route has both of the specied characteristics. In this example, there a match only if the
route has a tag value of 1000 and a metric value of 2000.
Also, if there are dierent instances of the same route-map, then it’s sucient if a permit match happens in any instance of that route-
map.
DellEMC(conf)#route-map force permit 10
DellEMC(config-route-map)#match tag 1000
DellEMC(config-route-map)#match metric 2000
In the following example, instance 10 permits the route having a tag value of 1000 and instances 20 and 30 deny the route having a tag
value of 1000. In this scenario, Dell EMC Networking OS scans all the instances of the route-map for any permit statement. If there is a
match anywhere, the route is permitted. However, other instances of the route-map deny it.
Example of the match Command to Permit and Deny Routes
DellEMC(conf)#route-map force permit 10
DellEMC(config-route-map)#match tag 1000
DellEMC(conf)#route-map force deny 20
DellEMC(config-route-map)#match tag 1000
DellEMC(conf)#route-map force deny 30
DellEMC(config-route-map)#match tag 1000
Conguring Match Routes
To congure match criterion for a route map, use the following commands.
• Match routes with the same AS-PATH numbers.
CONFIG-ROUTE-MAP mode
match as-path as-path-name
• Match routes with COMMUNITY list attributes in their path.
CONFIG-ROUTE-MAP mode
match community community-list-name [exact]
118
Access Control Lists (ACLs)