![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Configuring the Cisco 2524 and Cisco 2525 Routers
This chapter describes how to configure the Cisco 2524 and Cisco 2525 routers and contains the following sections:
This chapter provides just enough information to get the router up and running. For Cisco IOS Release 11.0 and earlier releases, refer to the Router Products Configuration Guide for additional configuration information. For Cisco IOS Release 11.1 and later releases, refer to the Configuration Fundamentals Configuration Guide.
Each time you power on the router, it goes through the following boot sequence:
The first time you boot your router, you will need to configure the router interfaces and then save the configuration to a file in NVRAM. Proceed to the next section, "Configuring the Router," for configuration instructions.
You can configure the router using one of the following procedures:
Use the procedure that best fits the needs of your network configuration and level of Cisco IOS experience.
You can configure the router manually if you prefer not to use AutoInstall or the System Configuration Dialog. Take the following steps to configure the router manually:
Would you like to enter the initial dialog? [yes]: no
Router> enable
Router#
Router# configure terminal
To see the current operating configuration, enter the show running-config command at the enable prompt:
Router# show running-config
To see the configuration in NVRAM, enter the show startup-config command at the enable prompt:
Router# show startup-config
The results of the show running-config and show startup-config commands will be different if you have made changes to the configuration but have not yet written them to NVRAM.
To make your changes permanent, enter the copy running-config startup-config command at the enable prompt:
Router# copy running-config startup-config ********
The router is now configured and will boot with the configuration you entered.
The AutoInstall process is designed to configure the router automatically after connection to your WAN. In order for AutoInstall to work properly, a Transmission Control Protocol/Internet Protocol (TCP/IP) host on your network must be preconfigured to provide the required configuration files. The TCP/IP host may exist anywhere on the network as long as the following two conditions are maintained:
This functionality is coordinated by your system administrator at the site where the TCP/IP host is located. You should not attempt to use AutoInstall unless the required files have been provided on the TCP/IP host. For Cisco IOS Release 11.0 and earlier releases, refer to the publication Router Products Configuration Guide for additional information. For Cisco IOS Release 11.1 and later releases, refer to the publication Configuration Fundamentals Configuration Guide.
Take the following steps to prepare your router for the AutoInstall process:
Router# copy running-config startup-config
If you do not plan to use AutoInstall, make sure all the WAN cables are disconnected from the router. This will prevent the router from attempting to the run the AutoInstall process. The router will attempt to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the router does not have a configuration file stored in NVRAM. It can take several minutes for the router to determine that AutoInstall is not set up to a remote TCP/IP host.
If your router does not have a configuration (setup) file and you are not using AutoInstall, the router will automatically start the setup command facility. An interactive dialog called the System Configuration Dialog appears on the console screen. This dialog helps you navigate through the configuration process by prompting you for the configuration information necessary for the router to operate.
Many prompts in the System Configuration Dialog include default answers, which are included in square brackets following the question. To accept a default answer, press Return; otherwise, enter your response.
This section gives an example configuration using the System Configuration Dialog. When you are configuring your router, respond as appropriate for your network.
At any time during the System Configuration Dialog, you can request help by typing a question mark (?) at a prompt.
Before proceeding with the System Configuration Dialog, obtain from your system administrator the node addresses and the number of bits in the subnet field (if applicable) of the Ethernet and synchronous serial ports. For more information about Internet Protocol (IP) addresses and subnets, refer to the publication Internetworking Technology Overview. (See the section "Getting More Information" at the end of this chapter.)
Take the following steps to configure the router using the System Configuration Dialog:
System Bootstrap, Version X.X(XXXX) [XXXXX XX], RELEASE SOFTWARE Copyright (c) 1986-1992 by Cisco Systems 2500 processor with 4096 Kbytes of main memory Notice: NVRAM invalid, possibly due to write erase. F3: 5797928+162396+258800 at 0x3000060 Restricted Rights Legend 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. Cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) X000 Software (IGS-J-L), Version XX.X(XXXX) [XXXXX XXX] Copyright (c) 1986-1996 by Cisco Systems, Inc. Compiled Fri 20-Oct-95 16:02 by XXXXX Image text-base: 0x03030FC0, data-base: 0x00001000 Cisco 252X (68030) processor (revision A) with 4092K/2048K bytes of memory. Processor board ID 00000000 Bridging software. SuperLAT software copyright 1990 by Meridian Technology Corp). X.25 software, Version X.X, NET2, BFE and GOSIP compliant. TN3270 Emulation software (copyright 1994 by TGV Inc). Basic Rate ISDN software, Version X.X. 1 Ethernet/IEEE 802.3 interface. 2 Serial network interfaces. 1 ISDN Basic Rate interface. 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read ONLY) Notice: NVRAM invalid, possibly due to write erase. --- System Configuration Dialog --- At any point you may enter a question mark '?' for help. Refer to the 'Getting Started' Guide for additional help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. Would you like to enter the initial configuration dialog? [yes]:
First, would you like to see the current interface summary? [yes]: Any interface listed with OK? value "NO" does not have a valid configuration Interface IP-Address OK? Method Status Protocol Ethernet0 unassigned NO not set up down BRI0 unassigned NO not set up up Serial0 unassigned NO not set down down Serial1 unassigned NO not set down down
Configuring global parameters: Enter host name [Router]:
The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret: pail The enable password is used when there is no enable secret and when using older software and some boot images.
Enter enable password: shovel Enter virtual terminal password: vterm1
Configure SNMP Network Management? [yes]: no
Configure Vines? [no]: Configure LAT? [no]: Configure AppleTalk? [no]: yes Multizone networks? [no]: yes Configure DECnet? [no]: Configure IP? [yes]: Configure IGRP routing? [yes]: Your IGRP autonomous system number [1]: 15 Configure CLNS? [no]: Configure bridging? [no]: Configure IPX? [no]: yes Configure XNS? [no]: Configure Apollo? [no]:
Enter ISDN BRI Switch Type [none]: basic-5ess
Country | ISDN Switch Type | Description |
---|---|---|
Australia | basic-ts013 | Australian TS013 switches |
Europe | basic-1tr6 | German 1TR6 ISDN switches |
basic-nwnet3 | Norwegian NET3 ISDN switches (phase 1) | |
basic-net3 | NET3 ISDN switches (UK and others) | |
vn2 | French VN2 ISDN switches | |
vn3 | French VN3 ISDN switches | |
Japan | ntt | Japanese NTT ISDN switches |
North America | basic-5ess | AT&T basic rate switches |
basic-dms100 | NT DMS-100 basic rate switches | |
basic-ni1 | National ISDN-1 switches | |
New Zealand | basic-nznet3 | New Zealand NET3 switches |
This section explains how to configure the ISDN BRI interface. If an ISDN BRI WAN module is not installed in your router, skip this section and proceed with the next section, "Configuring the Ethernet or Token Ring Interfaces."
The ISDN BRI interface is configured to allow connection to ISDN WANs. To configure the ISDN BRI interface, respond as follows (using your addresses and subnet mask) to the setup prompts, substituting the correct addresses and host names as appropriate:
Configuring interface BRI0: Is this interface in use? [yes] Configure IP on this interface? [yes] IP address for this interface: 172.16.71.1 Number of bits in subnet field [0]: 8 lass B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 Configure AppleTalk on this interface? [no]: yes Extended AppleTalk network? [no]: yes AppleTalk starting cable range [0]: 1 AppleTalk ending cable range [1]: 2 AppleTalk zone name [myzone]: AppleTalk additional zone name: otherzone AppleTalk additional zone name: Configure IPX on this interface? [no]: yes IPX network number [1]: B000
Take the following steps to configure the Ethernet or Token Ring interface to allow communication over a LAN. To configure the interface parameters, you need to know your Ethernet or Token Ring interface network addresses. In this example, the system is being configured for an Ethernet LAN using IP.
Configuring interface Ethernet0: Is this interface in use? [yes]: Configure IP on this interface? [yes]: IP address for this interface: 172.16.72.1 Number of bits in subnet field [8]: 8 Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0
Configure AppleTalk on this interface? [no]: yes Extended AppleTalk network? [no]: yes AppleTalk starting cable range [0]: 3 AppleTalk ending cable range [1]: 3 AppleTalk zone name [myzone]: AppleTalk additional zone name: otherzone AppleTalk additional zone name:
Configure IPX on this interface? [no]: yes IPX network number [1]: B001
The synchronous serial interfaces are configured to allow connection to WANs. Once the Ethernet or Token Ting port on your router has been configured, take the following steps to configure the synchronous serial interfaces:
Configuring interface Serial0: Is this interface in use? [yes]:
Configure IP on this interface? [yes]: Configure IP unnumbered on this interface? [no]: IP address for this interface: 172.16.73.1 Number of bits in subnet field [8]: Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 Configure AppleTalk on this interface? [no]: yes Extended AppleTalk network? [yes]: AppleTalk starting cable range [2]: 4 AppleTalk ending cable range [3]: 4 AppleTalk zone name [myzone]: ZZ Serial AppleTalk additional zone name: Configure IPX on this interface? [no]: yes IPX network number [2]: B002
Configuring interface Serial1: Is this interface in use? [yes]: Configure IP on this interface? [yes]: Configure IP unnumbered on this interface? [no]: IP address for this interface: 172.16.74.2 Number of bits in subnet field [8]: Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 Configure AppleTalk on this interface? [no]: yes AppleTalk starting cable range [3]: 5 AppleTalk ending cable range [4]: 5 AppleTalk zone name [myzone]: ZZ Serial AppleTalk additional zone name: Configure IPX on this interface? [no]: yes IPX network number [3]: B003
Use this configuration? [yes/no]: yes Building configuration... Use the enabled mode 'configure' command to modify this configuration. Press RETURN to get started!
If you have an ISDN BRI WAN module, configure the BRI port for ISDN. This section explains typical ISDN configurations for one or two B channels. In the examples that follow, the BRI port is configured for IP routing, Challenge Handshake Authentication Protocol (CHAP), and Point-to-Point Protocol (PPP) encapsulation.
Take the following steps to configure the router for a basic ISDN PPP connection on a single B channel or two B channels, substituting the correct addresses and host names as appropriate for your network:
Router> enable password: enablepassword
Router# config term Router (config)# username targetrouter password abc
router (config)# isdn switch-type switch-type
Router (config)# interface bri port_number Router (config-if)# encapsulation ppp Router (config-if)# ppp authentication chap Router (config-if)# dialer map ip targetrouter_ipaddress targetrouter_phonenumber Router (config-if)# dialer-group groupnumber
Router (config-if)# isdn spid1 SPID_no phone_number Router (config-if)# isdn spid2 SPID_no phone_number
Router (config-if)# dialer load-threshold 128
Router (config-if)# access-list access-list-number permit ip sourcerouter-ipnetwork sourcerouter-subnetmask targetrouter-ipnetwork targetrouter-subnetmask Router (config)# dialer-list groupnumber list access-list-number
Router (config)# ip route targetrouter_ipnetwork subnetmask targetBRIport_ipaddress
This section explains how to configure the 2-wire switched 56-kbps and 4-wire 56/64-kbps DSU/CSU WAN modules for switched 56-kbps circuit-switched service.
You can configure the 2-wire switched 56-kbps DSU/CSU WAN module for switched 56-kbps service, but not Digital Data System ([DDS], which are leased or dedicated lines). The 4-wire 56/64-kbps DSU/CSU WAN module is configured for DDS as the factory default, but it can be configured for either switched 56/64-kbps service or DDS. (See the next section, "Configuring DDS.")
For Cisco IOS Release 11.0 and earlier releases, refer to the Router Products Command Reference for more information about the commands in this section. For Cisco IOS Release 11.1 and later releases, refer to the Configuration Fundamentals Command Reference.
Take the following steps to configure the 2-wire switched 56-kbps and 4-wire 56/64-kbps DSU/CSU WAN module for circuit-switched service, substituting the correct addresses and host names as appropriate for your network:
Router> enable password: enablepassword
Router# config term Router(config)#
Router(config)# interface serial port_number Router(config-if)# ip address ipaddress subnetmask Router(config-if)# no keepalive
Router(config-if)# service-module 56k network-type switched
Router(config-if)# service-module 56k switched-carrier carrier
Router(config-if)# dialer in-band Router(config-if)# dialer string targetrouter_phonenumber Router(config-if)# dialer-group groupnumber Router(config-if)# exit Router(config)# dialer-list groupnumber protocol protocol permit Router(config)#
Router(config)# exit Router# exit Router>
The 4-wire 56/64-kbps DSU/CSU WAN module is configured for DDS (which are leased or dedicated lines) as the factory default, but it can be configured for either switched 56/64-kbps service or DDS. The DDS configuration is described in this section. To configure the 4-wire 56/64-kbps DSU/CSU WAN module for circuit-switched service, follow the instructions in the previous section, "Configuring Switched 56."
For Cisco IOS Release 11.0 and earlier releases, refer to the Router Products Command Reference for more information about the commands in this section. For Cisco IOS Release 11.1 and later releases, refer to the Configuration Fundamentals Command Reference.
Take the following steps to configure the 4-wire 56/64-kbps DSU/CSU WAN module for DDS, substituting the correct addresses and host names as appropriate for your network:
Router> enable password: enablepassword
Router# config term Router(config)#
Router(config)# interface serial port_number Router(config-if)# ip address ipaddress subnetmask Router(config-if)# no keepalive
Router(config-if)# service-module 56k network-type dds
Router(config-if)# exit Router(config)# exit Router# exit Router>
This section describes how to configure the fractional T1/T1 DSU/CSU WAN module. This module is configured for Extended Superframe Format (ESF) signal format, bipolar eight zero substitution (B8ZS), and full bandwidth as the factory default. Depending on your networking environment, you might need to change these settings.
For Cisco IOS Release 11.0 and earlier releases, refer to the Router Products Command Reference for more information about the commands in this section. For Cisco IOS Release 11.1 and later releases, refer to the Configuration Fundamentals Command Reference.
Take the following steps to configure the fractional T1/T1 DSU/CSU WAN module for a typical leased-line connection, substituting the correct addresses and host names as appropriate for your network:
Router> enable password: enablepassword
Router# config term Router(config)#
Router(config)# interface serial port_number Router(config-if)# ip address ipaddress subnetmask Router(config-if)# no keepalive
Router(config-if)# service-module t1 framing framing_type Router(config-if)# service-module t1 linecode linecode_type
Router(config-if)# service-module t1 timeslots 1-20 speed 64
Router(config-if)# exit Router(config)# exit Router# exit Router>
You can enter multiple boot commands in the configuration in NVRAM to provide a backup method for loading the Cisco IOS image onto the router. The router boots using the first boot command that succeeds. If you enter multiple boot commands, the router executes them in the order they are entered. There are two ways to load the Cisco IOS image: from Flash memory or from a TFTP server on the network.
Router> enable Password: enablepassword Router# configure terminal Router (config)# boot system flash filename Router (config)# Ctrl-Z Router# copy running-config startup-config Building configuration ... [OK] Router# exit Router>
Router> enable Password: enablepassword Router# configure terminal Router (config)# boot system tftp filename ipaddress Router (config)# Ctrl-Z Router# copy running-config startup-config Building configuration ... [OK] Router# exit Router>
For more information about the configure terminal command, refer to the Router Products Configuration Guide publication for Cisco IOS Release 11.0 and earlier releases. Refer to the Configuration Fundamentals Configuration Guide for Cisco IOS Release 11.1 and later releases.
Enter the show version command to check the software version (third line from the top in the following display) and configuration register setting (at the end of the following display):
Router> show version Cisco Internetwork Operating System Software IOS (tm) XX00 Software (XXX-X-X), RELEASE SOFTWARE XX.X(XXXX) [XXX] Copyright (c) 1986-1996 by Cisco Systems, Inc. Compiled Tue XX-XXX-XX 13:07 by XXXXX Image text-base: 0x03032810, data-base: 0x00001000 ROM: System Bootstrap, Version X.X(XXXX) [XXXXX], RELEASE SOFTWARE ROM: XX00 Bootstrap Software (XXX-BOOT-X), Version XX.X(XXXXX) [XXXXX] Router uptime is 4 minutes System restarted by power-on System image file is "flash:XXX/XXX-X-X.Nov14", booted via flash Cisco XXXX(68030) processor (revision X) with 4092K/2048K bytes of memory. Processor board ID 00000000 Bridging software. SuperLAT software copyright 199X by Meridian Technology Corp). X.25 software, Version X.X, NET2, BFE and GOSIP compliant. TN3270 Emulation software (copyright 199X by TGV Inc). 1 Ethernet/IEEE 802.3 interface. 2 Serial network interfaces. No module installed for Serial Interface 0 No module installed for Serial Interface 1 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read ONLY) Configuration register is 0x2102 Router>
For more information about router software configuration, refer to the following publications for Cisco IOS Release 11.0 and earlier:
For Cisco IOS Release 11.1 and later, refer to the following publications:
These publications are available on Cisco Connection Documentation CD-ROM, Cisco's online library of product information. To order Cisco Connection Documentation CD-ROM, or paper documentation, refer to the Cisco Information Packet publication that accompanied your router.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Copyright 1988-1996 © Cisco Systems Inc.