HP (Hewlett-Packard) HP J3245A Switch User Manual


 
6-4
Using the Advanced Commands
Commands
Using the Advanced
Commands
Commands
To execute any of these commands, select Advanced Commands from the
Main Menu, type the command, and press [Enter].
Conventions:
Commands are shown in the normal typeface.
Required parameters are shown in italics.
Optional parameters are shown in italics, with brackets ( […] ).
For example:
Command Required Parameters Optional Parameters
ping
ip-addr
[repetitions]
[timeout]
Command Syntax Description
H (help) Lists the commands available at the command prompt.
date
[mm/dd/yy]
Without parameters, displays the date and time currently held by the switch.
With parameters in the month/date/year format, resets the date.
time
[hh:mm:ss]
Without parameters, displays the date and time currently held by the switch.
With parameters in the hours:minutes:seconds format, resets the time.
history displays the times and reasons for the last four occasions on which the switch
was rebooted or restarted.
ping
ip-addr [repetitions] [timeout]
where:
ip-addr
is the IP address of the
target node in dotted decimal
notation.
repetitions
is the number of
times to repeat the echo request.
Default: send packet once.
timeout
is how many seconds to
wait for a response.
Default: 5 seconds.
Sends an Internet Control Message Protocol (ICMP) echo request message
to a specific IP address, as a network-layer test of the reachability of the node.
Ping does not support loopback (pinging this switch) or broadcast addresses.
The switch must have IP configured. After transmitting the request message
to the node, the switch waits for a response. If it is received within the
specified or default timeout interval, the console displays a message
indicating that the target is “alive”. If an echo response is not received within
the specified or default timeout interval, the console displays a message
indicating that the target did not respond.
VLANs: If multiple VLANs are configured, the Ping command sends requests
to the ports in the VLAN environment specified when the command prompt
was selected.
SEDONA.BK : sed_6.fm5 Page 4 Thursday, February 27, 1997 10:11 AM