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
Contents
Corporate Headquarters
Customer Order Number DOC-7813983= Text Part Number
Copyright 2002 Cisco Systems, Inc All rights reserved
About This Guide
Software Features
Limitations and Restrictions First-Time Configuration
Audience
Configuring PIM
Using the Setup Command Facility
Saving Configuration Changes
Configuring PPP Multiplexing
Mode y-cable
Configuring Redundancy
Where to Go Next
Assigning a QoS Boilerplate to an Interface
Page
Organization
Objectives
Audience
Chapter Title Description
Boldface font
Document Conventions
Convention Description
Boldface screen
Obtaining Documentation
Additional Information
Related Documentation
World Wide Web
Ordering Documentation
Obtaining Technical Assistance
Documentation CD-ROM
Documentation Feedback
Technical Assistance Center
To access Cisco.com, go to the following website
Cisco.com
Contacting TAC by Telephone
Overview of the MWR
Benefits
Network Processor Software
Software Features
Cisco IOS Software
MLP, PPP Control Path IPCP, NCP, LCP, Clns
PPP Multiplexing/Demultiplexing
RTP/UDP Header Compression
Redundancy Support
RTP Header Compression
RFC1213-MIB
MIB Support
MWR 1900 supports the following MIBs
RFC1253-MIB
Limitations and Restrictions
802.1Q VLANs Frame Relay FR
Understanding Interface Numbering
Understanding Boot Images
Before You Begin
Interface type Slot number/Interface number
Before Starting Your Router
Using the Setup Command Facility
Configuring Global Parameters
Viewing the configuration
Enter a host name for the router this example uses
Summary of interfaces is displayed
Completing the Configuration
You are then prompted to configure the specified interface
Where to Go Next
First-Time Configuration Where to Go Next
Cisco IOS Software Basics
Getting Help
Exit , or logout
Understanding Command Modes
Configure terminal
As interface serial 0/0
Undoing a Command or Feature
Saving Configuration Changes
Page
Configuring with the Command-Line Interface
Prompt changes to Routerconfig#
Configuring the Host Name and Password
Enter global configuration mode
Verifying the Version of Cisco IOS Software
Exit interface configuration mode
Configuring Loopback Interfaces
Exit to global configuration mode
Change the name of the router to a meaningful name
Setting the Speed and Duplex Mode
Configuring Fast Ethernet Interfaces
Configuring the FE Interface IP Address
Specify the speed
Configuring Routing Protocol Attributes
Configuring PIM
Configuring Hsrp Support
Specify a priority
Configuring Multilink Interfaces
Enabling the FE Interface
Enable multilink PPP operation
Configuring Multilink PPP
Configuring IP Address Assignment
To set the default PPP protocol ID, enter
Configuring PPP Multiplexing
Configuring RTP/UDP Compression
To set the maximum length of the subframe, enter
RPM-3config-if#ip rtp header-compression
Configuring T1 and E1 Interfaces
Configuring T1 Interfaces
Configuring E1 Interfaces
Set the carrier delay for the serial interface
Configuring QoS Attributes
Creating a Class Map
Creating a Policy Map
78-13983-04
Redundant MWR 1900s
Configuring Redundancy
Assigning a QoS Boilerplate to an Interface
Specify the interface to be used for backhauling
Exit y-mode configuration mode
Stand-Alone MWR
Verifying the Configuration
MWR1900-1#show running-config
Match 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 Purpose
Show protocols
Show controllers
Show interface type slot / port
Command Reference
Clear ip rtp header-compression
Clear ppp mux
Command Modes Command History Usage Guidelines Examples
Related Commands Description
Clear ppp mux interface interface
Ip rtp header-compressionEnables RTP header compression
Syntax Description Defaults Command Modes
Connections Interface configuration
Ip rtp compression-connections
Passive
Syntax Description Defaults Command Modes Command History
Ip rtp header-compression
Related Commands Description
Standalone
Mode y-cable
Mode y-cable
Standby use-interface
Command Modes Command History
Ppp mux
Usage Guidelines Examples Related Commands
Ppp mux delay
Ppp mux delay integer no ppp mux delay
Ppp mux frame
Defaults Command Modes Command History
Default maximum length is Interface configuration
Ppp mux frame integer no ppp mux frame
Ppp mux pid
Ppp mux pid integer
Ppp mux subframe length
Ppp mux subframe length integer No ppp mux subframe length
Ppp mux subframe count integer No ppp mux subframe count
Default maximum is Interface configuration
Ppp mux subframe count
Invoked y-cable mode
Global configuration
Following example enables redundancy mode
Redundancy
1describes the significant fields shown in the display
Show ip rtp header-compression
Show ip rtp header-compression type number detail
Field Description
That can exist on an interface
Show ppp mux
Interface interface
Ppp mux Enables PPP multiplexing/demultiplexing
2describes the significant fields shown in the display
This command has no attributes
Show redundancy
Stand-alone configuration
Invokes y-cable mode
Invokes redundancy mode
Standby
Standalone
Syntax Description Defaults
Cable configuration
No standalone
Standby use-interface
Standby use-interface interface health revertive backhaul
Standby use-interface loopback102 revertive
Page
Counters, PPP multiplexing
Cisco IOS About Command modes Enable mode
IP address
MIB support Mode y-cable
IN-2
Command
Configuring
IN-4