Using the CLI
29
To start using the CLI, perform the following steps:
1
Start the device and wait until the startup procedure is complete.
The User Exec mode is entered, and the prompt "Console>" is displayed.
2
Configure the device and enter the necessary commands to complete the required tasks.
3
When finished, exit the session with the
quit
or
exit
command.
When a different user is required to log onto the system, in the Privileged EXEC mode command mode
the login command is entered. This effectively logs off the current user and logs on the new user.
Editing Features
Entering Commands
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 g5
,"
show
,
interfaces
and
status
are keywords,
ethernet
is an argument that specifies the interface type, and
g5
specifies the port.
To enter commands that require parameters, enter the required parameters after the command keyword.
For example, to set a password for the administrator, enter:
Console(config)#
username admin password smith
When working with the CLI, the command options are not displayed. The command is not selected
from a menu but is manually entered. To see what commands are available in each mode or within an
Interface Configuration, the CLI does provide a method of displaying the available commands, the
command syntax requirements and in some instances parameters required to complete the command.
The standard command to request help is
?
There are two instances where the help information can be displayed:
•
Keyword lookup
— The character
?
is entered in place of a command. A list of all valid commands and
corresponding help messages are displayed.
•
Partial keyword lookup
— A command is incomplete and the character
?
is entered in place of a
parameter. The matched parameters for this command are displayed.
To assist in using the CLI, there is an assortment of editing features. The following features are
described:
•
Terminal Command Buffer
•
Command Completion
•
Keyboard Shortcuts
5400_CLI.book Page 29 Wednesday, December 17, 2008 4:33 PM
Содержание PowerConnect 5424
Страница 114: ...114 Address Table Commands 5400_CLI book Page 114 Wednesday December 17 2008 4 33 PM ...
Страница 178: ...178 Ethernet Configuration Commands 5400_CLI book Page 178 Wednesday December 17 2008 4 33 PM ...
Страница 194: ...194 GVRP Commands 5400_CLI book Page 194 Wednesday December 17 2008 4 33 PM ...
Страница 204: ...204 IGMP Snooping Commands 5400_CLI book Page 204 Wednesday December 17 2008 4 33 PM ...
Страница 252: ...252 Line Commands 5400_CLI book Page 252 Wednesday December 17 2008 4 33 PM ...
Страница 268: ...268 LLDP Commands 5400_CLI book Page 268 Wednesday December 17 2008 4 33 PM ...
Страница 280: ...280 PHY Diagnostics Commands 5400_CLI book Page 280 Wednesday December 17 2008 4 33 PM ...
Страница 288: ...288 Port Monitor Commands 5400_CLI book Page 288 Wednesday December 17 2008 4 33 PM ...
Страница 300: ...300 QoS Commands 5400_CLI book Page 300 Wednesday December 17 2008 4 33 PM ...
Страница 308: ...308 Radius Commands 5400_CLI book Page 308 Wednesday December 17 2008 4 33 PM ...
Страница 326: ...326 RMON Commands 5400_CLI book Page 326 Wednesday December 17 2008 4 33 PM ...
Страница 386: ...386 SSH Commands 5400_CLI book Page 386 Wednesday December 17 2008 4 33 PM ...
Страница 400: ...400 Syslog Commands 5400_CLI book Page 400 Wednesday December 17 2008 4 33 PM ...
Страница 418: ...418 System Management 5400_CLI book Page 418 Wednesday December 17 2008 4 33 PM ...
Страница 432: ...432 TIC Commands 5400_CLI book Page 432 Wednesday December 17 2008 4 33 PM ...
Страница 440: ...440 Tunnel 5400_CLI book Page 440 Wednesday December 17 2008 4 33 PM ...
Страница 476: ...476 Voice VLAN 5400_CLI book Page 476 Wednesday December 17 2008 4 33 PM ...
Страница 490: ...490 Web Server 5400_CLI book Page 490 Wednesday December 17 2008 4 33 PM ...