Concept Guide

Match routes whose next hop is a specic interface.
CONFIG-ROUTE-MAP mode
match interface interface
The parameters are:
For a 1-GigabitEthernet interface, enter the keyword GigabitEthernet then the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet 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.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
Match destination routes specied in a prex list (IPv4).
CONFIG-ROUTE-MAP mode
match ip address prefix-list-name
Match destination routes specied in a prex list (IPv6).
CONFIG-ROUTE-MAP mode
match ipv6 address prefix-list-name
Match next-hop routes specied in a prex list (IPv4).
CONFIG-ROUTE-MAP mode
match ip next-hop {access-list-name | prefix-list prefix-list-name}
Match next-hop routes specied in a prex list (IPv6).
CONFIG-ROUTE-MAP mode
match ipv6 next-hop {access-list-name | prefix-list prefix-list-name}
Match source routes specied in a prex list (IPv4).
CONFIG-ROUTE-MAP mode
match ip route-source {access-list-name | prefix-list prefix-list-name}
Match source routes specied in a prex list (IPv6).
CONFIG-ROUTE-MAP mode
match ipv6 route-source {access-list-name | prefix-list prefix-list-name}
Match routes with a specic value.
CONFIG-ROUTE-MAP mode
match metric metric-value
Match BGP routes based on the ORIGIN attribute.
CONFIG-ROUTE-MAP mode
match origin {egp | igp | incomplete}
Match routes specied as internal or external to OSPF, ISIS level-1, ISIS level-2, or locally generated.
CONFIG-ROUTE-MAP mode
match route-type {external [type-1 | type-2] | internal | level-1 | level-2 | local }
Match routes with a specic tag.
CONFIG-ROUTE-MAP mode
match tag tag-value
Access Control Lists (ACLs)
113