Cisco WS-C2960S-24PD-L Software Guide - Page 82
Command Usage Basics, Accessing Command Modes
View all Cisco WS-C2960S-24PD-L manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 82 highlights
Command Usage Basics Chapter 3 Getting Started with the CLI Command Usage Basics This section provides these topics: • "Accessing Command Modes" section on page 3-2 • "Specifying Ports in Interface Configuration Mode" section on page 3-4 • "Abbreviating Commands" section on page 3-4 • "Using the No and Default Forms of Commands" section on page 3-5 • "Redisplaying a Command" section on page 3-5 • "Getting Help" section on page 3-5 For complete information about CLI usage, refer to the Cisco IOS Release 12.0 documentation on Cisco.com. Accessing Command Modes The CLI is divided into different modes. The commands available to you at any given time depend on which mode you are in. Entering a question mark (?) at the system prompt provides a list of commands for each command mode. When you start a session on the switch, you begin in user mode, often called user EXEC mode. Only a limited subset of the commands are available in user EXEC mode. For example, most of the user EXEC commands are one-time commands, such as show commands, which show the current configuration status, and clear commands, which clear counters or interfaces. The user EXEC commands are not saved when the switch reboots. To have access to all commands, you must enter privileged EXEC mode. Normally, you must enter a password to enter privileged EXEC mode. From this mode, you can enter any privileged EXEC command or enter global configuration mode. Using the configuration modes (such as global, VLAN, and interface), you can make changes to the running configuration. If you save the configuration, these commands are stored when the switch reboots. To access the various configuration modes, you must start at global configuration mode. From global configuration mode, you can enter interface configuration mode and line configuration mode. Table 3-1 describes the main command modes supported on the switch, the prompt you see in that mode, and how to exit the mode. The examples in the table use the host name switch. Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide 3-2 78-6511-08