H3C S3100 Series Command Manual page 1011

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

tos
Syntax
tos value
undo tos
View
HWPing test group view
Parameters
value: ToS value in an HWPing test packet header, in the range of 0 to 255.
Description
Use the tos command to configure the ToS value in an HWPing test packet header.
Use the undo tos command to remove the ToS value in an HWPing test packet header.
By default, no ToS value is configured.
This command does not apply to DHCP tests.
Examples
# Set the ToS value in the header of an ICMP test packet to 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] tos 1
ttl
Syntax
ttl number
undo ttl
View
HWPing test group view
Parameters
number: Time to live (TTL) value or lifetime of HWPing test packets. It is in the range 1 to 255 and
defaults to 20.
Description
Use the ttl command to configure TTL of HWPing test packets.
Use the undo ttl command to restore the default TTL of HWPing test packets.
TTL is actually a hop count limit on how far a test packet can travel on a network. In a ping command, it
is defined using the argument "-h".
1-32

Advertisement

Table of Contents
loading

Table of Contents