C H A P T E R 2 Using The Command-Line Interface - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Understanding Command Modes
Table 2-1
Command Mode Summary
Mode
Access Method
User EXEC
Begin a session with
your switch.
Privileged EXEC
While in user EXEC
mode, enter the
enable command.
Global configuration
While in privileged
EXEC mode, enter
the configure
command.
Config-vlan
While in global
configuration mode,
enter the
vlan vlan-id
command.
VLAN configuration
While in privileged
EXEC mode, enter
the vlan database
command.
Interface
While in global
configuration
configuration mode,
enter the interface
command (with a
specific interface).
Line configuration
While in global
configuration mode,
specify a line with
the line vty or line
console command.
Catalyst 3750 Switch Software Configuration Guide
2-2
Prompt
Exit Method
Enter logout or
Switch>
quit.
Enter disable to
Switch#
exit.
To exit to privileged
Switch(config)#
EXEC mode, enter
exit or end, or press
Ctrl-Z.
To exit to global
Switch(config-vlan)#
configuration mode,
enter the exit
command.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
To exit to privileged
Switch(vlan)#
EXEC mode, enter
exit.
To exit to global
Switch(config-if)#
configuration mode,
enter exit.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
To exit to global
Switch(config-line)#
configuration mode,
enter exit.
To return to
privileged EXEC
mode, press Ctrl-Z
or enter end.
Chapter 2
Using the Command-Line Interface
About This Mode
Use this mode to
Change terminal settings.
Perform basic tests.
Display system
information.
Use this mode to verify
commands that you have
entered. Use a password to
protect access to this mode.
Use this mode to configure
parameters that apply to the
entire switch.
Use this mode to configure
VLAN parameters. When VTP
mode is transparent, you can
create extended-range VLANs
(VLAN IDs greater than 1005)
and save configurations in the
switch startup configuration
file.
Use this mode to configure
VLAN parameters for VLANs
1 to 1005 in the VLAN
database.
Use this mode to configure
parameters for the Ethernet
ports.
For information about defining
interfaces, see the
Interface Configuration Mode"
section on page
11-7.
To configure multiple
interfaces with the same
parameters, see the
"Configuring a Range of
Interfaces" section on
page
11-9.
Use this mode to configure
parameters for the terminal
line.
"Using
78-16180-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents