Cisco Cisco Packet Data Gateway (PDG) Prospecto
Class-Map Configuration Mode Commands
match ip-tos ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
2081
match ip-tos
Specifies a traffic classification rule based on the IP Type of Service value in ToS field of packet.
Product
PDSN
HA
ASN-GW
HSGW
P-GW
SAEGW
SCM
Privilege
Administrator
Mode
Exec > Global Configuration > Context Configuration > Class-Map Configuration
configure > context context_name > class-map class_map_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-class-map)#
Syntax
match ip-tos { service_value [ ip-tos-mask mask_value ] | tos-range low_value to
high_value }
high_value }
service_value
Specifies the IP Type-of-Service value to match inside the ToS field of packets as an integer from 0 to 255.
ip-tos-mask
mask_value
Specifies the IP Type-of-Service mask value to match inside the ToS field of packets as an integer from 1 to
255.
255.
tos-range
low_value
to
high_value
Specifies a range that a ToS value in a received packet must fall within to be considered a match.
low_value
and
high_value
must be an integer from 0 to 255.
Usage
Sets the match rule based on the IP ToS value in ToS field of packets for specific Class Map.
Example
The following commands specifies the IP ToS value of
3
is the value to match in a ToS field in received
packets.
match ip-tos 3