Global Configuration Mode; Interface Configuration Mode; Config-Vlan Mode - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

CLI Command Modes

Global Configuration Mode

Global configuration commands apply to features that affect the device as a whole. Use the configure
privileged EXEC command to enter global configuration mode. The default is to enter commands from
the management console.
When you enter the configure command, a message prompts you for the source of the configuration
commands:
Switch# configure
Configuring from terminal, memory, or network [terminal]?
You can specify either the terminal or nonvolatile RAM (NVRAM) as the source of configuration
commands.
This example shows you how to access global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line.
The supported commands can vary depending on the version of IOS software in use. To view a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config)# ?
To exit global configuration command mode and to return to privileged EXEC mode, enter the end or
exit command, or press Ctrl-Z.

Interface Configuration Mode

Interface configuration commands modify the operation of the interface. Interface configuration
commands always follow a global configuration command, which defines the interface type.
Use the interface type_number.subif command to access interface configuration mode. The new prompt
shows interface configuration mode.
Switch(config-if)#
The supported commands can vary depending on the version of IOS software in use. To view a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config-if)# ?
To exit interface configuration mode and to return to global configuration mode, enter the exit command.
To exit interface configuration mode and to return to privileged EXEC mode, enter the end command,
or press Ctrl-Z.

config-vlan Mode

Use this mode to configure normal-range VLANs (VLAN IDs 1 to 1005) or, when VTP mode is
transparent, to configure extended-range VLANs (VLAN IDs 1006 to 4094) when the enhanced software
image is installed. When VTP mode is transparent, the VLAN and VTP configuration is saved in the
running configuration file, and you can save it to the switch startup configuration file by using the copy
running-config startup-config privileged EXEC command. The configurations of VLAN IDs 1 to 1005
are saved in the VLAN database if VTP is in transparent or server mode. The extended-range VLAN
configurations are not saved in the VLAN database.
Catalyst 2950 Desktop Switch Command Reference
1-4
Chapter 1
Using the Command-Line Interface
End with CNTL/Z.
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents