Example of the match Command to Match Any of Several ValuesThe following example shows using the match command to match any of several values.Dell(conf)#route-map force permit 10Dell(config-route-map)#match tag 1000Dell(config-route-map)#match tag 2000Dell(config-route-map)#match tag 3000Example of the match Command to Match All Specified ValuesIn the next example, there is a match only if a route has both of the specified characteristics. In this example, there a match only if theroute has a tag value of 1000 and a metric value of 2000.Also, if there are different instances of the same route-map, then it’s sufficient if a permit match happens in any instance of that route-map.Dell(conf)#route-map force permit 10Dell(config-route-map)#match tag 1000Dell(config-route-map)#match metric 2000In the following example, instance 10 permits the route having a tag value of 1000 and instances 20 and 30 deny the route having a tagvalue of 1000. In this scenario, Dell Networking OS scans all the instances of the route-map for any permit statement. If there is a matchanywhere, the route is permitted. However, other instances of the route-map deny it.Example of the match Command to Permit and Deny RoutesDell(conf)#route-map force permit 10Dell(config-route-map)#match tag 1000Dell(conf)#route-map force deny 20Dell(config-route-map)#match tag 1000Dell(conf)#route-map force deny 30Dell(config-route-map)#match tag 1000Configuring Match RoutesTo configure match criterion for a route map, use the following commands.• Match routes with the same AS-PATH numbers.CONFIG-ROUTE-MAP modematch as-path as-path-name• Match routes with COMMUNITY list attributes in their path.CONFIG-ROUTE-MAP modematch community community-list-name [exact]• Match routes whose next hop is a specific interface.CONFIG-ROUTE-MAP modematch interface interfaceThe parameters are:• For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/subport] information.• For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port information.• For a Loopback interface, enter the keyword loopback then a number from 0 to 16383.• For a port channel interface, enter the keywords port-channel then a number.116 Access Control Lists (ACLs)