Table 5
Global commands
Command
ping
traceroute
telnet
show history
console-log
who
Command line interface shortcuts
The following shortcuts allow you to enter commands quickly and easily.
Command abbreviation
Most commands can be abbreviated by entering the first characters that distinguish the command from
the others in the same mode. For example, consider the following full command:
Switch(config)# spanning-tree stp 1 bridge hello 2
The command shown above could also be entered as:
Switch(config)# sp stp 1 br h 2
Tab completion
Enter the first letter of a command at any prompt and press the Tab key to display all available
commands or options that begin with that letter. Entering additional letters further refines the list of
commands or options displayed.
If only one command fits the input text when you press the Tab key, that command is supplied on the
command line, waiting to be entered.
Action
Verify station-to-station connectivity across the network. The format is as follows:
ping <host name> | <IP address> [<number of tries>] [<msec
delay>]
IP address—the hostname or IP address of the device
number of tries (optional)—the number of attempts (1-32)
msec delay (optional)—the number of milliseconds between attempts
Identifies the route used for station-to-station connectivity across the network. The format
is as follows:
traceroute <host name> | <IP address> [<max-hops>] [<msec
delay>]
IP address—the hostname or IP address of the target station
max-hops (optional)—the maximum distance to trace (1-16 devices)
msec delay (optional)—the number of milliseconds to wait for the response
Allows you to Telnet out of the switch. The format is as follows:
telnet <host name> | <IP address> [<port number>]
Displays the 10 most recent commands.
Enables or disables console logs for the current session.
Displays a list of users who are currently logged in.
ISCLI basics
17