Configuring IP Routing Protocol-Independent Features

Redistributing Routing Information

Command

 

Purpose

 

 

Router(config-route-map)# match ip address

Matches a standard access list.

{access-list-number

access-list-name}

 

[...access-list-number ...access-list-name]

 

 

 

Router(config-route-map)# match metric metric-value

Matches the specified metric.

 

 

Router(config-route-map)# match ip next-hop

Matches a next-hop router address passed by one of the

{access-list-number

access-list-name}

access lists specified.

[access-list-number

access-list-name]

 

 

 

Router(config-route-map)# match tag tag-value[tag-value]

Matches the specified tag value.

 

 

Router(config-route-map)# match interface interface-type

Matches the specified next hop route out one of the

interface-number [interface-type interface-number]

interfaces specified.

 

 

Router(config-route-map)# match ip route-source

Matches the address specified by the specified

{access-list-number

access-list-name}

advertised access lists.

[access-list-number

access-list-name]

 

 

 

Router(config-route-map)# match route-type{local

Matches the specified route type.

internal external

[type-1 type-2] level-1 level-2}

 

 

 

 

One or more match commands and one or more set commands should follow a configuration command. To define conditions for redistributing routes from one another, use at least one of the following commands in route-map configuration

route-map router routing protocol into mode as needed:

Command

Purpose

 

 

Router(config-route-map)# set community {community-number

Sets the communities attribute.

[additive]} none

 

 

 

Router(config-route-map)# set dampening halflife reuse

Sets BGP route dampening factors.

suppress max-suppress-time

 

 

 

Router(config-route-map)# set local-preference

Assigns a value to a local BGP path.

number-value

 

 

 

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

Sets the BGP origin code.

incomplete}

 

 

 

Router(config-route-map)# set as-path{tag prepend

Modifies the BGP autonomous system path.

as-path-string}

 

 

 

Router(config-route-map)# set next-hopnext-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

Specifies the areas in which to import routes.

level-1-2 stub-area backbone}

 

 

 

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

Sets the metric value to give the redistributed routes

reliability loading mtu

(for IGRP or EIGRP only).

 

 

Router(config-route-map)# set metric-type{internal

Sets the metric type to give redistributed routes.

external type-1 type-2}

 

 

 

Cisco IOS IP Configuration Guide

IPC-368

Page 414
Image 414
Cisco Systems 78-11741-02 manual IPC-368