Command Syntax
match ipv6 address
prefix-list-name
match ip next-hop
{access-list-name | prefix-list
prefix-list-name}
match ipv6 next-hop
{access-list-name | prefix-list
prefix-list-name}
match ip route-source
{access-list-name | prefix-list
prefix-list-name}
match ipv6 route-source
{access-list-name | prefix-list
prefix-list-name}
match metric metric-value
match origin { egp | igp |
incomplete }
match route-type { external
[ type-1 | type-2 ] | internal | level-1
| level-2 | local }
match tag tag-value
To configure a set condition, use any or all of the following commands in the ROUTE-MAP mode:
Command Syntax
set as-path prepend as-number [...
as-number]
set automatic-tag
set level { backbone | level-1 | level-1-2
| level-2 | stub-area }
set local-preference value
set metric {+ | - | metric-value}
set metric-type {external | internal |
type-1 | type-2 }
set next-hop ip-address
set ipv6 next-hop ip-address
|
Access Control Lists (ACLs)
120
Command Mode
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
Command Mode
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
CONFIG-ROUTE-MAP
Purpose
Match destination routes specified in a prefix list
(IPv6).
Match next-hop routes specified in a prefix list
(IPv4).
Match next-hop routes specified in a prefix list
(IPv6).
Match source routes specified in a prefix list
(IPv4).
Match source routes specified in a prefix list
(IPv6).
Match routes with a specific value.
Match BGP routes based on the ORIGIN attribute.
Match routes specified as internal or external to
OSPF, ISIS level-1, ISIS level-2, or locally
generated.
Match routes with a specific tag.
Purpose
Add an AS-PATH number to the beginning of
the AS-PATH
Generate a tag to be added to redistributed
routes.
Specify an OSPF area or ISIS level for
redistributed routes.
Specify a value for the BGP route's
LOCAL_PREF attribute.
Specify a value for redistributed routes.
Specify an OSPF or ISIS type for redistributed
routes.
Assign an IP address as the route's next hop.
Assign an IPv6 address as the route's next hop.