Reference Guide

Access Control Lists (ACLs) | 129
To configure a set condition, use any or all of the following commands in the ROUTE-MAP mode:
Use these commands to create route map instances. There is no limit to the number of set and match
commands per route map, but the convention is to keep the number of match and set filters in a route map
low.
Set commands do not require a corresponding match command.
Configure a route map for route redistribution
Route maps on their own cannot affect traffic and must be included in different commands to affect routing
traffic. To apply a route map to traffic on the E-Series, you must call or include that route map in a
command such as the
redistribute or default-information originate commands in OSPF, ISIS, and BGP.
match route-type {external
[type-1 | type-2] | internal | level-1
| level-2
| local }
CONFIG-ROUTE-MAP Match routes specified as internal or external to
OSPF, ISIS level-1, ISIS level-2, or locally
generated.
match tag tag-value CONFIG-ROUTE-MAP Match routes with a specific tag.
Command Syntax Command Mode Purpose
set as-path prepend as-number [...
as-number]
CONFIG-ROUTE-MAP Add an AS-PATH number to the beginning of
the AS-PATH
set automatic-tag
CONFIG-ROUTE-MAP Generate a tag to be added to redistributed
routes.
set level {backbone | level-1 | level-1-2 |
level-2 | stub-area}
CONFIG-ROUTE-MAP Specify an OSPF area or ISIS level for
redistributed routes.
set local-preference value CONFIG-ROUTE-MAP Specify a value for the BGP route’s
LOCAL_PREF attribute.
set metric {+ | - | metric-value} CONFIG-ROUTE-MAP Specify a value for redistributed routes.
set metric-type {external | internal |
type-1 | type-2}
CONFIG-ROUTE-MAP Specify an OSPF or ISIS type for redistributed
routes.
set next-hop ip-address CONFIG-ROUTE-MAP Assign an IP address as the route’s next hop.
set ipv6 next-hop ip-address CONFIG-ROUTE-MAP Assign an IPv6 address as the route’s next hop.
set origin {egp | igp | incomplete} CONFIG-ROUTE-MAP Assign an ORIGIN attribute.
set tag tag-value CONFIG-ROUTE-MAP Specify a tag for the redistributed routes.
set weight value CONFIG-ROUTE-MAP Specify a value as the route’s weight.
Command Syntax Command Mode Purpose