Editing Features - Planet Networking & Communication WGSW-24010 User Manual

10/100/1000mbps 24-port + 1 mini-gbic managed gigabit ethernet switch
Hide thumbs Also See for WGSW-24010:
Table of Contents

Advertisement

4. 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 Command mode the login command is
entered. This effectively logs off the current user and logs on the new user.

3.2.3 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.
When entering commands, the Giga ports are referred to with a prefix "g", and the 10/100 Mbps ports are referred to with
a prefix "e". The ports are preceded by the unit number. The unit number for a standalone device is 1.
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 by 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 the ?.
There are three 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
Every time a command is entered in the CLI, it is recorded on an internally managed Command History buffer. Commands
are stored in the buffer which is maintained on a First In First Out (FIFO) basis. These commands can be recalled,
reviewed, modified, and reissued. This buffer is not preserved across device resets.
Keyword
Source or destination
Up-arrow key
Recalls commands in the history buffer, beginning with the most recent command.
Ctrl+P
Repeats the key sequence to recall successively older commands.
Down-arrow
Returns to more recent commands in the history buffer after recalling commands with
key
the up-arrow key. Repeating the key sequence will recall successively more recent
commands.
By default, the history buffer system is enabled, but it can be disabled at any time. For information about the command
syntax to enable or disable the history buffer, see history.
There is a standard default number of commands that are stored in the buffer. The standard number of 10 commands can
be increased to 256. By configuring 0, the effect is the same as disabling the history buffer system. For information about
the command syntax for configuring the command history buffer, see history size.
To display the history buffer, see show history.
Negating the Effect of Commands
For many configuration commands, the prefix keyword no can entered to cancel the effect of a command or reset the
configuration to the default value. This guide describes the negation effect for all applicable commands.
10

Advertisement

Table of Contents
loading

Table of Contents