H3C S9500 Series Command Manual page 1759

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – System Maintenance and Debugging
H3C S9500 Series Routing Switches
Note:
At present, the pingmac command only supports detection of hosts in the same
VLAN.
Before executing the pingmac command, enable ndp in system view and port view
first.
Related commands: tracemac.
Examples
# Check whether a host in VLAN 100 with the MAC address of 00f0-fc00-0110 is
reachable.
<H3C> pingmac 00f0-fc00-0110 vlan 100
destination
1.4.3 tracert
Syntax
tracert [ -a source-IP | -f first-TTL | -m max-TTL | -p port | -q num-packet |
-vpn-instance vpn-instance-name | -w timeout ] string
View
Any view
Parameters
-a source-IP: Specifies the source IP address of a tracert packet. It must be a legal IP
address configured on the device.
-f first-TTL: Specifies the first TTL, that is, the allowed number of hops for the first
packet. first-TTL defaults to 1 and must be greater than 0 and less than the maximum
TTL.
-m max-TTL: Specifies the maximum TTL, that is, the maximum allowed number of
hops for a packet. max-TTL defaults to 30, and must be greater than the first TTL.
-p port: Specifies the UDP port number of the destination host. The default value is
33434. You do not need to modify this argument.
-q num-packet: Specifies the number of probe packets sent each time. num-packet is
an integer greater than 0, defaulting to 3.
-vpn-instance vpn-instance-name: Specifies the name of an MPLS VPN instance.
-w timeout: Specifies the timeout time of the reply packet of a probe packet, in seconds.
timeout is an integer greater than 0, defaulting to 5.
reachable
1-17
Chapter 1 System Maintenance and
Debugging Commands

Advertisement

Table of Contents
loading

Table of Contents