Syntax: ping <ip addr> | <hostname> [source <ip addr>] [count <num>] [timeout <msec>] [ttl <num>] [size
<byte>] [quiet] [numeric] [no-fragment] [verify] [data <1-to-4 byte hex>] [brief]
See the Command Line Interface Reference for information about its parameters.
NOTE: If you address the ping to the IP broadcast address, the device lists the first four responses to the ping.
Tracing a Route
To determine the path through which an HP device can reach another device, enter a command such as the
following at any level of the CLI on the HP device:
HP9300> traceroute 220.127.116.11
Syntax: traceroute <host-ip-addr> [maxttl <value>] [minttl <value>] [numeric] [timeout <value>]
[source-ip <ip addr>]
The CLI displays trace route information for each hop as soon as the information is received. Traceroute requests
display all responses to a given TTL. In addition, if there are multiple equal-cost routes to the destination, the HP
device displays up to three responses by default. See the Command Line Interface Reference for information
about the command syntax.
12. Managing the Device
You can manage an HP device using the following applications:
Command Line Interface (CLI) – a text-based interface accessible through a direct serial connection or a
Web management interface – A GUI-based management interface accessible through an HTTP (web
SNMP network management application – An application such as HP TopTools for Switches & Hubs or HP
Logging on Through the CLI
Once an IP address is assigned to the HP switch or to an interface on the HP routing switch, you can access the
CLI either through the direct serial connection to the device or through a local or remote Telnet session.
You can initiate a local Telnet or SNMP connection by attaching a straight-through RJ-45 cable to a port and
specifying the assigned management station IP address.
The commands in the CLI are organized into the following levels:
User EXEC level – Lets you display information and perform basic tasks such as pings and traceroutes.
Privileged EXEC level – Lets you use the same commands as those at the User EXEC level plus
configuration commands that do not require saving the changes to the system-config file.
CONFIG level – Lets you make configuration changes to the device. To save the changes across reboots,
you need to save them to the system-config file. The CONFIG level contains sub-levels for individual ports,
for VLANs, for routing protocols, and other configuration areas.
NOTE: By default, any user who can open a serial or Telnet connection to the HP device can access all these CLI
levels. To secure access, you can configure Enable passwords or local user accounts, and you can configure the
device to use a RADIUS or TACACS/TACACS+ server for authentication. See "Securing Access Methods" on
To display a list of available commands or command options, enter "?" or press Tab. If you have not entered part
of a command at the command prompt, all the commands supported at the current CLI level are listed. If you
2 - 21