1-136
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
set ip tos (route-map)
The T2 bit sets the throughput. Setting this bit to 0 equals normal throughput, and setting it to 1 equals
maximum throughput. Similarly, the T1 and T0 bits set reliability and cost, respectively. Therefore, as
an example, if you want to set a packet with the following requirements:
minimum delay T3 = 1
normal throughput T2 = 0
normal reliability T1 = 0
minimum monetary cost T0 = 1
You would set the ToS to 9, which is 1001 in binary format.
Use the
route-map
(IP) global configuration command with the
match
and
set
(route-map)
configuration commands to define the conditions for redistributing routes from one routing protocol into
another, or for policy routing. Each
route-map
command has an associated list of
match
and
set
commands. The
match
commands specify the match criteria—the conditions under which redistribution
or policy routing is allowed for the current route-map command. The
set
commands specify the set
actions—the particular redistribution or policy routing actions to perform if the criteria enforced by the
match commands are met. The
no
route-map
command deletes the route map.
The
set
(route-map) commands specify the redistribution set actions to be performed when all of the
match criteria of a route map are met.
Examples
The following example sets the IP ToS bits to 8 (minimum delay as shown in
Table 1-5
) for packets that
pass the route-map match:
Router(config)# interface gigabitethernet0/1
Router(config-if)# ip policy route-map texas
!
Router(config-if)# route-map texas
Router(config-route-map)# match length 68 128
Router(config-route-map)# set ip tos 8
!
Related Commands
Command
Description
ip policy route-map
Identifies a route map to use for policy routing on an interface.
route-map (IP)
Defines the conditions for redistributing routes from one routing protocol
into another, or enables policy routing.