tos
To set the type of service (ToS) in a probe packet, use the
tos
command in the appropriate configuration mode.
To use the default value, use the
no
form of this command.
tos number
no tos
Syntax Description
Type of service number. Range is 0 to 255.
number
Command Default
The type of service number is 0.
Command Modes
IP SLA UDP echo configuration
IP SLA UDP jitter configuration
IP SLA ICMP path-jitter configuration
IP SLA ICMP path-echo configuration
IP SLA ICMP echo configuration
Command History
Modification
Release
This command was introduced.
Release 3.3.0
Usage Guidelines
The ToS value is an 8-bit field in IP headers. The field contains information, such as precedence and ToS.
The information is useful for policy routing and for features like Committed Access Rate (CAR) in which
routers examine ToS values. When the type of service is defined for an operation, the IP SLA probe packet
contains the configured tos value in the IP header.
Task ID
Operations
Task ID
read, write
monitor
Examples
The following example shows how to use the
tos
command in IP SLA UDP jitter configuration mode:
RP/0/0/CPU0:router#
configure
RP/0/0/CPU0:router(config)#
ipsla
RP/0/0/CPU0:router(config-ipsla)#
operation 1
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
279
IP Service Level Agreement Commands
tos