background image
360
Chapter 6
Troubleshooting TCP/IP Connectivity
Here is a sample route map:
route-map test permit 10
match ip address 1
set metric-type type-2
!
route-map test permit 20
match ip address 2
set metric-type type-1
!
route-map test permit 30
set metric 100
The router runs through this route map, just as it runs through an access
list. The only difference is that there are commands that the router performs
instead of simply forwarding or dropping the packet. In this example, any
packet matching the addresses listed in the IP access list 1 has its metric set
as an OSPF type-2 metric. Any packet matching the addresses specified in
access list 2 has its OSPF metric set to type-1. The final instance of the route
map "test" is to set the metric of the route update to 100.
help
Description of the interactive help system.
match
Match values from routing table.
no
Negate a command or set its defaults.
set
Set values in destination routing protocol.
T A B L E 6 . 1 3
Route Map Configuration Commands (continued)
Command
Description
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com