Table Of Contents
Commissioning
Commissioning the Cisco AS5800 Hardware
Understanding the Basic Hardware Architecture
Cisco 7206 Router Shelf and Cisco 5814 Dial Shelf
Call-Processing Components
Task 1. Verifying Basic Setup
Analyzing the System Boot Dialog
Matching the Cisco IOS Software Images
Inspecting the Dial Shelf
DSC Troubleshooting Tips
Feature-Card Troubleshooting Tips
Using DSIP
Checking the Initial Running-Config
Exploring the Cisco IOS File System
Investigating Memory Usage
Verifying CPU Utilization
Task 2. Configuring Basic Cisco IOS Software
Configuring the Host Name, Enable Secret Password, and Time Stamps
Configuring Local AAA Security
Setting Up a Log In Banner
Configuring Basic IP
Task 3. Enabling the T3/T1 Controllers
Task 4. Configuring the Serial Interfaces
Task 5. Configuring Modems and Lines
Task 6. Enabling IP Basic Setup
Task 7. Testing Asynchronous EXEC Shell Connections
Task 8. Confirming the Final Running Configuration
Commissioning
Whether you are a corporate end user or a competitive Internet service provider (ISP), you have purchased a Cisco AS5800 network access server (NAS) to provide dialup services that facilitate accessibility for remote or roaming personnel, or Internet admission to consumers for e-mail, e-commerce, and web browsing.
This chapter details Cisco AS5800 commissioning, or the formal functional setup of the equipment, through systematic software configurations, to initially prepare the system for data/voice call processing.
In our discussion, local-based authentication is used. After the Cisco AS5800 hardware is commissioned, PPP is configured and tested as described in"Configuring PPP and Authentication" section on page 3-25.
Note
A AAA RADIUS server is recommended. AAA Radius server discussions are available in the "Configuring RADIUS" section on page 4-14.
Commissioning the Cisco AS5800 Hardware
This section describes configuring the Cisco AS5800 hardware to support terminal EXEC shell services and log in prompts for client modems, and includes the following:
•
Understanding the Basic Hardware Architecture
•
Task 1. Verifying Basic Setup
•
Task 2. Configuring Basic Cisco IOS Software
•
Task 3. Enabling the T3/T1 Controllers
•
Task 4. Configuring the Serial Interfaces
•
Task 5. Configuring Modems and Lines
•
Task 6. Enabling IP Basic Setup
•
Task 7. Testing Asynchronous EXEC Shell Connections
•
Task 8. Confirming the Final Running Configuration
Note
For a description of terminal EXEC shell services, see the "Task 7. Testing Asynchronous EXEC Shell Connections" section.
Understanding the Basic Hardware Architecture
To build an access network using the Cisco AS5800, it is necessary to understand:
•
The Cisco 7206 router shelf
•
The Cisco 5814 dial shelf
•
Call-processing components
Cisco 7206 Router Shelf and Cisco 5814 Dial Shelf
The Cisco AS5800 access server contains:
•
A Cisco 7206 router shelf (egress interface). It connects to the IP backbone.
•
A Cisco 5814 dial shelf (ingress interface). It connects to the PSTN.
Figure 2-1 shows the Cisco AS5800 system architecture.
Figure 2-1 Cisco AS5800 System Architecture
Note
The Cisco IOS software uses a three-element notation to specify interface and port locations: shelf/slot/port.
•
The Cisco 7206 router shelf contains the following:
–
Port adapters. In the example, the Cisco 7206 uses Fast Ethernet (FE) 0/1/0 to connect to the IP backbone.
–
A dial-shelf interconnect (DSI) port adapter. In the example, the adapter is located at 0/2/0.
The Cisco 7206 communicates with the Cisco 5814 dial shelf through an external dial-shelf interconnect cable. The cable connects from the DSI port adapter to the dial-shelf controller (DSC) card.
The Dial Shelf Interconnect Protocol (DSIP) enables communication between the Cisco 7206 and the Cisco 5814.
–
Service adapters (for example, compression and encryption).
–
By default, a shelf ID of 0 is assigned to the router shelf.
•
The Cisco 5814 dial shelf contains the following:
–
Dial-shelf controller (DSC) cards. They fit in slots 12 or 13 only. If you have one DSC card, slot 12 is recommended. One DSC card is used in the example.
The DSC card contains its own Cisco IOS software image. For maintenance purposes only, the card can be accessed through its console port and Ethernet interface. No IP packets originating from any trunk or modem cards go out this Ethernet interface.
–
T3/T1/E3/E1 cards. They connect to the PSTN and fit in slots 0 through 5 only. Slots 0 and 1 are recommended. In the example, one T3 trunk card is located at 1/0/0.
–
Modem/voice cards. They fit in slots 0 through 11. In the example, nine modem cards are installed. The first modem card is in slot 2. The line-modem range is 1/2/00 to 1/10/143.
–
By default, a shelf ID of 1 is assigned to the dial shelf.
•
The Cisco SC3640 system controller is an external management subsystem. It interfaces with the Cisco 7206 and provides the following functions:
–
SNMP and syslog offloading
–
Out-of-band console access
Call-Processing Components
As shown in Figure 2-2, the following components process a call:
•
Client modems and ISDN routers dial in to the access server through the PSTN.
•
Asynchronous PPP calls (analog) connect to modems inside the access server.
•
Each modem inside the access server provides a corresponding TTY line and asynchronous interface for terminating character and packet mode services.
•
Asynchronous interfaces clone their configurations from a group-async interface.
•
Synchronous PPP calls (digital) connect to serial interface channels (for example, S1/0/0:0:0 and S1/0/0:0:1).
•
Synchronous interfaces clone their configurations from a dialer interface.
Figure 2-2 Cisco AS5800 Call-Processing Components
One asynchronous PPP call requires:
•
(1) T1 DS0 channel
•
(1) channel in a TDM bus
•
(1) integrated modem
•
(1) TTY line
•
(1) asynchronous interface
One synchronous PPP call requires:
•
(1) T1 DS0 channel
•
(1) serial interface channel
Tips
Synchronous PPP calls require HDLC resources. Each T3 trunk card is limited to 256 HDLC resources. T1 trunk cards do not have HDLC resource limitations.
Task 1. Verifying Basic Setup
Verify that basic system components are functioning:
•
Analyzing the System Boot Dialog
•
Matching the Cisco IOS Software Images
•
Inspecting the Dial Shelf
•
Using DSIP
•
Checking the Initial Running-Config
•
Exploring the Cisco IOS File System
•
Investigating Memory Usage
•
Verifying CPU Utilization
Analyzing the System Boot Dialog
To view the boot sequence through a terminal session, you must have a console connection to the access server before it powers up.
Caution 
Always power up the dial shelf before the router shelf. The DSC card checks the dial shelf's inventory, which requires extra time. After two minutes, power up the router shelf. The router shelf depends on the DSC card for the dial shelf's inventory report.
The following boot sequence occurs. Event numbers and comments are inserted in the example to describe the boot sequence.
System Bootstrap, Version x.x
Copyright (c) 20xx by cisco Systems, Inc.
C7200 processor with 131072 Kbytes of main memory
Self decompressing the image :
##########################################################################################
################################################# [OK]
%PA-2-UNDEFPA: Undefined Port Adaptor type 106 in bay 2
%SYS-4-CONFIG_NEWER: Configurations from version 12.x may not be correctly understood.
%OIR-3-SEATED: Insert/removal failed (slot 2), check card seating
%OIR-3-SEATED: Insert/removal failed (slot 2), check card
seatingCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Read 7314384 bytes from file slot0:c5800-p4-mz.120-4.XL1.bin
Self decompressing the image :
##########################################################################################
##########################################################################################
##########################################################################################
##########################################################################################
####################################################### [OK]
•
In the previous segment, the NAS decompresses the system boot image, tests the NVRAM for validity, and decompresses the Cisco IOS software image.
Sometimes boot images do not support hardware cards. Sample error messages look like this:
%PA-2-UNDEFPA: Undefined Port Adapter
%OIR-3-SEATED: Insert/removal failed
Ignore these messages and do not ignore error messages that appear after the Cisco IOS software image decompresses.
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) 5800 Software (C5800-P4-M),
Version 12.x
TAC:Home:SW:IOS:Specials for info
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 12-Aug-99 13:16 by ayeh
Image text-base: 0x60008900, data-base: 0x611A6000
cisco 7206 (NPE400) processor with 114688K/16384K bytes of memory.
R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache
6 slot midplane, Version x
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
1 FastEthernet/IEEE 802.3 interface(s)
125K bytes of non-volatile configuration memory.
4096K bytes of packet SRAM memory.
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
4096K bytes of Flash internal SIMM (Sector size 256K).
•
The following components are detected:
–
Cisco IOS release
–
Available memory
–
Available interfaces
Note
If a hardware card is not recognized, verify that you are running the optimum version of Cisco IOS software. Refer to the hardware-software compatibility matrix available online at
http://cco-sj-1.cisco.com/cgi-bin/front.x/Support/HWSWmatrix/hwswmatrix.cgi
The following system message and prompt appears.
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: no
•
Because the NAS has never been configured, the Cisco IOS software cannot find a startup-config file. In this example, the Cisco IOS software is configured manually. The automatic setup script is not used.
00:00:52: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 12 Succeeded
00:00:53: %DSC_REDUNDANCY-3-BICLINK: Switching to DSC 12
00:00:56: %DSC_REDUNDANCY-3-BICLINK: Link to active DSC up
00:02:05: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 0 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 2 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 3 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 4 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 5 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 6 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 7 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 8 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 9 Succeeded
00:02:06: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 10 Succeeded
Press RETURN to get started!
•
By using DSIP, the router shelf detects the state of each card in the dial shelf.
Depending on the number of cards in the dial shelf, there is a delay of 60 to 120 seconds before the "DSIP Hello" messages are displayed on your terminal session.
After powering up the Cisco AS5800, enter the show environment command. Verify that there are no critical grounding, heating, or power problems. The following shows an operating environment.
5800-NAS> show environment
All measured values are normal
5800-NAS> show environment all
Power supply 2 is Zytek AC Power Supply. Unit is on.
chassis inlet measured at 25C/77F
chassis outlet 1 measured at 27C/80F
chassis outlet 2 measured at 33C/91F
chassis outlet 3 measured at 41C/105F
+3.45 V measured at +3.49 V
+5.15 V measured at +5.21 V
+12.15 measured at +12.34 V
-11.95 measured at -11.81 V
Envm stats saved 1 time(s) since reload
Matching the Cisco IOS Software Images
The dial shelf and router shelf run separate Cisco IOS software images:
•
Both images must be from the same Cisco IOS release. They must match. Cisco IOS Release 12.0(4)XL1 is used in this example.
•
The router shelf's image is in the Cisco 7206s Flash memory. It begins with "c5800." The dial shelf's image is in the DSC card. It begins with "dsc."
On the router shelf, check the Cisco IOS software image, uptime, and restart reason:
Cisco Internetwork Operating System Software IOS (tm) 5800 Software (C5800-P4-M), Version
12.x
TAC:Home:SW:IOS:Specials for info
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 12-Aug-99 13:16 by ayeh
Image text-base: 0x60008900, data-base: 0x611A6000
ROM: System Bootstrap, Version xCA,
BOOTFLASH: 7200 Software (C7200-BOOT-M), Version x
Router uptime is 2 minutes
System returned to ROM by reload
System image file is "slot0:c5800-p4-mz.120-4.XL1.bin"
cisco 7206 (NPE400) processor with 114688K/16384K bytes of memory.
R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 Cache
6 slot midplane, Version x
X.25 software, Version 3.0.0.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
1 FastEthernet/IEEE 802.3 interface(s)
125K bytes of non-volatile configuration memory.
4096K bytes of packet SRAM memory.
20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102
Table 2-1 describes the significant output fields in the previous display:
Table 2-1 Show Version Command Field Descriptions
Field
|
Description
|
5800 Software (C5800-P4-M),
Version 12.x
|
Cisco IOS software version.
|
Router uptime is 2 minutes
|
Reports the router's uptime. Watch for unscheduled reloads.
|
System returned to ROM by
reload
|
Describes why the access server last reloaded. If the field displays "power-on," a power interruption caused the reload.
|
System image file is
"slot0:c5800-p4-mz.120-4.XL1
.bin"
|
The Cisco 7206 router shelf booted from the external PCMCIA Flash card at slot 0.
The router shelf does not have internal Flash memory. If the PCMCIA Flash card is missing, the router shelf will not boot.
|
On the dial shelf, check the Cisco IOS software image, uptime, and restart reason. If you do not have a physical console connection to the dial shelf, enter the execute-on slot [12 | 13] show version command. The DSC can be in slot 12 or 13.
5800# execute-on slot 12 show version
Cisco Internetwork Operating System Software IOS (tm) 5800 Software (C5800-DSC-M), Version
12.x
TAC:Home:SW:IOS:Specials for info
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Thu 12-Aug-99 18:48 by ayeh
Image text-base: 0x600088F0, data-base: 0x60520000
ROM: System Bootstrap, Version xAA
ROM: 5800 Software (C5800-DSC-M), Version xAA2
DA-Slot12 uptime is 20 hours, 38 minutes
System returned to ROM by reload
System image file is "slot0:dsc-c5800-mz.120-4.XL1.bin"
cisco c5800 (R4K) processor with 24576K/8192K bytes of memory.
R4700 CPU at 150Mhz, Implementation 33, Rev 1.0, 512KB L2 Cache
1 Ethernet/IEEE 802.3 interface(s)
2 Dial Shelf Interconnect(DSI) FE interface(s)
123K bytes of non-volatile configuration memory.
8192K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102
Inspecting the Dial Shelf
Verify that feature cards are up (T3, T1, E3, E1, modem, or voice):
Slot Board CPU DRAM I/O Memory State Elapsed
Type Util Total (free) Total (free) Time
0 CT3 0%/0% 21598976( 81%) 8388608( 41%) Up 00:01:35
2 Modem(DMM) 20%/20% 46764800( 86%) 16777216( 74%) Up 00:01:35
3 Modem(DMM) 0%/0% 46764800( 86%) 16777216( 74%) Up 00:01:35
4 Modem(DMM) 20%/20% 46764800( 86%) 16777216( 74%) Up 00:01:35
5 Modem(DMM) 20%/20% 46764800( 86%) 16777216( 74%) Up 00:01:35
6 Modem(DMM) 40%/40% 46764800( 86%) 16777216( 74%) Up 00:01:35
7 Modem(DMM) 40%/40% 46764800( 86%) 16777216( 74%) Up 00:01:35
8 Modem(DMM) 35%/35% 46764800( 86%) 16777216( 74%) Up 00:01:35
9 Modem(DMM) 0%/0% 46764800( 86%) 16777216( 74%) Up 00:01:35
10 Modem(DMM) 20%/20% 46764800( 86%) 16777216( 74%) Up 00:01:34
12 DSC 0%/0% 19097792( 79%) 8388608( 66%) Up 00:02:49
Dial shelf set for auto boot
•
Always power up the dial shelf before the router shelf. Allow two to three minutes for the DSC card to take an inventory of the dial shelf.
•
If the DSC card goes down after the feature cards are up, the system will still function properly. This event will not bring down the system. However, online insertion and removal (OIR) will not work.
•
Possible dial-shelf states include: unknown, down, resetting, booting, and up. The "Up" state means that the card can communicate with the router shelf.
•
Each modem card contains its own DRAM memory. Double-density modem modules (DMM) require at least 64 MB of memory with Cisco IOS Release 12.0. Hex modem modules (HMM) require at least 32 MB with Cisco IOS Release 11.3. Each card performs its own call processing.
•
A fully populated DMM card contains 144 modems. The dial shelf in the example contains 1296 modems.
•
A normal CPU utilization range for modem cards is between 20 to 40 percent.
DSC Troubleshooting Tips
If the DSC card does not come up, perform the following troubleshooting steps. If the DSC card never comes up, the feature cards in the dial shelf cannot communicate with the router shelf.
Step 1
Look for LED lights on the DSC card. If the lights are off, try reseating the card.
Step 2
Verify that the DSI port adapter on the Cisco 7206 is inserted correctly.
Step 3
Verify that the cable between the DSI port adapter and the DSC card is connected correctly.
Step 4
From the Cisco 7206, verify that the DSI-Fast Ethernet interface and line protocol are up:
DSI-Fastethernet0/2/0 is up, line protocol is up
Hardware is DEC21140A, address is 0030.f2f5.1438 (bia 0030.f2f5.1438)
MTU 0 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
Note
The following example shows a dial-shelf interconnection that changes state to up after the DSC card reloads. Loss of DSIP Keepalive messages indicate no communication between the router shelf and dial shelf. After DSIP Hello messages succeed, the Fast Ethernet DSI-Tx 0 and DSI-Rx 1 change their state to up. Until these interfaces are up, the router shelf and dial shelf cannot communicate. No debug commands are used to create these console messages; however, the terminal monitor command is required to view messages.
00:04:29: %DSIPPF-5-DS_KEEPALIVE_LOSS: DSIP Keepalive Loss from shelf 1 slot 12
00:05:12: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 12 Succeeded
00:00:03: %LINK-3-UPDOWN: Interface DSI-Tx-FastEthernet0, changed state to up
00:00:03: %LINK-3-UPDOWN: Interface DSI-Rx-FastEthernet1, changed state to up
00:00:03: %LINK-3-UPDOWN: Interface Ethernet0, changed state to up
Note
Verify that console logging is disabled. Enter the show logging command. If logging is enabled, the access server might intermittently freeze up as soon as the console port gets overloaded with log messages. Enter the no logging console command.
The following messages appear on the console-terminal session after the DSC card is physically removed from slot 12 and re-inserted. Approximately 120 seconds elapse before all these messages appear.
04:41:42: %DSC_REDUNDANCY-3-BICLINK: Link to active DSC down
04:42:13: %ISDN-6-LAYER2DOWN: Layer 2 for Interface Se1/0/0:4:23, TEI 0 changed to down
04:42:14: %DSC_REDUNDANCY-3-BICLINK: Link to active DSC up
04:42:36: %DSIPPF-5-DS_KEEPALIVE_LOSS: DSIP Keepalive Loss from shelf 1 slot 2
04:42:36: %DSIPPF-5-DS_KEEPALIVE_LOSS: DSIP Keepalive Loss from shelf 1 slot 3
04:42:46: %DSIPPF-5-DS_KEEPALIVE_LOSS: DSIP Keepalive Loss from shelf 1 slot 0
04:42:46: %DSIPPF-5-DS_KEEPALIVE_LOSS: DSIP Keepalive Loss from shelf 1 slot 12
04:42:53: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 12 Succeeded
04:44:59: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 0 Succeeded
04:45:02: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 2 Succeeded
04:45:03: %DSIPPF-5-DS_HELLO: DSIP Hello from shelf 1 slot 3 Succeeded
The following boot sequence occurs in the previous example:
a.
The DSC card takes 32 seconds to boot up. Afterwards, the card checks the dial shelf's inventory.
b.
The dial shelf exchanges hardware inventory information with the router shelf. After the exchange, the router shelf instructs the DSC card to load the appropriate boot images into the feature cards.
c.
More than two minutes elapse before the DSC card detects the first "DSIP Hello" message from the first feature card (in shelf 1 slot 0). If the DSC card never comes up, the feature cards in the dial shelf cannot communicate with the router shelf.
d.
The router shelf gives the feature cards the appropriate images.
Step 5
If the DSC card is still down, the card might have an incorrect Cisco IOS software image, or the Flash card is missing (ROM monitor mode). Open a physical console connection to the DSC card, copy an image into boot Flash memory, and re-initialize the system.
Step 6
For advanced troubleshooting measures after the DSC card is up, open a virtual-console session to the DSC card (DA-Slot12). To end the session, enter Ctrl C three times:
5800# dsip console slave 12
Trying Dial shelf slot 12 ...
Entering CONSOLE for slot 12
Type "^C^C^C" to end this session
Terminate NIP IO session? [confirm]
[Connection to Dial shelf slot 12 closed by local host]
Caution 
The router shelf provides the DSC card with the required configuration. Do not change the DSIP settings in the DSC card configuration.
Feature-Card Troubleshooting Tips
If the show dial-shelf command reports that feature cards are booting for extended periods of time, start debugging from the router shelf by using the following commands:
•
Debug dsip transport shows the registered MAC address sent from each feature board.
•
Debug dsip trace displays detailed DSIP Hello and Keepalive messages.
•
Debug dsip boot shows if the router shelf is sending the boot image to the feature cards.
Using DSIP
The router shelf communicates with the dial shelf using:
•
Fast Ethernet interconnect cable
•
Dial Shelf Interconnect Protocol (DSIP)
For the DSIP command reference and other system management functions, refer to Dial and System Management Commands for the Cisco AS5800, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113aa/113aa_2/58cfeats/c5800uas.htm
To understand how DSIP functions, enter commands from the following bullet list:
•
Verify that the connection between the router shelf and dial shelf is up. The DSI-Fast Ethernet interface is located at 0/2/0 in the Cisco 7206. Note that the output from the show dsi command is different from the show dsip command.
DSI-Fastethernet0/2/0 is up, line protocol is up
Hardware is DEC21140A, address is 00d0.d342.4c38 (bia 00d0.d342.4c38)
MTU 0 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
•
Verify that each feature card's MAC address is registered by DSIP. Unregistered cards cannot communicate with the system. Shelf 0 is the router shelf (master). Shelf 1 is the dial shelf (slave).
5800# show dsip transport
DSIP transport statistics:
IPC : input msgs=4309, bytes=509139; output msgs=4308, bytes=291468
total consumed ipc msgs=2133; total freed ipc msgs = 2133
transmit contexts in use = 13, free = 243, zombie = 0, invalid = 0
ipc getmsg failures = 0, ipc timeouts=0
core getbuffer failures=0, api getbuffer failures=0
dsip test msgs rcvd = 0, sent = 0
CNTL : input msgs=20927, bytes=738902; output msgs=20350, bytes=29816080
DATA : input msgs=1076, bytes=38736; output msgs=0, bytes=0
DSIP Private Buffer Pool Hits = 0
DSIP registered addresses:
Shelf0 : Master: 00d0.d342.4c38, Status=local
Shelf1 : Slot0 : 0090.bf52.4e00, Status=remote
Shelf1 : Slot2 : 0090.bf52.4e10, Status=remote
Shelf1 : Slot3 : 0090.bf52.4e18, Status=remote
Shelf1 : Slot4 : 0090.bf52.4e20, Status=remote
Shelf1 : Slot5 : 0090.bf52.4e28, Status=remote
Shelf1 : Slot6 : 0090.bf52.4e30, Status=remote
Shelf1 : Slot7 : 0090.bf52.4e38, Status=remote
Shelf1 : Slot8 : 0090.bf52.4e40, Status=remote
Shelf1 : Slot9 : 0090.bf52.4e48, Status=remote
Shelf1 : Slot10: 0090.bf52.4e50, Status=remote
Shelf1 : Slot12: 0090.bf52.4e60, Status=remote
•
Verify that all feature cards are running DSIP versions that are compatible with the router shelf:
DSIP version information:
Local DSIP major version = 5, minor version = 2
All feature cards are running DSIP versions compatible with router shelf
Local clients registered versions:
------------------------------------
Client Name Major Version Minor Version
Logger No version No version
TDM No version No version
Trunk No version No version
Async data No version No version
Environment No version No version
FILESYS No version No version
Split DS No version No version
DSIP Test No version No version
Mismatched remote client versions:
-----------------------------------
Note
This command also reports mismatched Cisco IOS software versions. No mismatches exist in this example.
Checking the Initial Running-Config
The Cisco IOS software creates an initial running configuration. To familiarize yourself with default settings, inspect the software configuration as follows:
Step 1
Display the configuration on the Cisco 7206 router shelf:
5800# show running-config
Building configuration...
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
pool-range 1/2/0-1/10/143
firmware ios-bundled default
modem recovery action none
isdn voice-call-failure 0
interface FastEthernet0/1/0
group-range 1/2/00 1/10/143
Step 2
Without connecting to the DSC, display the configuration on the Cisco 5814 dial shelf:
5800# execute-on slot 12 show running-config
Building configuration...
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
Exploring the Cisco IOS File System
Familiarize yourself with the file system and memory storage areas. The Cisco IOS file system provides a consolidated interface to:
•
The Flash memory file system
•
The network file system (TFTP, rcp, and FTP)
•
Any other endpoint for reading or writing data (such as NVRAM, modem firmware, the running configuration, ROM, raw system memory, Xmodem, and Flash load helper log).
Figure 2-3 shows the memory locations inside the Cisco AS5800.
Figure 2-3 Cisco AS5800 Memory Locations
Table 2-2 describes the memory locations shown in Figure 2-3.
Table 2-2 Memory Location Descriptions
Component
|
Description
|
CPU (NPE400)
|
Central processing unit.
|
Processor memory
|
The Cisco IOS software image is initially read out of Flash memory, decompressed, and loaded into processor memory (also known as main memory).
Routing tables, call control blocks, and other data structures are also stored here.
|
Packet I/O memory
|
Packets are temporarily stored in I/O memory.
|
slot0: flash: slot1:
|
PCMCIA Flash memory cards in the router shelf. They store Cisco IOS software images, modem firmware/portware, and custom web pages.
|
bootflash:
|
Flash memory on the Cisco 7206's motherboard.
|
nvram:
|
Nonvolatile configuration memory.
|
dsc12-slot0: dsc12-slot1:
|
PCMCIA Flash memory cards in the DSC card.
|
dsc12-bootflash:
|
Flash memory on DSC card's motherboard.
|
dsc12-nvram:
|
Nonvolatile configuration memory in the DSC card.
|
To verify the file system, enter commands from the following bullet list:
•
View the different file storage areas and file management functions. Additionally, verify that you have everything you ordered from manufacturing, such as Flash memory. The asterisk (*) indicates the current directory.
Size(b) Free(b) Type Flags Prefixes
129016 128277 nvram rw nvram:
* 20578304 13263792 flash rw slot0: flash:
3407872 1286636 flash rw bootflash:
7995392 5825440 flash rw dsc12-slot0:
- - flash rw dsc12-slot1:
3407872 1575412 flash rw dsc12-bootflash:
126968 126968 nvram rw dsc12-nvram:
•
Display the objects in the system memory directory:
2 dr-x 0 <no date> memory
1 -rw- 787 <no date> running-config
No space information available
Tips
Remember to include the trailing colon (:) in the dir commands.
•
Inspect the Flash memory on the router and dial shelves. Both images must have matching Cisco IOS release number. In this example, both images are from Cisco IOS Release 12.0(4)XL1. As the chassis boots up, the images are copied, decompressed, and loaded into DRAM memory.
1 -rw- 7314384 Sep 13 1999 20:03:41 c5800-p4-mz.120-4.XL1.bin
20578304 bytes total (13263792 bytes free)
Directory of dsc12-slot0:/
1 -rw- 2169824 Sep 13 1999 20:28:53 dsc-c5800-mz.120-4.XL1.bin
7995392 bytes total (5825440 bytes free)
•
Inspect the bootFlash on both shelves:
1 -rw- 2121108 Jan 01 2000 00:00:48 c7200-boot-mz.111-24.CC
3407872 bytes total (1286636 bytes free)
5800# dir dsc12-bootflash:
Directory of dsc12-bootflash:/
1 -rw- 2169824 Nov 18 1999 22:18:30 dsc-c5800-mz.120-4.XL1.bin
3407872 bytes total (1237920 bytes free)
Tips
Keep a backup copy of the dial shelf's image in boot Flash. Someone may take PCMCIA Flash cards without notification. The dial shelf does not have its own connection to the IP backbone for image upgrade purposes.
The squeeze command is required to remove deleted files:
5800-NAS# delete dsc-c5800-mz.113-9.AA2
Delete filename [dsc-c5800-mz.113-9.AA2]?
Delete dsc12-bootflash:dsc-c5800-mz.113-9.AA2? [confirm]
5800-NAS# squeeze dsc12-bootflash:
All deleted files will be removed. Continue? [confirm]
Squeeze operation may take a while. Continue? [confirm]
All deleted files will be removed. Continue? [confirm]
Squeeze operation may take a while. Continue? [confirm]
Squeeze of bootflash complete
Squeeze of dsc12-bootflash complete
•
Inspect the NVRAM memory on the router and dial shelves. Three files are present:
–
The initial boot or startup-config.
–
The private-config is a secure file that supports encryption technologies. It is not user accessible.
–
The underlying-config is the version of the startup-config that is stored in NVRAM.
1 -rw- 739 <no date> startup-config
2 ---- 24 <no date> private-config
3 -rw- 739 <no date> underlying-config
129016 bytes total (128277 bytes free)
Directory of dsc12-nvram:/
1 -rw- 0 <no date> startup-config
2 ---- 0 <no date> private-config
3 -rw- 0 <no date> underlying-config
126968 bytes total (126968 bytes free)
Investigating Memory Usage
Use the show memory summary command to:
•
Determine how memory is used for different processor and I/O memory processes.
•
Identify memory fragmentation and memory leaks.
–
Memory leaks—Memory that is not released back to the processor. Memory leaks are indicated by steady decreases of free memory. However, the preferred way to track memory leaks is to monitor the FreeMem variable in the OID MIB.
–
Memory fragmentation—Indicated by the largest block of memory not being equal to the free block. Fragmentation increases as the numbers grow further apart.
To inspect and calculate memory usage complete the following steps:
Step 1
Display the memory status report. Note that the largest-memory block is close to the free-memory block, which is good. There is no fragmentation.
5800-NAS# show memory summmary
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 6164D4E0 94055200 42346480 51708720 50435436 51592056
I/O 7000000 16777216 6433400 10343816 10343816 10343772
PCI 4B000000 4194304 618584 3575720 3575720 3575676
Caution 
If you enter the
show memory summary command with the
terminal length 0 command enabled you will produce many screens of output which might interrupt your session.
Table 2-3 describes the significant fields in the previous display:
Table 2-3 Show Memory Summary Output Field Descriptions
Field
|
Description
|
Processor
|
Processor memory. The Cisco IOS software image is initially read out of Flash memory, decompressed, and placed in main memory. Routing tables and call control blocks are also stored in main memory.
|
I/O
|
Packets are temporarily stored in I/O memory.
|
Head
|
Hexadecimal address of the head of the memory allocation chain.
|
Total(b)
|
Summary of used bytes plus free bytes.
|
Used(b)
|
Total number of bytes currently used for routing tables and call-processing components.
|
Free(b)
|
Total number of free bytes. The free memory size should be close to the largest block available.
|
Lowest(b)
|
Smallest amount of free memory since last boot.
|
Largest(b)
|
Size of largest available free block. Whenever the largest available block is equal to the free block, there is no fragmentation.
|
Step 2
Convert bytes to megabytes (MB):
•
Total processor memory = 9,4055,200 bytes = 89.7 MB
•
Used processor memory = 42,346,480 bytes = 40.4 MB
•
Free processor memory = 51,708,720 bytes = 49.3 MB
Total memory (89.7 MB) = Used memory (40.4 MB) + free memory (49.3 MB)
Step 3
Do some useful memory calculations:
Total Processor = Total RAM - Cisco IOS software (use the show version command to get the MB assigned for all of Cisco IOS software + Processor)
cisco 7206 (NPE400) processor with 114688K/16384K bytes of memory.
114688 KB / (1024 KB / MB) = 112.0 MB
16384 KB = 16 MB
112 MB + 16 MB = 128 MB (what you purchased).
Note
112.0 MB - 89.7 MB = 22.3 MB. This means that 22.3 MB are not available for processor memory.
Verifying CPU Utilization
High utilization causes network performance problems. Knowing when the router is running at over 50% utilization is critical because the router might start dropping packets if an unexpected traffic burst comes through or if OSPF gets recalculated. Fast switching reduces CPU utilization.
CPU utilization for five seconds: 20%/6%; one minute: 31%; five minutes: 19%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 144208 1526300 94 0.00% 0.00% 0.00% 0 Load Meter
2 118732 19749060 6 0.24% 0.12% 0.08% 0 OSPF Hello
3 42752544 2699659 15836 3.75% 0.87% 0.62% 0 Check heaps
4 7260 30062 241 0.00% 0.00% 0.00% 0 Pool Manager
5 0 2 0 0.00% 0.00% 0.00% 0 Timers
6 1472 494101 2 0.00% 0.00% 0.00% 0 Serial Background
7 49424 7631216 6 0.00% 0.00% 0.00% 0 EnvMon
8 0 1 0 0.00% 0.00% 0.00% 0 OIR Handler
9 13368616 3217631 4154 0.32% 0.57% 0.42% 0 ARP Input
10 18932 533419 35 0.00% 0.00% 0.00% 0 DDR Timers
11 116 4 29000 0.00% 0.00% 0.00% 0 Entity MIB API
Look at the top line of the output. If you see utilization at the top of the display over 50%, inspect the columns 5Sec, 1Min, and 5Min. Find the process that uses the most CPU power. For an idle chassis, numbers larger than two percent indicate a problem.
Table 2-4 describes the significant output fields in the previous example:
Table 2-4 CPU Utilization Display Fields
Field
|
Description
|
CPU utilization for five seconds:
2%/0%;
|
The first % number is the CPU utilization for the last 5.0 seconds. The second % number is the percentage of CPU time spent at the packet-based interrupt level.
|
|
CPU utilization for the last minute.
|
|
CPU utilization for the last 5.0 minutes.
|
Whenever memory cannot be allocated to a process request (a memory leak), a console error message appears:
Sep 14 11:30:33.339 EDT: %SYS-2-MALLOCFAIL: Memory allocation of 19960
bytes failed from 0x603D530C, pool Processor, alignment 0
-Process= "Exec", ipl= 0, pid= 48
-Traceback= 603D8610 603DAA70 603D5314 603D5AF0 60373054 60371474 603C33DC
603C3538 603C4378 60371934 603586B8 60358A10 6037C12C 6037C1E4 60372E9C
To identify the problem, inspect the first few output lines of the show memory summary command and show processor memory command.
Task 2. Configuring Basic Cisco IOS Software
Apply a basic-running configuration to the NAS:
•
Configuring the Host Name, Enable Secret Password, and Time Stamps
•