1-4
www.hp.com
CLI Reference Guide
Command Line Interface
The command “
show interfaces ?
” will display the following information:
Partial Keyword Lookup
If you terminate a partial keyword with a question mark, alternatives that match the initial letters
are provided. (Remember not to leave a space between the command and question mark.) For
example “
s?
” shows all the keywords starting with “s.”
Negating the Effect of Commands
For many configuration commands you can enter the prefix keyword “
no
” to cancel the effect of
a command or reset the configuration to the default value. For example, the
logging
command
will log system messages to a host server. To disable logging, specify the
no logging
command.
This guide describes the negation effect for all applicable commands.
Using Command History
The CLI maintains a history of commands that have been entered. You can scroll back through
the history of commands by pressing the up arrow key. Any command displayed in the history
list can be executed again, or first modified and then executed.
Using the
show history
command displays a longer list of recently executed commands.
Understanding Command Modes
The command set is divided into Exec and Configuration classes. Exec commands generally
display information on system status or clear statistical counters. Configuration commands, on
the other hand, modify interface parameters or enable certain switching functions. These classes
are further divided into different modes. Available commands depend on the selected mode. You
can always enter a question mark “
?
” at the prompt to display a list of the commands available
for the current mode.
Exec Commands
When you open a new console session on the switch with the user name and password “guest,”
the system enters the Normal Exec command mode (or guest mode), displaying the “Console>”
command prompt. Only a limited number of the commands are available in this mode. You can
access all commands only from the Privileged Exec command mode (or administrator mode).
Console#
show interfaces
?
counters
protocol-vlan
status s
switchport
Console#
Information of interfaces counters
Protocol-vlan information
Information of interfaces status
Information of interfaces switchport
Console#
show
s?
snmp sntp spanning-tree ssh startup-config
system
Console#
Summary of Contents for BladeSystem bc2000 - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...