28 Using the CLI
To enter the Global Configuration mode, at the Privileged EXEC mode prompt enter the command
configure and press <Enter>. The Global Configuration mode prompt is displayed. The Global
Configuration mode prompt consists of the device host name followed by (config) and #.
To return from the Global Configuration mode to the Privileged EXEC mode, the user can use one of
the following commands:
•
exit
•
end
•
Ctrl+Z
The following example illustrates how to access the Global Configuration mode and return to the
Privileged EXEC mode:
Interface Configuration Mode and Specific Configuration Modes
Interface Configuration mode commands modify specific interface operations. The following are the
Interface Configuration modes:
•
Line Interface
— Contains commands to configure the management connections. These include
commands such as line timeout settings, etc. The
Line Commands
Global Configuration mode is
used to enter the Line Configuration command mode.
•
VLAN Database
— Contains commands to create a VLAN as a whole. The
vlan database
Global
Configuration mode command is used to enter the VLAN Database Interface Configuration mode.
•
Management Access List
— Contains commands to define management access-lists. The
management access-list
Global Configuration mode command is used to enter the Management
Access List Configuration mode.
•
Ethernet
— Contains commands to manage port configuration. The
interface ethernet
Global
Configuration mode command is used to enter
the Interface Configuration mode to configure an
Ethernet type interface.
•
Port Channel
— Contains commands to configure port-channels, for example, assigning ports to a
port-channel. Most of these commands are the same as the commands in the Ethernet interface mode,
and are used to manage the member ports as a single entity. The
interface port-channel
Global
Configuration mode command is used to enter the Port Channel Interface Configuration mode.
Console(config)#
Console#
Console# configure
Console(config)# exit
Console#
book.book Page 28 Thursday, December 18, 2008 7:40 PM