Table Of Contents
First-Time Configuration
Before You Begin
Understanding Boot Images
Understanding MWR 1941-DC Router Interface Numbering
Slot and Port Numbering
Before Starting Your Router
Using the Setup Command Facility
Configuring Global Parameters
Configuring Interface Parameters
Ethernet Interface Configuration
FastEthernet Interface Configuration
Serial Interface Configuration
Frame Relay Encapsulation
LAPB Encapsulation
X.25 Encapsulation
ATM-DXI Encapsulation
SMDS Encapsulation
Serial Cisco IOS Commands Generated
Asynchronous/Synchronous Serial Interface Configuration
Synchronous Configuration
Asynchronous Configuration
Completing the Configuration
Where to Go Next
First-Time Configuration
This chapter describes how to use the setup command facility to configure your router. The setup command facility prompts you to enter information needed to start a router functioning quickly. The facility steps you through a basic configuration, including local-area network (LAN) and wide-area network (WAN) interfaces. The following sections are included:
•
Before You Begin
•
Using the Setup Command Facility
•
Configuring Global Parameters
•
Configuring Interface Parameters
•
Completing the Configuration
•
Where to Go Next
If you prefer to configure the router manually or you wish to configure a module or interface that is not included in the setup command facility, proceed to ""Cisco IOS Software Basics" to familiarize yourself with the command-line interface (CLI) and then proceed to PART II for instructions on configuring your MWR 1941-DC router.
Before You Begin
This section contains information with which you should be familiar before you begin to configure your router for the first time, including understanding boot images, interface numbering, and knowing what you should do before starting your router.
Understanding Boot Images
The first file on the compact flash device in slot0: must be the Cisco IOS software image that you want to use. If it is not, the MWR 1914-DC router will not be able to boot.
If you need to upgrade or replace the compact flash, be sure to follow the procedures in the Cisco MWR 1941-DC Mobile Wireless Router Hardware Installation Guide.
Understanding MWR 1941-DC Router Interface Numbering
Each network interface on a Cisco MWR 1941-DC router is identified by a slot number and a port number.
Figure 3-1 shows an example of interface numbering on a Cisco MWR 1941-DC router with the following configuration for a Cell Site DCN implementation:
•
A VWIC in three of the three VWIC slots
•
A 4-port asynchronous/synchronous serial network module in slot 1
•
Two built-in Fast Ethernet interfaces
Figure 3-1 Cisco MWR 1941-DC Router Port Numbers
Slot and Port Numbering
The Cisco MWR 1941-DC router chassis contains the following LAN and WAN interface types:
•
Two built-in Fast Ethernet LAN interfaces
•
Three slots in which you can install Voice/WAN interface cards (VWICs)
•
One slot in which you can install a network module
The slot numbers are as follows:
•
0 for all built-in interfaces
•
0 for all built-in VWIC slots
•
1 for the network module slot
The numbering format is:
Interface type Slot number/Interface number
Interface (port) numbers begin at 0 for each interface type, and continue from right to left.
•
The two built-in Ethernet 10/100 interfaces are Fast Ethernet 0/0 and Fast Ethernet 0/1.
•
The slot number for all VWIC interfaces in the built-in VWIC slot is always 0. (The W0, W1, and W2 slot designations are for physical slot identification only.) Interfaces in the VWICs are numbered from right to left, starting with 0/0 for each interface type, regardless of the physical VWIC slot in which the VWICs are installed.
For example, if you have a VWIC in two of the VWIC slots (W0 and W1), then the interfaces are:
–
Serial 0/0 and Serial 0/1 in physical slot W0
–
Serial 0/2 and Serial 0/3 in physical slot W1
However, if you install a VWIC in physical slot W1 (leaving slot W0 empty), the interfaces in slot W1 are Serial 0/0 and Serial 0/1. If you then add a VWIC to slot W0, the interface numbering will shift. The configuration that you created for interfaces Serial 0/0 and Serial 0/1 will now be applied to the VWIC in slot W0 and you will need to create a new configuration for the interfaces that you previously configured on W1 (which will now be Serial 0/2 and Serial 0/3).
•
The slot number of WIC/VWIC interfaces installed in slot 1 using a WAN network module is always 1 and the interfaces are always numbered from the right to left.
•
The slot number for all network module interfaces is always 1 and the interfaces are always numbered from right to left starting with 1/0.
Before Starting Your Router
Before you power ON your router and begin to use the setup command facility, make sure you follow these steps:
Step 1
Set up the hardware and connect the console and network cables as described in the Cisco MWR 1941-DC Router Hardware Installation Guide.
Step 2
Configure your PC terminal emulation program for 9600 baud, 8 data bits, no parity, and 1 stop bit.
Using the Setup Command Facility
The setup command facility displays from your PC terminal emulation program window.
To create a basic configuration for your router, do the following:
•
Complete the steps in the "Configuring Global Parameters" section.
•
Complete the steps in the "Configuring Interface Parameters" section.
•
Complete the steps in the "Completing the Configuration" section.
Note
If you make a mistake while using the setup command facility, you can exit and run the facility again. Press Ctrl-c, and type setup at the enable mode prompt (1900#).
Configuring Global Parameters
Step 1
Power ON the router, see the Cisco MWR 1941-DC Router Hardware Installation Guide.
Messages will begin to appear in your terminal emulation program window.
Caution
Do not press any keys on the keyboard until the messages stop. Any keys pressed during this time are interpreted as the first command typed when the messages stop, which might cause the router to power off and start over. It takes a few minutes for the messages to stop.
The messages look similar to the following:
Note
The messages vary, depending on the Cisco IOS software image and interface modules in place in your router. The screen displays in this section are for reference only and might not exactly reflect the messages on your console.
rommon 1 >b slot0:mwr1900-i-mz.12042001
program load complete, entry point:0x80008000, size:0x658258
Self decompressing the image :
############################################################################
############################################################################
############################################################################
############################################################################
############################################################################
############################################################################
############################################################################
####################### [OK]
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) 10000 Software (MWR1900-I-M), Version 12.2(xy), EARLY DEPLOYMENT RELEASE SOFTWARE
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Tue 04-Dec-01 23:20 by jsmith
Image text-base:0x600089C0, data-base:0x60B42000
cisco mwr1900 (R7000) processor (revision 0.5) with 98304K/32768K bytes of
Processor board ID 12345678901
R7000 CPU at 240Mhz, Implementation 39, Rev 3.3, 256KB L2 Cache
X.25 software, Version 3.0.0.
Primary Rate ISDN software, Version 1.1.
Toaster processor tmc has been reset.
2 FastEthernet/IEEE 802.3 interface(s)
2 Channelized T1/PRI port(s)
DRAM configuration is 64 bits wide with parity disabled.
55K bytes of non-volatile configuration memory.
39168K bytes of ATA Slot0 CompactFlash (Read/Write)
--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Step 2
When the following message appears, enter yes to begin the initial configuration dialog:
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system
Would you like to enter basic management setup? [yes/no]:y
Configuring global parameters:
Step 3
Enter a host name for the router (this example uses 1941-1):
Configuring global parameters:
Enter host name [Router]: 1941-1
Step 4
Enter an enable secret password. This password is encrypted (more secure) and cannot be seen when viewing the configuration:
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: xxxx
Step 5
Enter an enable password that is different from the enable secret password. This password is not encrypted (less secure) and can be seen when viewing the configuration:
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
Enter enable password: guessme
Step 6
Enter the virtual terminal password, which prevents unauthenticated access to the router through ports other than the console port:
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: guessagain
Step 7
Respond to the following prompts as appropriate for your network:
Configure SNMP Network Management? [yes]:
Community string [public]:
Step 8
The summary of interfaces is displayed. This list varies depending on the network modules, if any, installed in your router.
Current interface summary
Controller Timeslots D-Channel Configurable modes Status
T1 0/0 24 23 pri/channelized Administratively up
T1 0/1 24 23 pri/channelized Administratively up
T1 0/2 24 23 pri/channelized Administratively up
T1 0/3 24 23 pri/channelized Administratively up
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.18.46.74 YES NVRAM up up
FastEthernet0/1 150.0.1.0 YES NVRAM up up
Serial0/0:0 unassigned YES NVRAM up up
Serial0/1:0 unassigned YES NVRAM up up
Step 9
Specify the interface to be used to connect to the network management system.
Enter interface name used to connect to the
management network from the above interface summary:FastEthernet0/0
Step 10
You are then prompted to configure the specified interface.
Configuring interface FastEthernet0/0:
Use the 100 Base-TX (RJ-45) connector? [yes]:
Operate in full-duplex mode? [no]:
Configure IP on this interface? [yes]:no
Configuring Interface Parameters
From this point on in the setup process, the prompts you see vary depending on the network modules and WAN interface cards in place in your router. The following sections provide examples of the setup steps for each interface module. Refer to the sections appropriate to your router's configuration.
Configuration for network modules includes:
•
Ethernet Interface Configuration
•
FastEthernet Interface Configuration
•
Serial Interface Configuration
•
Asynchronous/Synchronous Serial Interface Configuration
When you complete the setup steps for your interface modules, go to the "Completing the Configuration" section for directions on saving your configuration.
Ethernet Interface Configuration
This section contains a sample configuration for the Ethernet interface. Enter the values appropriate for your router and network. The messages you see may vary.
Do you want to configure Ethernet0/0 interface [yes]:
Configure IP on this interface? [yes]:
IP address for this interface: 255.255.255.0
Subnet mask for this interface [255.0.0.0]:
Class A network is 1.0.0.0, 8 subnet bits, mask is /8
Configure IPX on this interface? [no]: y
Need to select encapsulation type
[1] snap (IEEE 802.2 SNAP)
[3] novell-ether (Novell Ethernet_802.3)
Enter the encapsulation type [2]:
FastEthernet Interface Configuration
This section contains a sample configuration for the FastEthernet interface. Enter the values appropriate for your router and network. The messages you see may vary.
Do you want to configure FastEthernet0/0 interface [yes]:
Use the 100 Base-TX (RJ-45) connector? [yes]:
Operate in full-duplex mode? [no]:
Configure IP on this interface? [no]: yes
IP address for this interface: 6.0.0.1
Number of bits in subnet field [0]:
Class A network is 6.0.0.0, 0 subnet bits, mask is /8
Configure IPX on this interface? [yes]:
Need to select encapsulation type
[1] snap (IEEE 802.2 SNAP)
[3] novell-ether (Novell Ethernet_802.3)
Enter the encapsulation type [2]:
Serial Interface Configuration
This section contains a sample configuration for the 1- or 2-port serial interface. Enter the values appropriate for your router and network. The messages you see may vary.
Do you want to configure Serial0/0 interface? [yes]:
Some encapsulations supported are
ppp/hdlc/frame-relay/lapb/atm-dxi/smds/x25
Choose encapsulation type [ppp]:
Note
The following sections describe the prompts for each encapsulation type. For PPP and HDLC encapsulation, no further configuration is needed.
Choose mode from (dce/dte) [dte]:
Note
If no cable is plugged in to your router, you need to indicate whether the interface is to be used as DTE or DCE. If a cable is present, the setup command facility determines the DTE/DCE status. If the serial cable is DCE, you see the following prompt:
Serial interface needs clock rate to be set in dce mode.
The following clock rates are supported on the serial interface.
1200, 2400, 4800, 9600, 19200, 38400
56000, 64000, 72000, 125000, 148000, 500000
800000, 1000000, 1300000, 2000000, 4000000, 8000000
Choose clock rate from above: [2000000]:
Configure IP on this interface? [yes]:
IP address for this interface: 2.0.0.1
Subnet mask for this interface [255.0.0.0]:
Class A network is 2.0.0.0, 8 subnet bits; mask is /8
Configure IPX on this interface? [no]: yes
Frame Relay Encapsulation
The following lmi-types are available to be set,
when connected to a frame relay switch
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]:
Do you want to map a remote machine's IP address to dlci? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map a remote machine's IPX address to dlci? [yes]:
IPX address for the remote interface: 40.1234.5678
Serial interface needs clock rate to be set in dce mode.
The following clock rates are supported on the serial interface.
1200, 2400, 4800, 9600, 19200, 38400
56000, 64000, 72000, 125000, 148000, 500000
800000, 1000000, 1300000, 2000000, 4000000, 8000000
choose speed from above: [2000000]: 1200
Configure IP on this interface? [yes]:
IP address for this interface: 2.0.0.1
Subnet mask for this interface [255.0.0.0]:
Class A network is 2.0.0.0, 8 subnet bits; mask is /8
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]:
IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode.
Choose either from (dce/dte) [dte]:
X.25 Encapsulation
x25 circuit can be either in dce/dte mode.
Choose from either dce/dte [dte]:
Enter local x25 address: 1234
We will need to map the remote x.25 station's x25 address
to the remote stations IP/IPX address
Enter remote x25 address: 4321
Do you want to map the remote machine's x25 address to IP address? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's x25 address to IPX address? [yes]:
IPX address for the remote interface: 40.1234.5678
Enter lowest 2-way channel [1]:
Enter highest 2-way channel [64]:
Enter frame window (K) [7]:
Enter Packet window (W) [2]:
Enter Packet size (must be powers of 2) [128]:
ATM-DXI Encapsulation
Do you want to map the remote machine's IP address to vpi and vci's? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's IPX address to vpi and vci's? [yes]:
IPX address for the remote interface: 40.1234.5678
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415
We will need to map the remote smds station's address
to the remote stations IP/IPX address
Enter smds address for the remote interface: c141.5556.1414
Do you want to map the remote machine's smds address to IP address? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's smds address to IPX address? [yes]:
IPX address for the remote interface: 40.1234.5678
Serial Cisco IOS Commands Generated
The following is an example of the Cisco IOS commands generated by a typical serial configuration:
ip address 2.0.0.1 255.0.0.0
Asynchronous/Synchronous Serial Interface Configuration
This section contains sample configurations for an asynchronous/synchronous serial interface. Enter the values appropriate for your router and network. The messages you see may vary.
Do you want to configure Serial1/0 interface? [yes]:
Enter mode (async/sync) [sync]:
Synchronous Configuration
If you select synchronous, you see screen displays similar to the following:
Do you want to configure Serial1/0 interface? [yes]:
Enter mode (async/sync) [sync]:
Some supported encapsulations are
ppp/hdlc/frame-relay/lapb/x25/atm-dxi/smds
Choose encapsulation type [hdlc]:
Note
The following sections describe the prompts for each encapsulation type. For PPP and HDLC encapsulation, no further configuration is needed.
Choose mode from (dce/dte) [dte]:
Note
If no cable is plugged in to your router, you need to indicate whether the interface is to be used as DTE or DCE. If a cable is present, the setup command facility determines the DTE/DCE status. If the serial cable is DCE, you see the following prompt:
Configure IP on this interface? [no]: yes
Configure IP unnumbered on this interface? [no]:
IP address for this interface: 2.0.0.0
Subnet mask for this interface [255.0.0.0]:
Class A network is 2.0.0.0, 0 subnet bits; mask is /8
Configure LAT on this interface? [no]:
Frame Relay Encapsulation
The following lmi-types are available to be set,
when connected to a frame relay switch
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]:
Do you want to map a remote machine's IP address to dlci? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map a remote machine's IPX address to dlci? [yes]:
IPX address for the remote interface: 40.1234.5678
Serial interface needs clock rate to be set in dce mode.
The following clock rates are supported on the serial interface.
1200, 2400, 4800, 9600, 19200, 38400
56000, 64000, 72000, 125000, 148000, 500000
800000, 1000000, 1300000, 2000000, 4000000, 8000000
choose speed from above: [2000000]: 1200
Configure IP on this interface? [yes]:
IP address for this interface: 2.0.0.1
Subnet mask for this interface [255.0.0.0]:
Class A network is 2.0.0.0, 8 subnet bits; mask is /8
Note
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]:
IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode.
Choose either from (dce/dte) [dte]:
X.25 Encapsulation
x25 circuit can be either in dce/dte mode.
Choose from either dce/dte [dte]:
Enter local x25 address: 1234
We will need to map the remote x.25 station's x25 address
to the remote stations IP/IPX address
Enter remote x25 address: 4321
Do you want to map the remote machine's x25 address to IP address? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's x25 address to IPX address? [yes]:
IPX address for the remote interface: 40.1234.5678
Enter lowest 2-way channel [1]:
Enter highest 2-way channel [64]:
Enter frame window (K) [7]:
Enter Packet window (W) [2]:
Enter Packet size (must be powers of 2) [128]:
ATM-DXI Encapsulation
Do you want to map the remote machine's IP address to vpi and vci's? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's IPX address to vpi and vci's? [yes]:
IPX address for the remote interface: 40.1234.5678
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415
We will need to map the remote smds station's address
to the remote stations IP/IPX address
Enter smds address for the remote interface: c141.5556.1414
Do you want to map the remote machine's smds address to IP address? [yes]:
IP address for the remote interface: 2.0.0.2
Do you want to map the remote machine's smds address to IPX address? [yes]:
IPX address for the remote interface: 40.1234.5678
Asynchronous Configuration
If you select asynchronous, you see screen displays similar to the following:
Do you want to configure Serial1/1 interface? [yes]:
Enter mode (async/sync) [sync]: async
Configure IP on this interface? [yes]:
Configure IP unnumbered on this interface? [no]:
IP address for this interface: 2.0.0.0
Subnet mask for this interface [255.0.0.0]:
Class A network is 2.0.0.0, 0 subnet bits; mask is /8
Configure LAT on this interface? [no]:
Configure AppleTalk on this interface? [no]:
Configure DECnet on this interface? [no]:
Configure CLNS on this interface? [no]:
Configure IPX on this interface? [no]: yes
Configure Vines on this interface? [no]:
Configure XNS on this interface? [no]:
Configure Apollo on this interface? [no]:
Completing the Configuration
When you have provided all the information prompted for by the setup command facility, the configuration appears (messages similar to the following):
The following configuration command script was created:
enable secret 5 $1$kA4t$2LpzAVTQADpqTMeqAIG3F0
interface FastEthernet0/0
interface FastEthernet0/1
To complete your router configuration, do the following:
Step 1
A setup command facility prompt asks if you want to save this configuration.
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]:
Building configuration...
Use the enabled mode 'configure' command to modify this configuration.
Press RETURN to get started!
If you answer no, the configuration information you entered is not saved, and you return to the router enable prompt. Type setup to return to the System Configuration Dialog.
If you answer yes, the configuration is saved and you are returned to the EXEC prompt.
Step 2
When the messages stop displaying on your screen, press Return to get the command line prompt.
The 1941-1> prompt indicates that you are now at the command-line interface (CLI) and you have just completed a basic router configuration. However, this is not a complete configuration. You must configure additional parameters using the Cisco IOS software CLI as described in Part 2, "Implementing the MWR 1941-DC Router in an IP-RAN".
Where to Go Next
At this point you can proceed to the following:
•
Part 2, "Implementing the MWR 1941-DC Router in an IP-RAN" for information on and details on how to complete the configuration of the interfaces, routing protocols, and other features when implementing the MWR 1941-DC router in an IP-RAN.
•
Part 3, "Configuring the MWR 1941-DC in a Cell Site DCN" for information on and details on how to complete the configuration of the interfaces, routing protocols, and other features when implementing the MWR 1941-DC router in an Cell Site DCN.
•
The Cisco IOS software configuration guide and command reference publications for more advanced configuration topics.
•
The Cisco 10000 ESR Quality of Service Documents for more information on configuring QoS.
These publications are available on the Documentation CD-ROM that came with your router, on the World Wide Web from Cisco's home page, or you can order printed copies.