Command Reference
Protocol-independent Configuration Commands
6.32 set ip tos
Use this command to set the tos of the IP head of the packet matching the rule in the route map
configuration mode. Use the
no
form of this command to remove the configured tos setting.
set ip tos
{<
0-15
> |
max-reliability
|
max-throughput
|
min-delay
|
min-monetary-cost
|
normal
}
no set ip tos
Parameter
Description
Parameter
Description
number
Indicates the TOS value of an IP header with a number, ranging from 0
to 15.
2:
max-reliability
4:
max-throughput
8:
min-delay
1:
min-monetary-cost
0:
normal
max-reliability |
max-throughput |
min-delay |
min-monetary-cost |
normal
Priority of an IP header.
Defaults
N/A
Command
mode
Route map configuration mode
Usage
guideline
With different TOS values for the IP packet head configured, the IP packets matching the PBR routing
are transmitted with different service qualities.
The TOS value will be specified for the head of the IP packet matched the PBR.
Examples
The following example sets the TOS value of the packet with the source IP address 192.168.217.68
received at the interface FastEthernet 0/0 as 4:
Ruijie(config)#access-list
1
permit
192.168.217.68 0.0.0.0
Ruijie(config)#route-map
name
Ruijie(config-route-map)#match ip address
1
Ruijie(config-route-map)#set ip tos
4
Ruijie(config)#interface FastEthernet
0/0
Ruijie(config-if)#ip policy route-map
name
Related
commands
Command
Description
match interface
Match the next-hop interface.
match ip address
Match the IP address in the ACL.
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...