Cisco Systems 3750E manual 38-81

Models: 3750E

1 1236
Download 1236 pages 40.08 Kb
Page 941
Image 941

Chapter 38 Configuring IP Unicast Routing

Configuring Protocol-Independent Features

Note Although each of Steps 3 through 14 in the following section is optional, you must enter at least one match route-map configuration command and one set route-map configuration command.

Beginning in privileged EXEC mode, follow these steps to configure a route map for redistribution:

 

 

Command

Purpose

 

Step 1

 

 

 

configure terminal

Enter global configuration mode.

 

Step 2

 

 

 

route-map map-tag[permit deny] [sequence number]

Define any route maps used to control redistribution and

 

 

 

enter route-map configuration mode.

 

 

 

map-tag—A meaningful name for the route map. The

 

 

 

redistribute router configuration command uses this

 

 

 

name to reference this route map. Multiple route maps

 

 

 

might share the same map tag name.

 

 

 

(Optional) If permit is specified and the match criteria

 

 

 

are met for this route map, the route is redistributed as

 

 

 

controlled by the set actions. If deny is specified, the

 

 

 

route is not redistributed.

 

 

 

sequence number (Optional)— Number that indicates the

 

 

 

position a new route map is to have in the list of route

 

 

 

maps already configured with the same name.

 

Step 3

 

 

 

match as-pathpath-list-number

Match a BGP AS path access list.

 

Step 4

 

 

 

match community-list community-list-number[exact]

Match a BGP community list.

 

Step 5

 

 

 

match ip address {access-list-number

Match a standard access list by specifying the name or

 

 

access-list-name}[...access-list-number

number. It can be an integer from 1 to 199.

 

 

...access-list-name]

 

 

 

 

 

Step 6

 

 

 

match metric metric-value

Match the specified route metric. The metric-value can be

 

 

 

an EIGRP metric with a specified value from 0

 

 

 

to 4294967295.

 

Step 7

 

 

 

match ip next-hop{access-list-number

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

 

 

access-list-name}[...access-list-number

access lists specified (numbered from 1 to 199).

 

 

...access-list-name]

 

 

 

 

 

Step 8

 

 

 

match tag tag value [...tag-value]

Match the specified tag value in a list of one or more route

 

 

 

tag values. Each can be an integer from 0 to 4294967295.

 

Step 9

 

 

 

match interface type number [...type number]

Match the specified next hop route out one of the

 

 

 

specified interfaces.

 

Step 10

 

 

 

match ip route-source {access-list-number

Match the address specified by the specified advertised

 

 

access-list-name}[...access-list-number

access lists.

 

 

...access-list-name]

 

 

 

 

 

Step 11

 

 

 

match route-type {local internal external [type-1

Match the specified route-type:

 

 

type-2]}

local—Locally generated BGP routes.

 

 

 

 

 

 

internal—OSPF intra-area and interarea routes or

 

 

 

EIGRP internal routes.

 

 

 

external—OSPF external routes (Type 1 or Type 2)

 

 

 

or EIGRP external routes.

 

 

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

OL-9775-02

 

 

38-81

 

 

 

 

 

Page 941
Image 941
Cisco Systems 3750E manual 38-81