Reference Guide

Access Control Lists (ACLs) | 115
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. As an example:
In the above route-map, instance 10 permits the route having a tag value of 1000 and instances 20 & 30
denies the route having a tag value of 1000. In the above scenario, FTOS scans all the instances of the
route-map for any permit statement. If there is a match anywhere, the route is permitted, though other
instances of the route-map denies it.
To configure match criterion for a route map, use any or all of the following commands in the
ROUTE-MAP mode:
Command Syntax Command Mode Purpose
match as-path as-path-name CONFIG-ROUTE-MAP Match routes with the same AS-PATH numbers.
match community
community-list-name [exact]
CONFIG-ROUTE-MAP Match routes with COMMUNITY list attributes in
their path.
match interface interface CONFIG-ROUTE-MAP Match routes whose next hop is a specific
interface. The parameters are:
For a Fast Ethernet interface, enter the
keyword FastEthernet followed by the slot/
port information.
For a 1-Gigabit Ethernet interface, enter the
keyword gigabitEthernet followed by the
slot/port information.
For a loopback interface, enter the keyword
loopback followed by a number between
zero (0) and 16383.
For a port channel interface, enter the keyword
port-channel followed by a number from 1
to 255 for TeraScale and ExaScale.
For a SONET interface, enter the keyword
sonet followed by the slot/port information.
For a 10-Gigabit Ethernet interface, enter the
keyword tengigabitEthernet followed by
the slot/port information.
For a VLAN, enter the keyword vlan followed
by a number from 1 to 4094.
For a 40-Gigabit Ethernet interface, enter the
keyword
fortyGigE followed by the slot/port
information.
match ip address prefix-list-name CONFIG-ROUTE-MAP Match destination routes specified in a prefix list
(IPv4).
FTOS(conf)#route-map force permit 10
FTOS(config-route-map)#match tag 1000
FTOS(conf)#route-map force deny 20
FTOS(config-route-map)#match tag 1000
FTOS(conf)#route-map force deny 30
FTOS(config-route-map)#match tag 1000