Specifications
Configuring IP Routing Protocol-Independent Features
Redistributing Routing Information
IPC-368
Cisco IOS IP Configuration Guide
One or more match commands and one or more set commands should follow a route-map router
configuration command. To define conditions for redistributing routes from one routing protocol into
another, use at least one of the following commands in route-map configuration mode as needed:
Router(config-route-map)# match ip address
{access-list-number | access-list-name}
[...access-list-number | ...access-list-name]
Matches a standard access list.
Router(config-route-map)# match metric metric-value
Matches the specified metric.
Router(config-route-map)# match ip next-hop
{access-list-number | access-list-name}
[access-list-number | access-list-name]
Matches a next-hop router address passed by one of the
access lists specified.
Router(config-route-map)# match tag tag-value [tag-value]
Matches the specified tag value.
Router(config-route-map)# match interface interface-type
interface-number [interface-type interface-number]
Matches the specified next hop route out one of the
interfaces specified.
Router(config-route-map)# match ip route-source
{access-list-number | access-list-name}
[access-list-number | access-list-name]
Matches the address specified by the specified
advertised access lists.
Router(config-route-map)# match route-type {local |
internal | external [type-1 | type-2] | level-1 | level-2}
Matches the specified route type.
Command Purpose
Command Purpose
Router(config-route-map)# set community {community-number
[additive]} | none
Sets the communities attribute.
Router(config-route-map)# set dampening halflife reuse
suppress max-suppress-time
Sets BGP route dampening factors.
Router(config-route-map)# set local-preference
number-value
Assigns a value to a local BGP path.
Router(config-route-map)# set weight weight
Specifies the BGP weight for the routing table.
Router(config-route-map)# set origin {igp | egp as-number
| incomplete}
Sets the BGP origin code.
Router(config-route-map)# set as-path {tag | prepend
as-path-string}
Modifies the BGP autonomous system path.
Router(config-route-map)# set next-hop next-hop
Specifies the address of the next hop.
Router(config-route-map)# set automatic-tag
Enables automatic computing of the tag table.
Router(config-route-map)# set level {level-1 | level-2 |
level-1-2 | stub-area | backbone}
Specifies the areas in which to import routes.
Router(config-route-map)# set metric metric-value
Sets the metric value to give the redistributed routes
(for any protocol except IGRP or Enhanced IGRP
[EIGRP]).
Router(config-route-map)# set metric bandwidth delay
reliability loading mtu
Sets the metric value to give the redistributed routes
(for IGRP or EIGRP only).
Router(config-route-map)# set metric-type {internal |
external | type-1 | type-2}
Sets the metric type to give redistributed routes.