Cisco Systems 78-13983-04 manual Understanding Command Modes, Exit , or logout, Configure terminal

Page 26

Chapter 3 Cisco IOS Software Basics

Understanding Command Modes

Understanding Command Modes

The Cisco IOS user interface is divided into different modes. Each command mode permits you to configure different components on your router. The commands available at any given time depend on which mode you are currently in. Entering a question mark (?) at the prompt displays a list of commands available for each command mode. Table 3-1lists the most common command modes.

Table 3-1 Common Command Modes

 

 

Router Prompt

 

Command Mode

Access Method

Displayed

Exit Method

 

 

 

 

User EXEC

Log in.

Router>

Use the logout

 

 

 

command.

 

 

 

 

Privileged EXEC

From user EXEC mode,

Router#

To exit to user EXEC

 

enter the enable

 

mode, use the disable,

 

command.

 

exit, or logout

 

 

 

command.

 

 

 

 

Global configuration

From the privileged

Router (config)#

To exit to privileged

 

EXEC mode, enter the

 

EXEC mode, use the

 

configure terminal

 

exit or end command,

 

command.

 

or press Ctrl-z.

 

 

 

 

Interface configuration

From the global

Router (config-if)#

To exit to global

 

configuration mode,

 

configuration mode, use

 

enter the interface type

 

the exit command.

 

number command, such

 

To exit directly to

 

as interface serial 0/0.

 

 

 

privileged EXEC mode,

 

 

 

 

 

 

press Ctrl-z.

 

 

 

 

Timesaver Each command mode restricts you to a subset of commands. If you are having trouble entering a command, check the prompt, and enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax.

In the following example, notice how the prompt changes after each command to indicate a new command mode:

Router> enable

Password: <enable password>

Router# configure terminal

Router (config)# interface serial 0/0 Router (config-if)# line 0

Router (config-line)# controller t1 0 Router (config-controller)# exit Router (config)# exit

Router#

%SYS-5-CONFIG_I: Configured from console by console

The last message is normal and does not indicate an error. Press Return to get the Router# prompt.

Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide

3-2

78-13983-04

 

 

Image 26
Contents Corporate Headquarters Customer Order Number DOC-7813983= Text Part NumberCopyright 2002 Cisco Systems, Inc All rights reserved About This Guide Software FeaturesLimitations and Restrictions First-Time Configuration AudienceConfiguring PIM Using the Setup Command FacilitySaving Configuration Changes Configuring PPP MultiplexingMode y-cable Configuring RedundancyWhere to Go Next Assigning a QoS Boilerplate to an InterfacePage Organization ObjectivesAudience Chapter Title DescriptionBoldface font Document ConventionsConvention Description Boldface screenObtaining Documentation Additional InformationRelated Documentation World Wide WebOrdering Documentation Obtaining Technical AssistanceDocumentation CD-ROM Documentation FeedbackTechnical Assistance Center To access Cisco.com, go to the following websiteCisco.com Contacting TAC by Telephone Overview of the MWR BenefitsNetwork Processor Software Software FeaturesCisco IOS Software MLP, PPP Control Path IPCP, NCP, LCP, ClnsPPP Multiplexing/Demultiplexing RTP/UDP Header CompressionRedundancy Support RTP Header CompressionRFC1213-MIB MIB SupportMWR 1900 supports the following MIBs RFC1253-MIBLimitations and Restrictions 802.1Q VLANs Frame Relay FRUnderstanding Interface Numbering Understanding Boot ImagesBefore You Begin Interface type Slot number/Interface number Before Starting Your Router Using the Setup Command FacilityConfiguring Global Parameters Viewing the configuration Enter a host name for the router this example usesSummary of interfaces is displayed Completing the ConfigurationYou are then prompted to configure the specified interface Where to Go Next First-Time Configuration Where to Go NextCisco IOS Software Basics Getting HelpExit , or logout Understanding Command ModesConfigure terminal As interface serial 0/0Undoing a Command or Feature Saving Configuration ChangesPage Configuring with the Command-Line Interface Prompt changes to Routerconfig# Configuring the Host Name and PasswordEnter global configuration mode Verifying the Version of Cisco IOS SoftwareExit interface configuration mode Configuring Loopback InterfacesExit to global configuration mode Change the name of the router to a meaningful nameSetting the Speed and Duplex Mode Configuring Fast Ethernet InterfacesConfiguring the FE Interface IP Address Specify the speed Configuring Routing Protocol AttributesConfiguring PIM Configuring Hsrp Support Specify a priority Configuring Multilink InterfacesEnabling the FE Interface Enable multilink PPP operation Configuring Multilink PPPConfiguring IP Address Assignment To set the default PPP protocol ID, enter Configuring PPP MultiplexingConfiguring RTP/UDP Compression To set the maximum length of the subframe, enterRPM-3config-if#ip rtp header-compression Configuring T1 and E1 Interfaces Configuring T1 InterfacesConfiguring E1 Interfaces Set the carrier delay for the serial interfaceConfiguring QoS Attributes Creating a Class Map Creating a Policy Map78-13983-04 Redundant MWR 1900s Configuring RedundancyAssigning a QoS Boilerplate to an Interface Specify the interface to be used for backhauling Exit y-mode configuration modeStand-Alone MWR Verifying the Configuration MWR1900-1#show running-configMatch access-group Ip ospf message-digest-key 1 md5 mymd5pw Ip ospf Hello-interval Ospf Dead-interval Monitoring and Managing the MWR Show Commands for Monitoring the MWR Command PurposeShow protocols Show controllersShow interface type slot / port Command Reference Clear ip rtp header-compression Clear ppp mux Command Modes Command History Usage Guidelines ExamplesRelated Commands Description Clear ppp mux interface interfaceIp rtp header-compressionEnables RTP header compression Syntax Description Defaults Command ModesConnections Interface configuration Ip rtp compression-connectionsPassive Syntax Description Defaults Command Modes Command HistoryIp rtp header-compression Related Commands Description Standalone Mode y-cableMode y-cable Standby use-interfaceCommand Modes Command History Ppp muxUsage Guidelines Examples Related Commands Ppp mux delayPpp mux delay integer no ppp mux delay Ppp mux frame Defaults Command Modes Command HistoryDefault maximum length is Interface configuration Ppp mux frame integer no ppp mux framePpp mux pid Ppp mux pid integerPpp mux subframe length Ppp mux subframe length integer No ppp mux subframe lengthPpp mux subframe count integer No ppp mux subframe count Default maximum is Interface configurationPpp mux subframe count Invoked y-cable mode Global configurationFollowing example enables redundancy mode Redundancy1describes the significant fields shown in the display Show ip rtp header-compressionShow ip rtp header-compression type number detail Field DescriptionThat can exist on an interface Show ppp mux Interface interfacePpp mux Enables PPP multiplexing/demultiplexing 2describes the significant fields shown in the displayThis command has no attributes Show redundancyStand-alone configuration Invokes y-cable modeInvokes redundancy mode StandbyStandalone Syntax Description DefaultsCable configuration No standaloneStandby use-interface Standby use-interface interface health revertive backhaulStandby use-interface loopback102 revertive Page Counters, PPP multiplexing Cisco IOS About Command modes Enable modeIP address MIB support Mode y-cable IN-2Command ConfiguringIN-4