- 论坛徽章:
- 0
|
大家知道,TOS字段是8比特,而DSCP只使用6比特,当我们使用扩展Ping命令时,如果要设置Tos值。如何把DSCP=16的值,对应到Tos值?
TESTrouter#ping
Protocol [ip]:
Target IP address: pc
Repeat count [5]: 20
Datagram size [100]: 300
Timeout in seconds [2]: 1
Extended commands [n]: y
Source address or interface: 192.168.10.2
Type of service [0]:
Set DF bit in IP header? [no]: y
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 20, 300-byte ICMP Echos to 192.168.10.3, timeout is 1 seconds:
!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (20/20), round-trip min/avg/max = 1/1/4 ms
TESTrouter# |
|