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.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...