Home > Articles > Cisco Network Technology > TCP/IP & Related Protocols > The Basic Uses of TCP/IP Route Maps

The Basic Uses of TCP/IP Route Maps

Chapter Description

Route maps are similar to access lists; they both have criteria for matching the details of certain packets and an action of permitting or denying those packets. This chapter explains the basics of Route Maps. Included are sample exercises to help you practice administration and use of Route Maps.

From the Book

Routing TCP/IP, Volume 1

Routing TCP/IP, Volume 1, 2nd Edition

$72.00 (Save 20%)

Summary Table: Chapter 14 Command Review

Command

Description

access-list access-list-number {deny | permit} source [source-wildcard]

Defines a line of a standard IP access list

access-list access-list-number {deny | permit} protocol source source-wildcard destination destination-wildcard [precedence precedence] [tos tos] [log]

Defines a line of an extended IP access list

ip local policy route-map map-tag

Defines a policy route for packets originated by the router itself

ip policy route-map map-tag

Defines a policy route for packets transiting the router

match interface type number [...type number]

Matches routes that have their next hop out one of the interfaces specified

match ip address{access-list-number| name} [...access-list-number| name]

Matches routes that have a destination address specified by one of the access lists

match ip next-hop{access-list-number| name} [...access-list-number| name]

Matches routes that have a next-hop router address specified by one of the access lists

match ip route-source{access-list-number| name} [...access-list-number| name]

Matches routes that have been advertised by routers at the addresses specified in the access lists

match ipv6 address prefix-list{name}

Matches routes that have a destination address specified by the prefix-list

match ipv6 next-hop prefix-list{name}

Matches routes that have a next-hop router address specified by the prefix-lists

match ipv6 route-source prefix-list{name}

Matches routes that have been advertised by routers at the addresses specified in the prefix-list

match length min max

Matches the level 3 length of a packet

match metric metric-value

Matches routes with the specified metric

match route-type{internal| external[type-1| type-2] | level-1| level-2}

Matches OSPF, EIGRP, or IS-IS routes of the specified type

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

Matches routes with the specified tags

ipv6 prefix-list list-name [seq seq-number] {deny ipv6-prefix / prefix-length | permit ipv6-prefix / prefix-length | description text} [ge ge-value] [le le-value]

Defines an IPv6 prefix list

redistribute protocol[process-id] {level-1| level-1-2| level-2} [metric metric-value] [metric-type type-value] [match{internal| external 1| external 2}] [tag tag-value] [route-map map-tag] [weight weight] [subnets]

Configures redistribution into a routing protocol and specifies the source of the redistributed routes

set level{level-1| level-2| level-1-2| stub-area | backbone}

Sets the IS-IS level or the OSPF area into which a matched route is to be redistributed

set default interface type number [...type number]

Sets the outgoing interface for matched packets when there is no explicit route to the destination

set interface type number [...type number]

Sets the outgoing interface for matched packets when there is an explicit route to the destination

set ip default next-hop ip-address [...ip-address]

Sets the next-hop router address for matched packets when there is no explicit route to the destination

set ip next-hop ip-address [...ip-address]

Sets the next-hop router address for matched packets when there is an explicit route to the destination

set ip precedence precedence

Sets the precedence bits in the Type of Service field of matched IP packets

set ip tos type-of-service

Sets the TOS bits in the Type of Service field of matched packets

set metric{metric-value| bandwidth delay reliability loading mtu}

Sets the metric value for a matched route

set metric-type{internal| external| type-1| type-2}

Sets the metric type for a matched route being redistributed into IS-IS or OSPF

set next-hop next-hop

Sets the next-hop router address for a matched route

set tag tag-value

Sets a tag value for a matched route

5. Review Questions | Next Section Previous Section