mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
As mtr starts, it investigates the network connection between the host mtr runs on and HOSTNAME. by sending packets with purposly low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packetloss or response time is often an indication of a bad (or simply overloaded) link.
Common values:
ef - EF dscp (101110) 46 - ToS (10111000) - 184
af31 - AF31 dscp (011010) 26 - ToS (01101000) - 104
cs3 - CS3 dscp (011000) 24 - ToS (01100000) - 96
cs4 - CS4 dscp (100000) 32 - ToS (10000000) - 128
cs5 - CS5 dscp (101000) 40 - ToS (10100000) - 160
af41 - AF41 dscp (100010) 34 - ToS (10001000) - 136
- Example:
CTS regular CLI
utils network mtr 172.16.181.57 count 5 tos 104
Host - tos=0xB8 count=5 Last Avg Min Max
0 172.16.181.57 0.7 0.7 0.7 0.7
Linux MTR
mtr -r -c 100 172.16.181.57
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Drop Rcv Snt Last Best Avg Wrst StDev Gmean Jttr Javg Jmax Jint
1. 172.16.102.1 0.0% 32 0 32 32 0.9 0.8 1.0 6.2 0.9 0.9 0.1 0.4 5.3 6.7
2. 171.68.190.41 0.0% 32 0 32 32 1.0 0.9 1.0 1.5 0.1 1.0 0.5 0.1 0.5 2.1
3. 172.16.181.57 0.0% 31 0 31 31 1.1 1.0 1.1 1.2 0.0 1.1 0.0 0.0 0.1 0.7
Use Q command to set ToS field
No comments:
Post a Comment