HP PC Blade Switch CLI Reference Guide
www.hp.com
1-3
Command Line Interface
Entering Commands
This section describes how to enter CLI commands.
Keywords and Arguments
A CLI command is a series of keywords and arguments. Keywords identify a command, and
arguments specify configuration parameters. For example, in the command “show interfaces
status ethernet 1/e5,”
show interfaces
and
status
are keywords,
ethernet
is an argument that
specifies the interface type, and
1/5
specifies the port.
You can enter commands as follows:
■
To enter a simple command, enter the command keyword.
■
To enter multiple commands, enter each command in the required order. For example, to
enable Privileged Exec command mode, and display the startup configuration, enter:
■
To enter commands that require parameters, enter the required parameters after the command
keyword. For example, to set a password for the administrator, enter:
Minimum Abbreviation
The CLI will accept a minimum number of characters that uniquely identify a command. For
example, the command “configure” can be entered as
con
. If an entry is ambiguous, the system
will prompt for further input.
Command Completion
If you terminate input with a Tab key, the CLI will print the remaining characters of a partial
keyword up to the point of ambiguity. In the “logging history” example, typing
log
followed by a
tab will result in printing the command up to “
logging
.”
Getting Help on Commands
You can display a brief description of the help system by entering the
help
command. You can
also display command syntax by using the “?” character to list keywords or parameters.
Show Commands
If you enter a “?” at the command prompt, the system will display the first level of keywords for
the current command class (Normal Exec or Privileged Exec) or configuration class (Global,
ACL, DHCP, Interface, Line, VLAN Database, or MSTP). You can also display a list of valid
keywords for a specific command. For example, the command “
show ?
” displays a list of
possible show commands.
Console>
enable
Console#
show startup-config
Console(config)#
username
admin
password
smith
Summary of Contents for Bc1500 - BladeSystem - 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 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...