Chapter 2 Using the Command-Line Interface

Understanding the Help System

Table 2-1

Command Mode Summary (continued)

 

 

 

 

 

 

 

 

Mode

 

Access Method

Prompt

Exit Method

About This Mode

 

 

 

 

 

 

Interface

 

While in global

Switch(config-if)#

To exit to global

Use this mode to configure

configuration

 

configuration mode,

 

configuration mode,

parameters for the Ethernet

 

 

enter the interface

 

enter exit.

ports.

 

 

command (with a

 

To return to

For information about defining

 

 

specific interface).

 

 

 

 

privileged EXEC

interfaces, see the “Using

 

 

 

 

 

 

 

 

mode, press Ctrl-Z

Interface Configuration Mode”

 

 

 

 

or enter end.

section on page 11-15.

 

 

 

 

 

To configure multiple

 

 

 

 

 

interfaces with the same

 

 

 

 

 

parameters, see the

 

 

 

 

 

“Configuring a Range of

 

 

 

 

 

Interfaces” section on

 

 

 

 

 

page 11-17.

 

 

 

 

 

Line configuration

While in global

Switch(config-line)#

To exit to global

Use this mode to configure

 

 

configuration mode,

 

configuration mode,

parameters for the terminal

 

 

specify a line with

 

enter exit.

line.

 

 

the line vty or line

 

To return to

 

 

 

console command.

 

 

 

 

 

privileged EXEC

 

 

 

 

 

 

 

 

 

 

mode, press Ctrl-Z

 

 

 

 

 

or enter end.

 

 

 

 

 

 

 

For more detailed information on the command modes, see the command reference guide for this release.

Understanding the Help System

You can enter a question mark (?) at the system prompt to display a list of commands available for each command mode. You can also obtain a list of associated keywords and arguments for any command, as shown in Table 2-2.

Table 2-2 Help Summary

Command

Purpose

 

 

help

Obtain a brief description of the help system in any command mode.

 

 

abbreviated-command-entry?

Obtain a list of commands that begin with a particular character string.

 

For example:

 

Switch# di?

 

dir disable disconnect

 

 

abbreviated-command-entry<Tab>

Complete a partial command name.

 

For example:

 

Switch# sh conf<tab>

 

Switch# show configuration

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

OL-9775-02

2-3

 

 

 

Page 81
Image 81
Cisco Systems 3750E manual Understanding the Help System, Line vty or line, Console command, Command Purpose