Table Of Contents
Monitoring of Modem Call Status
Contents
Prerequisites for Configuring Modem Call Status
Information about Modem Call Status
Configuring Modem Call Status
Enabling DS-0 Busyout Traps
Enabling ISDN PRI-Requested Channel-Not-Available Traps
Enabling Modem Health Traps
Enabling DS-1 Loopback Traps
Verifying Enabled Traps
Troubleshooting Enabled Traps
Modem Call Status Configuration: Example
Monitoring of Modem Call Status
This appendix describes configuration for modem call status. Modem call status provides monitoring and maintaining of modem calls at digital signal level zero (DS-0), the PRI bearer channel level, and the modem level.
Contents
•
Prerequisites for Configuring Modem Call Status
•
Information about Modem Call Status
•
Configuring Modem Call Status
Prerequisites for Configuring Modem Call Status
Before configuring your access server or gateway to enable monitoring of modem call status, perform the following tasks:
•
Install the SNMP manager on your workstation.
•
Configure the SNMP agent on the access server with the following commands:
snmp-server community public RO
snmp-server host 10.1.2.3 public
Information about Modem Call Status
Modem call status is supported by:
•
The generation of DS-0 busyout traps
•
The generation of ISDN PRI-requested channel-not-available traps
•
The generation of modem health traps
•
Using the show controllers command
•
DS-1 loopback traps
Monitoring and maintaining of modem call status offers the following benefits:
•
Improved visibility into the line status of the access server for comprehensive status monitoring and notification capability
•
Improved troubleshooting and diagnostics for large dial networks
DS-0 Busyout Traps
A DS-0 busyout trap is generated when one of the following conditions is met:
•
A request occurs to busy out a DS-0
•
A busyout is complete and the DS-0 is out of service
•
A request occurs to take a DS-0 out of busyout mode
DS-0 busyout traps are generated at the DS-0 level for channel-associated signalling (CAS) and ISDN configured lines.
ISDN PRI-Requested Channel-Not-Available Traps
ISDN PRI-requested channel-not-available traps are generated when a requested DS-0 channel is not available or when there is no modem available to take an incoming call. This feature is available only on ISDN PRI interfaces.
Modem Health Traps
Modem health traps are generated when a modem port is bad, disabled, reflashed, or shut down, or when there is a request to busy out the modem.
show controllers timeslots Command
The show controllers command, with the keyword timeslots, displays the channel state in detail. This command shows whether the DS-0 channels of a particular controller are in idle, in-service, maintenance, or busyout states. The show controllers command applies to both CAS and ISDN PRI interfaces.
DS-1 Loopback Traps
DS-1 loopback traps are generated when a DS-1 line goes into loopback mode.
Configuring Modem Call Status
To configure modem call status on your access server or gateway, perform the following tasks, all of which are optional:
•
Enabling DS-0 Busyout Traps
•
Enabling ISDN PRI-Requested Channel-Not-Available Traps
•
Enabling Modem Health Traps
•
Enabling DS-1 Loopback Traps
Note
For a complete description of the commands, refer to the Cisco IOS Voice, Video, and Fax Command Reference. To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
Enabling DS-0 Busyout Traps
To generate DS-0 busyout traps, use the following command in global configuration mode:
Command
|
Purpose
|
Router(config)# snmp-server enable traps
ds0-busyout
|
Generates a trap when there is a request to busy out a DS-0 or when busyout finishes. DS-0 busyout traps are disabled by default.
The ds0-busyout keyword specifies that DS-0 busyout traps be enabled.
|
Enabling ISDN PRI-Requested Channel-Not-Available Traps
To generate ISDN PRI-requested channel-not-available traps, use the following command in global configuration mode:
Command
|
Purpose
|
Router(config)# snmp-server enable traps isdn
chan-not-avail
|
Generates a trap when the network access server (NAS) rejects an incoming call on an ISDN PRI interface because the channel is not available. ISDN PRI-requested channel-not-available traps are disabled by default.
The isdn chan-not-avail keywords specify that ISDN PRI-requested channel-not-available traps be enabled.
|
Enabling Modem Health Traps
To generate modem health traps, use the following command in global configuration mode:
Command
|
Purpose
|
Router(config)# snmp-server enable traps
modem-health
|
Generates a trap when a modem port is bad, disabled, or downloading firmware; when a download fails; when a modem is placed in loopback mode for maintenance; or when there is a request to busy out the modem. Modem health traps are disabled by default.
The modem-health keyword specifies that modem health traps be enabled.
|
Enabling DS-1 Loopback Traps
To generate DS-1 loopback traps, use the following command in global configuration mode:
Command
|
Purpose
|
Router(config)# snmp-server enable traps
ds1-loopback
|
Generates a trap when the DS-1 line goes into loopback mode. DS-1 loopback traps are disabled by default.
The ds1-loopback keyword specifies that DS-1 loopback traps be enabled.
|
Verifying Enabled Traps
Use the show running-config command to verify that the traps are enabled. The following output indicates that all the traps are enabled:
Router(config)# show running-config
snmp-server enable traps ds0-busyout
snmp-server enable traps isdn chan-not-avail
snmp-server enable traps modem-health
snmp-server enable traps ds1-loopback
Troubleshooting Enabled Traps
To troubleshoot the traps, enable debugging for SNMP packets by entering the debug snmp packets command in privileged EXEC mode. Check the resulting output to see that the SNMP trap information packet is being sent. The output will vary according to the kind of packet sent or received.
The following example shows the debug snmp packets command followed by an excerpt from the debug output. The first and last lines of the sample output show SNMP trap packets that have been sent and received.
Router# debug snmp packets
SNMP: Packet received via UDP from 10.5.4.1 on Ethernet0
SNMP: Get-next request, reqid 23584, errstat 0, erridx 0
sysUpTime = NULL TYPE/VALUE
system.1 = NULL TYPE/VALUE
system.6 = NULL TYPE/VALUE
SNMP: Response, reqid 23584, errstat 0, erridx 0
system.1.0 = Cisco Internetwork Operating System Software
SNMP: Packet sent via UDP to 10.5.4.1
You can also use trap monitoring and logging tools such as snmptrapd with debugging flags turned on to monitor output.
Modem Call Status Configuration: Example
The following example shows modem call status configured with DS-0 busyout traps enabled:
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
aaa authentication ppp default group radius
enable password <password>
firmware location system:/ucode/mica_port_firmware
firmware location system:/ucode/mica_port_firmware
modem link-info poll time 60
isdn switch-type primary-5ess
isdn voice-call-failure 0
clock source line primary
ds0-group 0 timeslots 1-24 type e&m-fgb
isdn switch-type primary-5ess
isdn incoming-voice modem
ip unnumbered FastEthernet0
ip tcp header-compression passive
peer default ip address pool swattest
ip unnumbered FastEthernet0
ip tcp header-compression passive
peer default ip address pool swattest
ip local pool swattest 10.5.4.1
ip default-gateway 10.5.4.1
dialer-list 1 protocol ip permit
snmp-server engineID local 00000000DDDDDDDDFFFFFFFF
snmp-server community public RO
snmp-server packetsize 2048
snmp-server enable traps pop
snmp-server host 10.5.4.1 public
radius-server host 10.5.4.1 auth-port 1645 acct-port 1646
radius-server retransmit 3
radius-server key <password>
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1005R)
© 2007-2010 Cisco Systems, Inc. All rights reserved.