Page 26
To display the environmental information, use the
module -s env
command.
>module -s env
Voltage In PS A: 42.91V
Voltage Out: 3.28V
Total Current: 104mA
Temperature: 49C
CPU Utilization: 7%
RAM Utilization: 43.9MB out of 509MB (8.6%)
Flash Utilization: 188.5MB out of 798MB (23.6%)
>
NOTE: The
module -s env
display will vary depending on the model.
6.1.8
Ping (PING)
The
ping
command provides the ability to ping network devices connected to the switch. This provides a
convenient way to verify connectivity through the CLI interface.
To configure ping, use the
ping
command from the CLI prompt. A list of options is displayed when the
ping -h
command is entered.
> ping -h
Description:
ping - ping a remote device
Syntax:
ping [-h]
ping -t ipAddress [-n count] [-l size]
Switches:
-h display help information
-l transmit buffer in bytes, [size]: {0..1472}, dflt 32
-n number of pings, [count]: {1..65536}, dflt 3
-t ping the specified [ipAddress]
>
The options available using the
ping
command are shown below.
The
-h
switch displays the help screen presented above. It is static and provides help information for the
specific command.
The
-l
switch defines the size of the ping frame.
The
-n
switch defines the number of pings frames sent. A value of 0 sends pings until interrupted.
The
-t
switch defines the destination IP address.