Table Of Contents
Provisioning
Setting Up Basic IP UPC Services
Network-Service Considerations
Establishing a Network-Service Definition
Configuring Voice over IP
VoIP Basics
Call Flow
Dial Peers
Configuring Basic VoIP
Perform Preconfiguration Tasks
Configure Signaling on Voice Ports
Configure Dial Peers
Tweak Your System Configuration
Voice QoS Basics
Enabling QoS Features for VoIP
Congestion Management
Fragmentation and Interleaving
Traffic Shaping for Frame Relay
Other Bandwidth-Reduction Features
Additional VoIP Resources
Configuring SS7 F-links
Upgrading Cisco IOS Images
Upgrading SPE Firmware
Obtaining SPE Firmware
Upgrade Commands
Choosing an SPE-Firmware Update or Upgrade Strategy
SPE Firmware Upgrade Scenarios
Displaying SPE Firmware Versions
Upgrading SPE Firmware from the Cisco.com TFTP Server
Downloading SPE Firmware from Cisco.com
Copying SPE Firmware from a Local TFTP Server
Upgrading SPE Firmware from Diskettes
Copying SPE Firmware to Your PC
Copying SPE Firmware from Your PC to the SPEs
Using the SPE Firmware Bundled with the Cisco IOS Software
Split Modes
Classic-Split Mode
Configuring Classic-Split Mode
Classic-Split Configuration Commands
Classic-Split Show Commands
Managing a Classic Split
Handover-Split Mode
Upgrading to a High-Availability Cisco IOS Release
Configuring Handover-Split Mode
Configuring Handover-Split Mode in Extraload
Handover-Split Configuration Commands
Handover-Split Show Commands
Managing a Handover Split with SS7
Sample Handover-Split Configuration
Provisioning
This chapter describes basic service provisioning, including IP service considerations, configuration of Voice over IP, upgrade procedures, and configuration of split modes. It contains the following sections:
•Setting Up Basic IP UPC Services
•Configuring Voice over IP
•Configuring SS7 F-links
•Upgrading Cisco IOS Images
•Upgrading SPE Firmware
•Split Modes
Tip House the Cisco AS5850 in an area with constant temperature and humidity. Cooler environments are ideal for stabilizing hardware temperatures. Humidity should be high enough to prevent accumulation of static electricity, yet low enough to prevent condensation; relative humidity up to 90 percent is acceptable.
For details on safety recommendations, site requirements (including shelf specifications, space, chassis heights, rack types, mounting options, power, and plant wiring), and site logs for monitoring installation progress or recording upgrade history, refer to the Cisco AS5850 Universal Gateway Hardware Installation Guide, available online at the Cisco AS5850 product documentation website.
Setting Up Basic IP UPC Services
This section describes how to set up and provision basic IP universal-port-card services using a Cisco AS5850 universal gateway. It is tailored for network engineers who work with dialup access technologies, and assumes that the reader is Cisco certified or familiar with Cisco IOS routers and technologies.
Corporate users and Internet service providers (ISPs) install dialup services to facilitate e-mail, e-commerce, and application/database access for employees, roaming sales personnel, household consumers, and students (see Figure 5-1). As a corporate user or ISP, you can do the following:
•Enable remote UPC users to access IP backbone resources through the public switched telephone network (PSTN)
•Build an access network foundation that scales to support larger dial implementations for the future
Figure 5-1 Business Scenario
Network-Service Considerations
The network-service definition for a corporate user generally differs from that for an ISP, as shown in Table 5-1.
Table 5-1 Network-Service-Definition Perspectives
Attribute
|
Corporate-User Perspective
|
ISP Perspective
|
Scaling projections
|
Have smaller projections.
|
Have larger projections, and require higher-density network gateways such as the Cisco AS5850.
|
Line requirements
|
Have lower requirements.
|
Have higher requirements.
|
Client types and Internet access
|
Control the client types used by their employees.
|
Offer Internet access to all client types.
|
Security and billing
|
Care more about security and less about billing.
|
Care more about billing and less about security.
|
V.90
|
Have lower V.90 priority and spend less time fine-tuning V.90. Revenue streams do not depend on high modem-connect speeds, and so will most likely deploy dialup service for employees.
|
Have higher V.90 priority and spend more time fine-tuning V.90. Primary objective is to enable 56K modem connections, because higher connect speeds equate to increased sales.
|
AAA design
|
Consider to be important, because a defined security policy protects enterprise network resources.
|
Consider to be less important.
|
Multilink PPP support for remote dialin
|
Generally do not need.
|
Need in a stacked solution for future deployment.
|
Password changes
|
Enable network administrators to change their own passwords using an EXEC shell login.
|
Allow users to change their own passwords using a website interface.
|
Password security
|
For the short term, store user passwords in a local username database inside the route switch controller (RSC). In the long term, may scale to remote TACACS+ security for storing user passwords; users can change passwords using the EXEC shell.
|
For the short term, store user passwords in a local username database inside the RSC. In the long term, scale to remote AAA RADIUS security for storing user passwords; users can change passwords using the Cisco Secure website.
|
Per-user attribute definitions (authorization)
|
Support; enable vendors to dial in, pass through filters, and access specific devices.
|
Do not support; provide Internet access only.
|
Establishing a Network-Service Definition
Begin your implementation of basic IP UPC services by establishing a network service definition. Use the perspectives described in Table 5-1 preceding and in the following list of design and configuration considerations as a guide. A conservative approach is to project your current deployment and design into a three-month, one-year, and five-year timeline.
Step 1 Project user growth and resulting line requirements (lines=users/busy-hour ratio) over the following intervals:
•3 months (example: 25 lines)
•1 year (example: 50 lines)
•5 years (example: 100 lines)
Step 2 Determine user-to-line ratio during busy hours.
Step 3 Determine access media to be used for dial services:
•Analog lines
•ISDN BRI lines
Step 4 Determine types of remote devices to support:
•Analog modems
•Remote LANs
•PCBUS ISDN terminal adaptors
•V.110
•V.120
Step 5 Determine operating systems to support:
•Windows 95
•Windows 98
•Windows NT
•UNIX
•Mac OS
Step 6 Determine if dial-in modem services will be supported.
Step 7 Rank technology priorities:
•AAA design
•IP design
•V.90 modem performance
Step 8 Determine which access service will be used for connecting to modems:
•EXEC shell sessions
•PPP sessions
•SLIP sessions
Step 9 Determine if multilink will be supported. If yes, indicate whether you will scale to a stacked multichassis solution.
Step 10 Determine if PPP timeouts (accounting) will be supported.
Step 11 Determine where user passwords will be stored in the short term:
•Local AAA database in the router
•Remote AAA database in a server
Step 12 Determine if an AAA server will be used in the long term. If yes, specify which protocol will be used:
•TACACS+
•RADIUS
Step 13 Determine if users will be allowed to change their own passwords. If yes, specify how:
•EXEC shell
•CiscoSecure website
Step 14 Determine if the access network will use an external authentication database such as SecureID, Windows NT, or Novell NDS.
Step 15 Determine if per-user attribute definitions (authorization) will be supported.
Step 16 Indicate whether an existing accounting system to monitor call-detail records is in place.
Step 17 Indicate whether you are running an existing network-management system. If no, determine whether a network-element management server is needed.
Configuring Voice over IP
Voice over IP (VoIP) technology enables voice-capable routers and switches to transport packetized live voice traffic such as telephone calls over IP data intranetworks or internetworks rather than public switched telephone networks (PSTN) or private TDM (PBX) networks. VoIP thus enables toll bypass, remote PBX presence over WANs, unified voice and data trunking, and plain old telephone service (POTS)-Internet telephony gateways. VoIP enables more efficient and full use of your existing IP data network, reducing both transmission costs and possibly your need to support dual (voice and data) networks.
Routers and switches such as the Cisco AS5350 and Cisco AS5400 universal gateways can handle origination, transport, and termination of VoIP traffic. They digitize analog voice signals, compress them, package them into a series of discrete packets, and transport them interleaved with data packets. They can transmit VoIP packets to both VoIP and non-VoIP destinations, and can receive both VoIP and non-VoIP calls. When data lines are busy, they can spill traffic onto the PSTN.
To ensure acceptable quality of service (QoS) for your voice users, it is important that you configure your gateway carefully and monitor its performance vigilantly—to ensure, for voice traffic, priority service with minimal loss and delay. Unlike most other types of data, voice is intolerant of almost any form of loss or delay. Users cannot wait for a destination device to reorder packets and request that the sending device retransmit any that are missing, as it does for most other data types.
To configure basic VoIP, in general you need to do the following:
•Configure signaling on voice ports
•Configure dial peers
You might also need to do the following:
•Configure voice QoS features
•Configure Frame Relay for VoIP
•Configure the gateway to distinguish between voice and modem calls (necessary when the network-access server supports both modem dialup and VoIP users on the same POTS interface)
•Optimize dial-peer and network-interface configurations
•Configure VoIP for Microsoft NetMeeting
This section briefly introduces the subject of configuring VoIP and overviews the first few configuration tasks. It describes, at a high level, some of the voice QoS features that you can enable. Most important, it points you to other references from which you can gain a broader and deeper look at the subject.
Section contents are as follows:
•VoIP Basics
•Configuring Basic VoIP
•Voice QoS Basics
•Enabling QoS Features for VoIP
•Additional VoIP Resources
Note It is critical that you consult the additional references sited throughout and at the end of the section before you configure VoIP. These plus additional references throughout the Cisco website (search for configure voip to locate the most current references) provide the information that you need to optimize settings. The more information that you have at your disposal, the greater your probability of success, as measured by cost savings and user acceptance.
Note Although VoIP technology is primarily software-based, it requires that you install a universal-port dial feature card into the appropriate slot of your Cisco AS5350 or Cisco AS5400 universal gateway. The number of ports or channels available for sending VoIP data depends on the capacity of your card.
VoIP Basics
Before you configure VoIP on your gateway, you should understand at a high level what happens when you place a VoIP call. Think of each event in a call flow as occurring on one of the several "legs" of a call, as shown in the following typical scenario. Other scenarios are possible, of course, including ones where the call destination is an IP phone and the call never leaves the IP network.
•Call-leg 1: Originating device to originating gateway
•Call-leg 2: Originating gateway into the IP network
•Call-leg 3: IP network to destination gateway
•Call-leg 4: Destination gateway to destination device
Figure 5-2 Call Legs
Legs connecting a local device (typically a phone, fax machine, or PBX) to a gateway are called POTS (plain old telephone service) legs. Legs connecting a gateway to the IP network are called VoIP legs. A POTS or VoIP leg is either inbound or outbound, from the perspective of the associated gateway, as shown in Table 5-2 below.
Table 5-2 Call Legs
A call leg from...
|
To...
|
Is of this type...
|
Originating device
|
Originating gateway
|
Inbound POTS
|
Originating gateway
|
IP network
|
Outbound VoIP
|
IP network
|
Destination gateway
|
Inbound VoIP
|
Destination gateway
|
Destination device
|
Outbound POTS
|
A gateway conferences two call legs—an inbound POTS with an outbound VoIP or an inbound VoIP with an outbound POTS—to create an end-to-end call through the gateway. A call that passes through both an originating gateway and a destination gateway has four call legs.
Call Flow
Table 5-3 and Table 5-4 detail the general call flow from the perspective of an originating and destination gateway respectively.
Table 5-3 VoIP Call Flow, Originating Gateway View
Event
|
Leg Type
|
User sends dialed digits via public switched telephone network to gateway.
|
Inbound POTS
|
Gateway does the following:
•Processes information (maps dialed digits, per information stored in dial-peer configuration tables, either to an IP host that connects directly to the destination gateway or to a PBX at the destination that can complete the call).
•Initiates H.323 session across network.
•Processes voice signals and sends packets over network. As appropriate, sends call-progress and other in-band signals.
•Ends session.
|
Outbound VoIP
|
Table 5-4 VoIP Call Flow, Destination Gateway View
Event
|
Leg Type
|
Gateway receives dialed digits.
|
Inbound VoIP
|
Gateway does the following:
•Processes information (maps dialed digits, per information stored in dial-peer configuration tables, to a destination device).
•Gateway participates in H.323 session across network.
•Processes voice signals and sends packets over network. As appropriate, sends call-progress and other in-band signals.
•Ends session.
|
Outbound POTS plus inbound VoIP
|
Dial Peers
Each kind of call leg into or out of a gateway—inbound POTS, outbound VoIP, inbound VoIP, and outbound POTS—must have assigned to it a set of allowable call scenarios, called dial peers.
•POTS dial peers associate gateway ports with destination endpoints. You need a POTS dial peer for every port-to-endpoint association.
•VoIP dial peers associate destination phone numbers with IP addresses or other means to send packets to that destination. You need a VoIP dial peer for every set of destination endpoints.
A dial peer is, essentially, a single static route within a routing table. A collection of dial peers constitutes a dial plan.
Syntax
A POTS dial peer has the following syntax:
destination-pattern number
other configurable options
where tag is a numeric value of local significance only, number is the full E.164 phone number of the associated endpoint, and port# is the voice port in the gateway through which the call is transmitted once a destination pattern is matched.
A VoIP dial peer has the following syntax:
destination-pattern number
session target data address
other configurable options
where tag is a numeric value of local significance only, number is the full E.164 phone number of the associated endpoint, and data address is where the gateway sends a call whose destination pattern matches the one in the peer.
Matching Rules
A gateway redirects an incoming call along the most appropriate outbound leg. It selects the most appropriate leg by first finding the POTS or VoIP (depending on call direction) dial peer whose destination pattern matches the call's dialed digits. For outbound VoIP legs, it chooses the longest matching dial peer. If more than one such match exists, it checks whether preferences have been assigned those peers and selects the peer with the lowest preference level.
Example
Let us say, for a very simple example (your implementation will be far more complex), that a company has offices in San Jose and Newark. Extensions in the San Jose office are in the range 5000 to 5999, those in the Newark office in the range 6000 to 6999. A caller at San Jose extension 5000 wants to call Newark extension 6000. The dial peers shown in Table 5-5are needed to make this connection.
Table 5-5 Sample Dial Peers
Dial-peer (tag) number
|
Dial peer
|
Function
|
San Jose Gateway
|
1
|
|
Associates San Jose extension 5000 with San Jose gateway port 1/0:1.
|
2
|
session target ipv4:172.16.1.1
|
Transmits San Jose's Newark-bound calls (extensions 6000-6999) to the gateway in Newark whose IP address is 172.16.1.1.
|
Newark Gateway
|
3
|
session target ipv4:172.19.1.1
|
Transmits Newark's San Jose-bound calls (extensions 5000-5999) to the gateway in San Jose whose IP address is 172.19.1.1.
|
4
|
|
Associates Newark extension 6000 with Newark gateway port 1/0:3.
|
When the San Jose caller at extension 5000 dials the digits 6000, the originating gateway in San Jose does the following:
1. Receives, through port 1/0:1 to which extension 5000 connects, the dialed digits 6000.
2. Searches its VoIP dial peers until it finds dial-peer 2, whose destination pattern best matches the dialed digits.
3. Sends the dialed digits through the IP network to the gateway specified by dial-peer 2's session target (172.16.1.1).
The destination gateway in Newark now does the following:
1. Receives the dialed digits through the IP network.
2. Searches its POTS dial peers until it finds dial-peer 4, whose destination pattern matches the dialed digits.
3. Sends the call out the port specified by that dial peer (port 1/0:3, which connects to extension 6000).
In this west-to-east scenario, dial peers 2 and 4 are used, in that order. If Newark extension 6000 were to call San Jose extension 5000, dial peers 3 and 1 would be used, in that order.
Configuring Basic VoIP
Configuring basic VoIP involves the following:
•Perform Preconfiguration Tasks
•Configure Signaling on Voice Ports
•Configure Dial Peers
•Tweak Your System Configuration
Perform Preconfiguration Tasks
Before you configure your gateway for VoIP, complete the following tasks. See the earlier sections in this book and the references at the end of this section for the additional information you need to do so.
Step 1 Establish a working IP network in which delay (as measured by ping tests) and jitter are minimized.
Step 2 Install a universal port dial feature card into the appropriate slot of your gateway. The number of ports or channels available for sending VoIP data depends on the capacity of the card.
Step 3 Complete basic gateway configuration.
Step 4 Formulate the beginning of a dial plan that includes the following:
•Logical network diagram showing voice ports and components to which they connect, including phones, fax machines, PBX or key systems, other voice devices that require connection, and voice-enabled routers
•Connection details, including physical interfaces (T1, analog, etc.), relevant LAN and WAN ports, and all voice ports; for each WAN, type (Frame Relay, PPP, etc.); for Frame Relay, relevant PVCs and link-access rates
•Phone numbers or extensions for each voice port, logically laid out and consistent with existing private dial plans and external dialing schemes
Step 5 Establish a working telephony network based on that dial plan.
Step 6 Integrate the dial plan and telephony network into your existing IP network topology. The following is recommended:
•Make routing or dialing transparent to users by, for example, avoiding such inconveniences as secondary dial tones.
•Contact your PBX vendor to learn how to reconfigure PBX interfaces.
Configure Signaling on Voice Ports
Your dial feature card supports ISDN PRI, E1 R2, and T1 CAS digital signaling. Configure your voice ports according to signaling type. Set parameters as needed for input gain, output attenuation, echo cancellation, various timeouts, and translation rules. Defaults are generally adequate, but may need to be tweaked for some networks.
Note For ISDN configurations, voice ports (with serial interfaces acting as D channels) are created automatically when you configure an ISDN PRI group. Before configuring your voice ports, configure both B and D channels.
Tip For more information, refer to the following documents:
•Cisco IOS Voice, Video, and Fax Configuration Guide, Release 12.2, available online at
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_book09186a0080080ada.html
•E1 R2 Signaling Configuration and Troubleshooting, available online at
http://www.cisco.com/warp/public/788/signalling/e1r2config.html
ISDN PRI Signaling
Signaling for ISDN PRI VoIP is handled by ISDN PRI group configuration. If you have ISDN PRI voice ports, be sure to complete ISDN PRI, D-channel, and NFAS configuration, as appropriate.
Ensure that multiframes are established on the serial interfaces (acting as D channel). Then set parameters as needed for input gain, output attenuation, echo cancellation, various timeouts, and translation rules.
E1 R2 Signaling
R2 is an international signaling standard for channelized E1 networks used in Europe, Asia, and South America, equivalent to channelized T1 signaling in North America. There are two elements to R2 signaling:
•Line signaling (supervision), including R2 digital, R2 analog, and R2 pulse
•R2 interregister signaling (call-setup control), including compelled, noncompelled, and semi-compelled
If you have ISDN PRI voice ports, be sure to complete E1 R2 signaling configuration. Configure signaling types and, if necessary, set parameters unique to specific countries.
T1 CAS Signaling
Channel-associated signaling (CAS) occurs in-band within the data channel, rather than on a separate signaling channel as is the case (on the D channel) with ISDN PRI. For T1 CAS, specify parameters such as frame type and line code.
Configure Dial Peers
Your next step in preparing to set up dial peers is to determine the configurable options that you want to enable.
Configurable Options
Configurable options are the attributes to be applied to calls handled using that dial peer. These typically include, at a minimum, required quality of service, codec for voice encoding, and whether voice-activity detection is to be enabled. The following attributes, for example, are typical in a VoIP dial peer:
You have many options and great flexibility in configuring dial peers. Table 5-6 and Table 5-7 show the most common configurable options that you can enable in POTS and VoIP dial peers, respectively, from config or config-dial-peer mode.
Table 5-6 POTS Dial-Peer Configuration Commands
Command
|
Purpose
|
|
Sets call-destination number.
|
|
Sets selected application.
|
|
Sets calling number (for fgd_eana signaling only).
|
|
Sets a command to its defaults.
|
|
Sets full E.164 telephone number.
|
|
Strips digits from the POTS dialed number.
|
|
Sets called number as final call destination.
|
|
Exits dial-peer configuration mode.
|
|
Configures the destination digits forward of this dial peer.
|
|
Stops hunting on dial peers.
|
|
Sets incoming called number.
|
|
Prepends info digits to the calling number.
|
|
Sets information type for dial peer.
|
|
Sets maximum connections per peer; "no" sets to unlimited.
|
|
Negates a command or sets its defaults.
|
|
Sets calling/called party numbering type.
|
|
Sets voice port associated with the peer.
|
|
Configures preference order of the peer.
|
|
Sets prefix to be dialed before the dialed number.
|
|
Indicates call progress.
|
|
Registers E.164 number of this peer with gatekeeper.
|
|
Sets resource allocation policy.
|
|
Sets session [target | protocol | transport] for this peer.
|
|
Changes admin state of this peer to down (no->up).
|
|
Sets translation rule.
|
Table 5-7 VoIP Dial-Peer Configuration Commands
Command
|
Purpose
|
|
Sets minimally acceptable quality of service for calls to this peer.
|
|
Sets call destination number.
|
|
Sets selected application.
|
|
Restricts display of caller ID.
|
|
Sets codec for calls to this peer.
|
|
Set a command to its defaults.
|
|
Sets full E.164 telephone number.
|
|
Transports DTMF digits across IP link.
|
|
Exits dial-peer configuration mode.
|
|
Sets expectation factor for voice quality.
|
|
Configures fax service.
|
|
Sets fax-relay options.
|
|
Stops hunting on dial peers.
|
|
Sets calculated planning-impairment factor.
|
|
Sets incoming called number.
|
|
Sets information type for dial peer.
|
|
Sets IP packet options.
|
|
Sets maximum connections per peer; "no" sets to unlimited.
|
|
Sets maximum redirects for this peer.
|
|
Negates a command or sets its defaults.
|
|
Sets calling/called party numbering type.
|
|
Configures preference order of the peer.
|
|
Sets required quality of service for calls to this peer.
|
|
Sets use of roaming server.
|
|
Sets session [target | protocol | transport] for this peer.
|
|
Sets use of settlement server.
|
|
Changes admin state of this peer to down (no->up).
|
|
Modifies SNMP voice-peer parameters.
|
|
Sets H.323 gateway technology prefix.
|
|
Sets translation rule.
|
|
Sets use of Voice Activity Detection.
|
|
Sets dial-peer voice-class control parameters.
|
Here are a few of the things that you can do with these commands in config or config-dial-peer mode:
•Configure destination patterns with wildcards and other operators.
Example: Use 6... to denote a 4-digit number beginning with 6.
•Define fixed-length or variable-length destination patterns.
Example: Use 6... to denote a 4-digit number beginning with 6; use 9t to denote a variable-length number beginning with 9.
•Specify that a prefix be added to calls on certain outgoing POTS call legs.
Example: Prepend 9 to calls that pass through a PBX requiring 9 to access an outside line; replace prefixes that are stripped by a dial peer because they match the destination pattern.
•Specify that certain dialed digits be expanded.
Example: Expand local 5-digit extensions beginning with 7 to the full E.164 number 1-408-7xxx.
•Create a hunt group to handle inbound calls.
Example: Establish multiple dial peers, each for a different voice port, and each containing the same destination pattern; the gateway directs inbound calls to the voice ports in sequence until it reaches one that is not busy.
•Set up preferences for routing outbound calls.
Example: Assign preference 1 to dial-peer voice 1, which directs outbound calls over the IP network; assign preference 2 to dial-peer voice 2, which directs calls over the PSTN; the gateway, looking for the longest exact match, finds both dial peers and then uses preference as a tie breaker among those matches.
Tip For more information, refer to the following document:
•Voice over IP for the Cisco AS5300, available online at
http://www.cisco.com/en/US/docs/ios/12_0t/12_0t3/feature/guide/voip5300.html
Dial-Peer Configuration Table
The next step in creating dial peers is to create a dial-peer configuration table. Under the following headings, show data for all of your gateways and associated dial peers. Table 5-8 is for the simple gateway-to-gateway scenario described earlier; your own will be far more complex.
Table 5-8 Dial-Peer Configuration Table
Dial-Peer Tag
|
Extension
|
Destination Pattern
|
Type
|
Voice Port
|
Session Target
|
CODEC
|
QoS
|
San Jose Gateway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Newark Gateway
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tip Consult the references at the end of the section before you create a dial-peer configuration table.
Tweak Your System Configuration
Should you have problems with QoS, try adding the following commands to your configuration:
•At the top-level configuration level:
•Under the Fast Ethernet interface:
Voice QoS Basics
Quality of service refers to the ability of a network to provide differentiated service to selected network traffic over various underlying technologies. QoS is not inherent in a network infrastructure. Rather, you institute QoS by strategically enabling appropriate QoS features throughout an intranetwork or internetwork.
Characteristics of Voice Traffic
Voice traffic differs from data traffic in a number of ways:
•Data is often bursty by nature; voice is deterministic (smooth).
•Data applications resend dropped packets; voice applications can only conceal dropped packets.
•Data applications can usually tolerate some delay; voice applications must minimize delay, so that the recipient does not hear clips in the transmission.
All of these mandate use of QoS strategies to give strict priority to voice traffic, ensuring reliable delivery and minimal delay for networks that carry both voice and data.
Note The ITU-T G.114 recommendation specifies, for good voice quality, that no more than 150 ms of one-way, end-to-end delay should occur. In many situations, 200 ms may be acceptable.
Reliability and Predictability
QoS features for voice focus on two things—reliability and predictability. Reliability ensures delivery without packet loss. Predictability ensures delivery without excessive delay. Together, they serve to eliminate poor-quality voice transmission, including crackles and missing syllables that render a call unsatisfactory or even incoherent to the recipient.
Levels of Service
Voice traffic requires real-time service, with steady and predictable throughput and low delay. In the presence of bursty, delay-tolerant data traffic, you must provide for voice traffic a differentiated—that is, higher-priority—level of service. Because networking equipment and devices that carry both data and voice cannot differentiate traffic that requires high-priority service from traffic that does not, your only means for ensuring that voice traffic is expedited or that it receives constant, predictable transmission across a backbone shared by data traffic is by enabling QoS features.
Effective end-to-end QoS throughout a network must serve disparate users, applications, organizations, and technologies, all at reasonable cost and effort. QoS features enable you to balance service levels for user satisfaction, granting priority service to voice while servicing data transmission to the degree of fairness that you require. In addition, other benefits can accrue: Internet service providers (ISPs), for example, can selectively enable QoS features so as to offer their customers differentiated services with different associated costs, as well as a spectrum of new applications and additional services based on these levels of service.
Cisco IOS software provides many features for optimizing QoS. Fine-tuning your network to adequately support VoIP almost certainly involves enabling some of these features. Be sure to read the sited references as you enable features, as the details of wide-scale QoS deployment are beyond the scope of this document. Also, keep in mind that you must configure QoS throughout your network, not just on the devices running VoIP, to optimize voice performance.
Not all QoS features are appropriate for all network devices and topologies. Edge devices and backbone devices do not necessarily perform the same operations: Edge devices handle packet classification, fragmentation, queuing, bandwidth management, and policing; backbone devices handle switching and transport, congestion management, and queue management. Thus, the QoS tasks that they perform might differ. Consider the functions of both edge and backbone devices in your network, and enable QoS features for each type as appropriate.
Enabling QoS Features for VoIP
The following text briefly overviews some of the most important QoS features that you can enable, and cites references that you need to make informed decisions about the use and optimization of those features. Features discussed include the following:
•Congestion Management
–Weighted Fair Queuing
–Low-Latency Queuing
–IP RTP Priority and Frame Relay IP RTP Priority
–Resource Reservation
–Call-Admission Control
•Fragmentation and Interleaving
•Traffic Shaping for Frame Relay
•Other Bandwidth-Reduction Features
–Voice Encoding
–RTP Packet-Header Compression
–Serialization Delay
–Voice Activity Detection
–Jitter Buffering
References in Additional VoIP Resources provide more information.
Congestion Management
Weighted Fair Queuing
You need to avoid congestion on backbone gateways serving high-traffic, high-speed networks. A weighted-fair-queuing methodology called WRED (weighted random early detection) queues traffic according to priority values that you set (you set voice traffic to critical, for example), sets different packet-drop thresholds for each queue, and drops packets in lower-priority queues as necessary so that higher-priority queues can be adequately served. This ensures that low-bandwidth conversations get through, even in the presence of other high-bandwidth applications.
Tip For more information and configuration options, refer to the following documents:
•Configuring Weighted Fair Queueing, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/qos_c/qcpart2/
Low-Latency Queuing
If you need to give voice packets priority but cannot allow them to starve other applications, the recommended queuing methodology is LLQ (low-latency queuing), used in conjunction with IP RTP Priority. LLQ directs voice traffic into a priority queue, but allows you to place limits on the amount of traffic serviced at this and each other priority level before the next-lower priority level is serviced.
Tip For more information and configuration options, refer to the following document:
•Low-Latency Queueing, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t7/
IP RTP Priority and Frame Relay IP RTP Priority
IP RTP Priority creates a strict-priority queue for VoIP calls. Only when the priority queue empties does the gateway process the other queues. The feature becomes active only when congestion exists on the interface.
Configure IP RTP Priority when you configure dial peers. Set an IP priority level to specify, in the packet header, that a voice call be accorded class-5 (critical) priority. Other queuing and traffic-management functions such as RSVP detect this information and provide priority service.
If your voice traffic passes through a Frame Relay network, the same argument holds, but the feature is called Frame Relay IP RTP Priority (described in the third reference below).
Tip For more information and configuration options, refer to the following documents:
•Voice over IP Quality of Service for Low-Speed PPP Links, available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-mlppp.html
•IP RTP Priority, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t5/iprtp.htm
•Frame Relay IP RTP Priority, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t7/
friprtp.htm
Resource Reservation
You can set things up so that your and any other similarly set-up sending or receiving system can reserve bandwidth, on a call-by-call basis, along a router path by enabling RSVP (Resource Reservation Protocol) on all WAN links that transport voice traffic.
Configure RSVP when you configure dial peers. Do not enable RSVP in conjunction with Frame Relay traffic shaping.
Tip For more information and configuration options, refer to the following document:
•Voice over IP for the Cisco AS5300, available online at
http://www.cisco.com/en/US/docs/ios/12_0t/12_0t3/feature/guide/voip5300.html
Call-Admission Control
You can gracefully prevent calls from entering your Cisco AS5850 from the PSTN when certain resources—such as CPU, memory, and interfaces—are not available to process those calls. Such intervention is called call-admission control.
If your system experiences high CPU usage, large call volumes, or occasional large numbers of simultaneous calls, you need to control two specific aspects of call-admission control: call spikes and call thresholds. Doing so is especially important if you handle transactions involving debit cards, which require AAA and similar types of support.
Configure call spikes to limit the number of incoming calls over a short period of time. Configure call thresholds to define under which circumstances system resources should be enabled.
Tip For more information and configuration options, including how to configure limits on call spikes and call thresholds, refer to the following document:
•Call Admission Control for H.323 VoIP Gateways, available online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122limit/122x/122xa/122xa_2/ft_pfavb.htm
Fragmentation and Interleaving
Transmission of voice packets, usually small (60 to 240 bytes) in size, can be unduly delayed in networks that also transmit large data packets. Fragmenting large data packets into smaller ones and interleaving voice packets among the fragments reduces jitter and delay. Use fragmentation and interleaving in conjunction with a congestion-management technique such as IP RTP Priority and/or RSVP if you have a low-bandwidth (<1.5 Mbps) WAN circuit, but not if you have a high-bandwidth (>1.5 Mbps) WAN circuit. The recommended fragmentation and interleaving methodology is FRF.12 for Voice over Frame Relay, Multilink PPP for VoIP-over-PPP leased lines.
Tip For more information and configuration options, refer to the following documents:
•For FRF.12, Frame Relay Fragmentation for Voice, available online at
http://www.cisco.com/warp/public/788/vofr/fr_frag.html
•For Multilink PPP, Voice over IP Quality of Service for Low-Speed PPP Links, available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-mlppp.html
Traffic Shaping for Frame Relay
You must regulate traffic flow so that packets arrive at their destination only as fast as the destination can handle them. You do so by buffering packets that are generated faster than a configured value, and releasing them at that value. It is especially important that you enable traffic shaping in Frame Relay networks, but not in conjunction with RSVP. Do not enable traffic shaping with PPP leased lines.
Tip For more information and configuration options, refer to the following documents:
•VoIP over Frame Relay with Quality of Service (Fragmentation, Traffic Shaping, IP RTP Priority), available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-ov-fr-qos.html
•Frame Relay Traffic Shaping for Voice, available online at
http://www-vdtl/SPUniv/Vofr/FR_traffic.htm
Note Successful traffic shaping on a Frame Relay network requires that you set not just this but many other QoS features. Refer to these references and the "Additional VoIP Resources" section for more information.
Other Bandwidth-Reduction Features
Voice Encoding
The Cisco AS5350 and Cisco AS5400 gateways offer the following codec (coder-decoder) methodologies for encoding (digitizing and, optionally, compressing) voice:
•G.711/PCM (pulse-code modulation): Digitizes, does not compress
•G.729a/CS-ACELP (conjugate structure - algebraic code excited linear prediction): Digitizes and compresses
•G.723.1/MP-MLQ (multipulse multilevel quantization), 6.3 or 5.3 kbps: Digitizes and compresses
Choosing a coding methodology is a matter of balancing tradeoffs among several factors, principal among them those listed for various methodologies in Table 5-9.
Table 5-9 Tradeoffs Among Codec Methodologies
Methodology
|
|
Frame Size (ms) (low is optimal)
|
Processing Required (mips) (low is optimal)
|
Perceived Quality (1=bad, 5=excellent) (high is optimal) 2
|
G.711 PCM
|
64 (very high)
|
0.125 (low)
|
0.34 (low)
|
4.1 (high)
|
G.729a CS-ACELP
|
8 (low)
|
10 (med)
|
10 (med)
|
3.7 (med)
|
G.723.1 MP-MLQ
|
6.3/5.3 (low)
|
30 (high)
|
16 (med-high)
|
3.9 (med)
|
Note Tandem switching (also called dual encodings or dual compressions) can cause additional problems. Digital calls routed to a tandem (toll) office are converted there to analog form for processing, and then reconverted to digital form for further transmission. Converting and reconverting in this way more than about twice distorts signals irreparably. If your calls are subject to significant toll-office processing, choose PCM if you have sufficient bandwidth. It is also recommended that you employ a Cisco IOS Multimedia Conference Manager (H.323 gatekeeper) or management application such as Cisco Voice Manager to help manage these types of processes.
Other factors that might enter into your decision, or that you can use to tweak performance, include the likelihood of multiple tandem encodings and how you handle packet fragmentation.
Tip For more information and configuration options, refer to the following document:
•Voice over IP Quality of Service for Low-Speed PPP Links, available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-mlppp.html
RTP Packet-Header Compression
Because of the repetitive nature of subsequent IP/UDP/RTP (network/transport/session-layer) headers, you can compress them significantly. A recommended methodology is cRTP (Compressed Real-Time Transfer Protocol), which, by tracking first-order and second-order differences between headers on subsequent packets, compresses the 40-byte header to just 2 or 4 (without or with UDP checksum) bytes. Other methodologies may be preferable if cRTP's high CPU usage causes delay. Employ a compression methodology on both ends of low-bandwidth (<1.5 Mbps) WAN circuits, but not at all on high-speed (>1.5 Mbps) WANs.
Tip For more information and configuration options, refer to the following document:
•Voice over IP Quality of Service for Low-Speed PPP Links, available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-mlppp.html
Serialization Delay
You can control packet (payload) size—which, in turn, controls how long one packet takes to be placed on the system interface. Set this in bytes, ideally equating to no greater than 20 ms (typically equivalent to two 10-ms voice samples per packet). Increasing serialization delay increases end-to-end delay. You want to incur no more than 150-to-200 ms of 1-way, end-to-end delay.
Note Take care when you assign a payload size for your chosen codec. To assign a codec and payload size, you use the codec codec bytes payload_size command under the dial-peer voip command. Although the codec command permits a wide range of payload sizes, the universal port card permits a much smaller range of sizes, to help ensure that end-to-end delay for voice signals does not exceed 200 ms. For the (default) g729r8 codec, these sizes are just 10ms, 20ms (recommended), and 30ms, which correspond to 10 bytes, 20 bytes, and 30 bytes of payload. If your network uses a variety of gateway and router types, you may need to ensure that payload sizes are set both optimally (so as not to incur excessive end-to-end delay) and consistently.
Tip For more information and configuration options, refer to the following document:
•Voice over IP - Per Call Bandwidth Consumption, available online at
http://www.cisco.com/warp/public/788/pkt-voice-general/bwidth_consume.html
Voice Activity Detection
Because telephone users generally speak in turn, a typical voice conversation contains up to 50 percent silence. A feature called VAD (voice activity detection) causes the gateway to transmit when speech starts and cease transmitting when speech stops. During silences, it generates white noise so that callers do not mistake silence for a disconnected call. By suppressing packets of silence, VAD enables you to handle more calls. For VoIP bandwidth planning, assume that VAD reduces bandwidth by 35 percent. Enable VAD if you wish to allocate more bandwidth to other types of traffic.
A possible problem with VAD is that it tends to clip the start and end of speech. To avoid activation during very short pauses and to compensate for clipping, VAD waits approximately 200 ms after speech stops before stopping transmission. Upon restarting transmission, it includes the previous 5 ms of speech along with the current speech.
VAD disables itself on a call automatically if ambient noise prevents it from distinguishing between speech and background noise.
Tip For more information and configuration options, refer to the following document:
•Voice over IP Quality of Service for Low-Speed PPP Links, available online at
http://www.cisco.com/warp/public/788/voice-qos/voip-mlppp.html
Jitter Buffering
Jitter occurs when there is a variation between when a voice packet is expected to arrive and when it actually arrives, causing discontinuity in the voice stream. Cisco devices handle jitter by buffering received data and playing it back smoothly.
Default jitter-buffer settings are sufficient in most networks under normal situations. If you experience choppy voice signals or poor voice quality, increase the size of the buffer. If you experience significant overall network delay, decrease the size. If your network is noisy and you use jitter-prone applications such as unified messaging server or interactive voice response, select fixed mode and a relatively high nominal value. Note that the tradeoff for increasing jitter-buffer size is a corresponding increase in delay.
Cisco's jitter buffers are normally sized dynamically, and adaptive mode plus default buffer size should suffice. But adjust mode and size as needed.
Additional VoIP Resources
In configuring VoIP and setting QoS parameters for your network, you will have to balance a large number of often-competing considerations. This section provides a brief overview on this very complex subject. The following sources provide more information:
•Cisco documents on IP telephony solutions, online at
http://www.cisco.com/univercd/cc/td/doc/product/voice/ip_tele/index.htm
•Cisco feature modules, online under listings for your Cisco IOS release at
http://www.cisco.com/univercd/cc/td/doc/product/software/
•Cisco IOS documents listed below, online under listings for your Cisco IOS release at
http://www.cisco.com/univercd/cc/td/doc/product/software/
–Cisco IOS Quality of Service Solutions Configuration Guide
–Cisco IOS Multiservice Applications Command Reference
–Cisco IOS Voice, Video, and Fax Configuration Guide
–Cisco IOS Voice, Video, and Fax Command Reference
•Cisco Technical Assistance Center (TAC) Voice, Telephony, and Messaging Technical Tips website, with information on basic VoIP concepts as well as links to the following topics and more, at (for registered and nonregistered users respectively)
http://www.cisco.com/warp/customer/788/ or
http://www.cisco.com/warp/public/788/
–One-way audio only on VoIP calls: causes and cures
–Required configuration for dial peers to function
–Basic troubleshooting and debugging of VoIP calls
–Troubleshooting no-busy-tone and no-announcement messages on ISDN-VoIP (H.323) calls
–Troubleshooting no ringback tone on ISDN-VoIP (H.323) calls
–Voice—analog E&M troubleshooting guidelines
–Voice, telephony, and messaging topics: top issues, technologies, products, and solutions
•Commercially available books on VoIP:
–Voice Over IP Fundamentals, Jonathan Davidson & James Peters, Cisco Press
–Cisco Packetized Voice & Data Integration, Robert Caputo, McGraw-Hill
•VoIP references for Cisco devices:
–Cisco IP Telephony Network Design Guide, online at
http://www.cisco.com/univercd/cc/td/doc/product/voice/ip_tele/network/index.htm
–Cisco IP Telephony QoS Design Guide, online at
http://www.cisco.com/univercd/cc/td/doc/product/voice/ip_tele/avvidqos/index.htm
–Voice-over-IP Quick Start Guide, online at
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_mod/cis3600/voice/4936vqsg.htm
–Voice-over-IP Quick Start Guide, online at
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_mod/1700/1750/voipqsg.htm
–Monitoring Voice and Fax Services on the Cisco AS5400 Universal Gateway, online under listings for your Cisco IOS release at
http://www.cisco.com/univercd/cc/td/doc/product/software/
–Voice over IP for the Cisco AS5300, online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t3/
voip5300/voip53_1.htm
–Voice over IP for the Cisco AS5800, online at
http://www.cisco.com/univercd/cc/td/doc/product/access/nubuvoip/voip5800/
–Software Configuration Guide, online at
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_mod/cis2600/sw_conf/26_swcg/index.htm
–Configuring Voice over IP for the Cisco 3600 Series, online at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/voice_c/vcprt1/
vcvoip.htm
–Voice over IP for the Cisco 2600/3600 Series, online at
http://www.cisco.com/univercd/cc/td/doc/product/access/nubuvoip/voip3600/index.htm
•Other websites:
–Tutorials on various telecommunications topics, online at
http://www.iec.org/
–VoIP references, online at
http://www1.cse.wustl.edu/~jain/refs/ref_voip.htm
Configuring SS7 F-links
The CiscoAS5850 supports SS7 F-links (fully associated links) over a TDM interface (E1, T1, channelized T3 or STM-1). The SS7 signaling channels are not processed on the CiscoAS5850, but are hairpinned (a process also known as drop & insert) to a Call Agent over one or more other TDM interfaces.
Figure 5-3 shows the SS7 F-link being terminated on the STM-1 trunk card on the Cisco AS5850. Since the STM-1 trunk card has no connection to the SLTs, the timeslot carrying F-link on an E1 in STM-1 is "hairpinned" to a timeslot on an E1 controller on the 24-port E1 trunk. This E1 on the 24-port E1 trunk is then connected to the SLT to send the SS7 traffic to the SLT.
The signaling channels are terminated on the SLT and MTP3 messages are backhauled to the call agent.
Figure 5-3 F-links Through the Cisco AS5850
Use the following steps to connect the signaling channels from an SS7 F-Link to T1/E1 trunks that are terminated on an SLT:
Step
|
Command
|
Purpose
|
Step 1
|
AS5850(config)# controller {T1 | E1} controller-number
ASS5850(config-controller)#
|
Enters controller configuration mode for the controller that terminates the F-link.
Note The controller-number syntax is dependant on the type of trunk card: T1/E1, CT3, or STM-1.
|
Step 2
|
ASS5850(config-controller)# tdm-group tdm-group number timeslots timeslots
|
Creates a TDM group and designates the timeslots for hairpinning to the egress F-link.
|
Step 3
|
ASS5850(config-controller)# exit
AS5850(config)#
|
Returns to global configuration mode
|
Step 4
|
AS5850(config)# controller {T1 | E1} controller number
ASS5850(config-controller)#
|
Enters controller configuration mode for the controller connected to the SLT.
Note The controller number syntax is dependant on the type of trunk card: T1/E1, CT3, or STM-1.
|
Step 5
|
ASS5850(config-controller)# tdm-group tdm-group number timeslots timeslots
|
Creates a TDM group and designates the timeslots that will be hairpinned to the ingress F-link.
|
Step 6
|
ASS5850(config-controller)# exit
AS5850(config)#
|
Returns to global configuration mode
|
Step 7
|
AS5850(config)# connect id {t1 | e1} controller-number tdm-group-no-1 {t1 | e1} controller-number tdm-group-no-2
|
Create a connection between the two TDM groups.
|
Step 8
|
Repeat steps one through seven for each F-link you want to send through to the SLT.
|
—
|
Step 9
|
AS5850(config)# end
AS5850#
|
Return to privileged EXEC mode.
|
Example configuration:
The following example connects a signaling channel from a channelized STM-1 trunk terminated on slot 1 to an E1 trunk terminated on slot 3. Timeslot 15 from an E1 channel on the STM-1 trunk is connected to timeslot 1 on the E1 trunk by using the connect command:
AS5850(config)# controller e1 1/0.1:2
AS5850(config-controller)# tdm-group 14 timeslots 15
AS5850(config-controller)# exit
AS5850(config)# controller e1 3/1
AS5850(config-controller)# tdm-group 0 timeslot 1
AS5850(config-controller)# exit
AS5850(config)# connect tdm_connection e1 1/0.1:2 14 e1 3/1 0
Note•The tdm-group, when used along with pri-group under the same controller, requires a tdm-group number of "timeslot — 1" to be used, where "timeslot" is the timeslot used in the tdm-group command.
•When the F-link is coming in on timeslot 16 and the rest of the timeslots on that E1 are bearer channels, care should be taken if configuring pri-group timeslots under that controller. The configuration must be done in the following order:
•pri-group timeslots range nfas_d primary nfas_int number nfas_group group-id-number
•isdn rlm-group on interface serial that is created
•tdm-group 15 timeslots 16 group-id-under the controller
•When a tdm-group is used along with a ds0-group or channel-group under the same controller, the "group-id" must be unique within the controller.
Upgrading Cisco IOS Images
Cisco IOS Release 12.1(5)XV or later is required for using universal port cards (UPCs) on the Cisco AS5850. The required image should have been shipped with your UPC.
If you intend to configure your system in handover-split mode to achieve maximal availability, you need to run an image that supports high availability—Cisco IOS Release 12.2(2)XB or later—on both RSC cards. See the "Split Modes" section for instructions on how to upgrade to and configure for high availability.
You can upgrade your Cisco IOS software by using the same instructions as for upgrading unbundled firmware files, in the following section.
Upgrading SPE Firmware
At startup, UPCs copy a Cisco IOS software-compatible version of SPE firmware to the installed SPEs. By default, the SPE-firmware version bundled with the current version of the Cisco IOS software is loaded, but the SPEs can be configured to use unbundled SPE-firmware files.
Note You do not have to take any action to use the preinstalled version of SPE firmware with new systems using Cisco IOS Release 12.1(5)XV or later.
You can acquire new SPE firmware in the following ways:
•Cisco periodically releases new SPE-firmware versions (with bug fixes or new port features) that improve overall system performance.
•Cisco also might ship SPE firmware on diskette with spare cards, or offer SPE firmware for purchase with spare cards.
•SPE firmware is also available at the Cisco Software Center website at http://www.cisco.com/public/sw-center/
After you have the new firmware, you can configure different firmware versions onto individual SPEs or ranges of SPEs. You can also configure different upgrade methods.
Obtaining SPE Firmware
You can obtain SPE firmware in one of the following ways:
•Bundled in regular Cisco IOS releases. See the "Using the SPE Firmware Bundled with the Cisco IOS Software" section.
•Unbundled from Cisco.com or supplied on diskette. This can be either a more up-to-date version of SPE firmware released before the next Cisco IOS release (when the SPE firmware will be bundled with the Cisco IOS release), or a special version of SPE firmware shipped with a new card. See the following sections for details:
–"Upgrading SPE Firmware from the Cisco.com TFTP Server" section
–"Upgrading SPE Firmware from Diskettes" section
Upgrade Commands
There are several commands you can use to upgrade SPE firmware. For examples on use of the commands, see the following sections:
•"Upgrading SPE Firmware from the Cisco.com TFTP Server" section
•"Upgrading SPE Firmware from Diskettes" section
•"Using the SPE Firmware Bundled with the Cisco IOS Software" section
Command
|
Purpose
|
AS5850# copy tftp flash: filename
|
Copies any SPE-firmware version (no matter how obtained) into system Flash memory. You can store several versions of the SPE firmware in system Flash memory under different filenames.
|
ASS5850(config-spe)# firmware location filename
|
Transfers a specified version (filename) of SPE firmware from system Flash memory to the SPEs named on entering SPE configuration mode.
|
ASS5850(config-spe)# firmware upgrade {busyout | recovery | reboot}
|
Configures when the file named in the firmware location command is to be loaded to the SPEs. Three methods of upgrade are available: busyout upgrades when all calls are terminated on the SPE; recovery upgrades at recovery maintenance time; reboot upgrades at the next reboot.
|
Note The copy ios-bundled command is not necessary and, in fact, is no longer valid. By default, the SPE-firmware version that is bundled with a Cisco IOS software release transfers to all SPEs not specifically configured for a different SPE-firmware file.
Choosing an SPE-Firmware Update or Upgrade Strategy
Cisco suggests that you choose one of the following two strategies:
•Always allow Cisco IOS software to select the SPE-firmware version. This is the easier strategy, and enables you to take advantage of new SPE firmware whenever you upgrade your Cisco IOS software.
•Always control the SPE-firmware version used by the slot cards, independent of Cisco IOS software selections. You can do so by using the copy command as discussed in Table 5-10.
SPE Firmware Upgrade Scenarios
Table 5-10 shows scenarios that can occur when you upgrade Cisco IOS software or SPE firmware.
Table 5-10 SPE-Firmware Upgrade Scenarios
No.
|
Scenario
|
Update Process
|
1
|
You receive a new gateway from the Cisco factory.
|
No action needed. The factory loads and maps a compatible version of SPE firmware.1
|
2
|
You update Cisco IOS software, and you decide to use the SPE-firmware version selected by Cisco IOS software.
|
Update Cisco IOS software. No further action is needed; Cisco IOS software automatically downloads either its bundled version or a mapped version from system Flash memory.2
|
3
|
You update Cisco IOS software, and you decide not to use the SPE firmware selected by Cisco IOS software.
|
Update Cisco IOS software. Then copy the desired version of SPE-firmware file to system Flash memory and configure the desired SPEs to use the firmware. See the "Copying SPE Firmware from Your PC to the SPEs" section for details.
|
4
|
The SPEs are running an SPE-firmware version from system Flash memory that is different from the version bundled with Cisco IOS software. You decide to revert to the bundled version.
|
Use the no form of the firmware filename SPE configuration command to revert to the bundled image.
Note The copy ios-bundled command is not necessary and, in fact, is no longer valid. By default, the SPE-firmware version that is bundled with the Cisco IOS software release transfers to all SPEs not specifically configured for a different SPE-firmware file.
|
5
|
Cisco releases new SPE firmware, which is a later version from the version currently running on the SPEs. You decide to use the newest firmware.3
|
Copy the desired SPE-firmware version to system Flash memory. Then configure the SPEs to use that firmware file. See the "Copying SPE Firmware from a Local TFTP Server" section for details.
|
Figure 5-4 shows a location on the release timeline where updates might take place. Table 5-11 explains the resulting versions of Cisco IOS software and SPE firmware.
Figure 5-4 Release Timeline for Cisco IOS Software and SPE Firmware
Table 5-11 Resulting Versions of Cisco IOS Software and SPE Firmware
Update Event Time
|
Update Event
|
Resulting Version of Cisco IOS Software and SPE Firmware
|
1
|
You upgrade Cisco IOS software to Release B:
•If there is no previous copy command (Cisco IOS software uses the bundled version).
•If there is invalid mapping (Cisco IOS software uses the bundled version).
•If last copy command was copy flash modem and SPE firmware Version 1 was specified.
|
•Cisco IOS Release B SPE firmware Version 2
•Cisco IOS Release B SPE firmware Version 2
•Cisco IOS Release B SPE firmware Version 1
|
2
|
You upgrade Cisco IOS software to Release C. (Cisco IOS software uses mapping from last copy command at Time 1).1
|
Cisco IOS Release C SPE firmware Version 1
|
3
|
New SPE firmware Version 4 is released, you copy the file to system Flash memory, enter copy flash modem, and specify SPE firmware Version 4.
|
Cisco IOS Release C SPE firmware Version 4
|
4
|
You upgrade Cisco IOS software to Release D.
|
Cisco IOS Release D SPE firmware Version 4
|
Displaying SPE Firmware Versions
Use the show spe version command to list the versions of SPE firmware that are running on the SPEs, residing in system Flash memory, and bundled with Cisco IOS software. This helps you decide if you need to change the version running on the modems.
The following example displays command output for a system with one 324 universal port card:
IOS-Bundled Default Firmware-Filename Version Firmware-Type
===================================== ======= =============
system:/ucode/np_spe_firmware1 0.6.6.9 SPE firmware
On-Flash Firmware-Filename Version Firmware-Type
========================== ======= =============
slot0:np.spe_36 0.6.6.5 SPE firmware
SPE-# SPE-Type SPE-Port-Range Version UPG Firmware-Filename
4/00 CSMV6 0000-0005 0.6.6.9 N/A ios-bundled default
4/01 CSMV6 0006-0011 0.6.6.9 N/A ios-bundled default
4/02 CSMV6 0012-0017 0.6.6.9 N/A ios-bundled default
4/03 CSMV6 0018-0023 0.6.6.9 N/A ios-bundled default
4/04 CSMV6 0024-0029 0.6.6.9 N/A ios-bundled default
4/05 CSMV6 0030-0035 0.6.6.9 N/A ios-bundled default
4/44 CSMV6 0264-0269 0.6.6.9 N/A ios-bundled default
Upgrading SPE Firmware from the Cisco.com TFTP Server
You can upgrade SPE firmware from the Cisco.com TFTP server by completing the following two tasks:
1. Download the SPE-firmware file from the Cisco.com TFTP server to a local TFTP server.
2. Copy the file from the local TFTP server to the gateway and SPEs.
Note Cisco IOS software contains bundled SPE firmware, which can differ from the version of SPE firmware that you download. For more information about how Cisco IOS software processes multiple SPE-firmware versions, see "Choosing an SPE-Firmware Update or Upgrade Strategy" section and "SPE Firmware Upgrade Scenarios" section.
Downloading SPE Firmware from Cisco.com
Note You must be a registered Cisco user to log in to the Cisco Software Center at the following website:
http://www.cisco.com/public/sw-center/
You can download Cisco IOS software from the Cisco.com TFTP server using an Internet browser or an FTP application.
Note To download SPE firmware to a PC and then upload it to a gateway that is connected to your PC with an Ethernet hub, you need to set up a TFTP application on your PC. Establish a HyperTerminal session, and make sure that your PC and gateway are correctly connected and talking before downloading the SPE firmware. These procedures are described in the "Upgrading SPE Firmware from Diskettes" section.
Using an Internet Browser
Step 1 Launch an Internet browser.
Step 2 Bring up Cisco's Software Center at the following website:
http://www.cisco.com/public/sw-center/
Step 3 Click Access Software.
Step 4 Click Login.
Step 5 Click AS5850 Series.
Step 6 Click the SPE-firmware file that you want to download, and then follow the remaining download instructions. If you are downloading to a PC, make sure that you download to the c:\tftpboot directory; otherwise, the download process does not work.
Step 7 Transfer the downloaded file to a TFTP server in your LAN using a terminal-emulation software application.
Using an FTP Application
Note The directory path leading to the SPE-firmware files on Cisco.com is subject to change without notice. If you cannot access the files using an FTP application, try the following Cisco website:
http://www.cisco.com/cgi-bin/ibld/all.pl?i=support&c=3.
Step 1 Log in to the Cisco FTP server at Cisco.com:
terminal> ftp cco.cisco.com
Connected to cio-sys.cisco.com.
220- Cisco Connection Online | | Cisco Systems, Inc.
220- Email: cco-team@cisco.com ||| ||| 170 West Tasman Drive
220- Phone: +1.800.553.2447 .:|||||:..:|||||:. San Jose, CA 95134
220- NOTE: As of February 1,1997 ftp.cisco.com will now point to this
220- service. Please be advised. To use the former ftp.cisco.com after
220- February 1, connect to ftpeng.cisco.com
220- + Your CCO username and password, or
220- + A special access code followed by your e-mail address, or
220- + "anonymous" followed by your e-mail address for guest access.
220 cio-sys FTP server (CIOESD #103 Sun Dec 15 14:43:43 PST 1996) ready.
Step 2 Enter your CCO registered username and password (for example, harry and letmein):
Name (cco.cisco.com:harry): harry
331 Password required for harry.
230-#############################################################
230-# Welcome to the Cisco Systems CCO FTP server.
230-# This server has a number of restrictions. If you are not familiar
230-# with these, please first get and read the /README or /README.TXT file.
230-# http://www.cisco.com/acs/info/cioesd.html for more info.
230-#############################################################
230- ***** NOTE: As of February 1, 1997, "cco.cisco.com", *****
230- ***** "www.cisco.com" and "ftp.cisco.com" are now all *****
230- ***** logical names for the same machine. *****
230- ***** The old "ftp.cisco.com" is an entirely *****
230- ***** different machine, which is now known as *****
230- ***** "ftpeng.cisco.com" or "ftp-eng.cisco.com". *****
230- ***** In general, "ftpeng.cisco.com" is used only for *****
230- ***** distribution of Cisco Engineering-controlled *****
230- ***** projects, such as beta programs, early field *****
230- ***** trials, developing standards documents, etc. *****
230- ***** Be sure to confirm you have connected to *****
230- ***** the machine you need to interact with. *****
230- If you have any odd problems, try logging in with a minus sign (-) as
230- the first character of your password. This will turn off a feature
230- that may be confusing your ftp client program.
230- Please send any questions, comments, or problem reports about this
230- server to cco-team@cisco.com.
230- o To download files from CCO, you must be running a *passive-mode*
230- o To drop files on this system, you must cd to the /drop directory.
230- o Mirrors of this server can be found at
230- + ftp://www-europe.cisco.com European (Amsterdam)
230- + ftp://www-fr.cisco.com France (Paris)
230- + ftp://www-au.cisco.com Australia (Sydney)
230- + ftp://www-jp.cisco.com Japan (Tokyo)
230- + ftp://www-kr.cisco.com Korea (Seoul)
230-Please read the file README
230- it was last modified on Sat Feb 1 12:49:31 1997 - 163 days ago
230 User harry logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
Step 3 Specify the directory path to the SPE firmware that you want to download. For example, the directory path for the Cisco AS5850 SPE firmware is /cisco/access/5850.
ftp> cd /cisco/access/5850
250-Please read the file README
250- it was last modified on Tue May 27 10:07:38 1997 - 48 days ago
250-Please read the file README.txt
250- it was last modified on Tue May 27 10:07:38 1997 - 48 days ago
250 CWD command successful.
Step 4 View the contents of the directory with the ls command:
227 Entering Passive Mode (192,31,7,130,218,128)
150 Opening ASCII mode data connection for /bin/ls.
drwxr-s--T 2 ftpadmin ftpcio 512 Jun 30 18:11 .
drwxr-sr-t 19 ftpadmin ftpcio 512 Jun 23 10:26 ..
lrwxrwxrwx 1 root 3 10 Aug 6 1996 README ->README.txt
-rw-rw-r-- 1 root ftpcio 2304 May 27 10:07 README.txt
-r--r--r-- 1 ftpadmin ftpint 377112 Jul 10 18:08 SPE-firmware.x.x.x.bin
-r--r--r-- 1 ftpadmin ftpint 635 Jul 10 18:08 SPE-firmware.3.1.30.readme
Step 5 Specify a binary image transfer:
Step 6 Copy the SPE-firmware files or Cisco IOS images from the FTP server to your local environment with the get command.
Step 7 Quit your terminal session:
Step 8 Verify that you successfully transferred the files to your local directory:
-r--r--r-- 1 280208 Jul 10 18:08 SPE-firmware.x.x.x.bin
Step 9 Transfer these files to a local TFTP or RCP server that your gateway can recognize.
Copying SPE Firmware from a Local TFTP Server
The procedure for copying the SPE-firmware file from your local TFTP server to the Cisco AS5850 includes two steps. First, transfer the SPE firmware to the gateway's Flash memory. Then, configure the SPEs to use the upgrade firmware. The upgrade occurs automatically, either when you leave configuration mode or as specified in the configuration.
You need perform these steps only once. Because SPE firmware is configurable for individual SPEs or ranges of SPEs, the Cisco IOS software automatically copies the firmware to each SPE whenever the gateway restarts.
The following procedure assumes that your terminal is connected directly to the console port on the Cisco AS5850 RSC. Use these steps to download SPE firmware to Flash memory.
Step 1 Check the image in the RSC Flash memory:
[498776 bytes used, 16278440 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)
Step 2 Enter the copy tftp flash command to download the code file or Cisco IOS image from the TFTP server into the RSC Flash memory. You are prompted for the download destination and the remote host name.
1 4530624 images/c5850-p9-mz
[498776 bytes used, 16278440 available, 16777216 total]
Address or name of remote host [255.255.255.255]? jurai
Source file name? np_6_83_2.spe
Destination file name [np_6_83_2.spe]?
Accessing file 'np_6_83_2.spe' on 255.255.255.255...
Loading np_6_83_2.spe from 2.2.0.1 (via Ethernet0): ! [OK]
Erase flash device before writing? [confirm] no
Copy 'np_6_83_2.spe' from server
as 'np_6_83_2.spe' into Flash WITHOUT erase? [yes/no] yes
Loading images/np_6_83_2.spe from 2.2.0.1 (via Ethernet0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 249108/16278440 bytes]
Verifying checksum... OK (0xE009)
Flash device copy took 00:00:02 [hh:mm:ss]
Step 3 Verify that the file has been copied into the RSC Flash memory:
3 -rw- 325539 Jan 01 2000 04:33:44 np_6_83_2.spe
83 -rw- 8987568 Jan 02 2000 02:45:30 c5850-p9-mz
31916032 bytes total (13320192 bytes free)
Step 4 Enter the copy tftp flash command to download the code file from the TFTP server into the RSC's Flash memory. You are prompted for the download destination and the remote host name.
1 4530624 images/c5850-p9-mz
[498776 bytes used, 16278440 available, 16777216 total]
Address or name of remote host [255.255.255.255]? jurai
Source file name? SPE-firmware.x.x.x.x.bin
Destination file name [SPE-firmware.x.x.x.x.bin]?
Accessing file 'SPE-firmware.x.x.x.x.bin' on 255.255.255.255...
Loading SPE-firmware.x.x.x.x.bin from 2.2.0.1 (via Ethernet0): ! [OK]
Erase flash device before writing? [confirm] no
Copy 'SPE-firmware.x.x.x.x.bin' from server
as 'SPE-firmware.x.x.x.x.bin' into Flash WITHOUT erase? [yes/no] yes
Loading images/SPE-firmware.x.x.x.x.bin from 2.2.0.1 (via Ethernet0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 249108/16278440 bytes]
Verifying checksum... OK (0xE009)
Flash device copy took 00:00:02 [hh:mm:ss]
To configure the SPEs to use an upgraded firmware file, complete the following steps:
Step 1 Enter the configure command. The example uses the terminal configuration option.
AS5850# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
You are in global configuration mode when the prompt changes to AS5850(config)#.
Step 2 Enter the spe slot/spe command. You can choose to configure a single SPE or a range of SPEs by specifying the first and last SPE in the range.
AS5850(config)# spe slot/spe
AS5850(config)# spe slot/spe slot/spe
You are in SPE configuration mode when the prompt changes to AS5850(config-spe)#.
Step 3 Specify the SPE-firmware file in Flash memory to use for the selected SPEs:
AS5850(config-spe)# firmware location filename
Step 4 Specify when the SPE-firmware upgrade is to occur:
AS5850(config-spe)# firmware upgrade [busyout | recovery | reboot]
Step 5 Exit SPE configuration mode:
Step 6 Press Return to verify your command registers, then press Ctrl-Z to return to privileged EXEC mode:
Step 7 Save your changes when ready:
AS5850# copy running-config startup-config
Upgrading SPE Firmware from Diskettes
This section describes how to copy SPE firmware from diskettes to your hard disk in a PC environment, and then upload the firmware to the SPEs. The steps are similar whether you are using a Macintosh or UNIX workstation.
Note If you loaded Cisco IOS software from a feature pack CD-ROM using Router Software Loader (RSL), note that the CD contains a TFTP server program for PCs using Microsoft Windows. Run the TFTP server program from the directory where you installed the RSL program. Remember to set the root directory to the directory where the Cisco AS5850 SPE firmware is located. The RSL and TFTP applications are also available on CCO in the software library in the Access Products section.
Copying SPE Firmware to Your PC
Step 1 Insert the SPE-firmware diskette into the disk drive.
Step 2 Create a folder named tftpboot at your hard disk root c:.
Step 3 Copy the firmware file into the c:/tftpboot folder.
Copying SPE Firmware from Your PC to the SPEs
If you are using a PC running Microsoft Windows, upgrading SPE firmware from a hard drive onto a Cisco AS5850 involves setting up a TFTP application on your PC, connecting your PC and the gateway, establishing a HyperTerminal session, pinging the PC and gateway, and finally, copying the SPE firmware to the gateway. See the following sections for details.
Setting Up a TFTP Application on the PC
Step 1 Install the TFTP application on the PC.
Note You can use any TFTP or RCP application available from independent software vendors. A number of TFTP programs are also available as shareware from public sources on the World Wide Web. If you are using Microsoft Windows, you can also download a TFTP application (as zipped files) from the following Cisco website:
http://www.cisco.com/public/sw-center/sw-other.shtml
Step 2 Launch the TFTP application by double-clicking the application icon or its filename.
Step 3 Set your TFTP server root directory:
a. From the Options menu, choose Server Root Directory.
b. From the Drives and [...] list boxes, choose c:\tftpboot.
c. Click OK.
Note If you do not select c:\tftpboot as your TFTP server directory, you cannot perform the copy procedure. This also applies if you are using RCP on your system.
Connecting Your PC and the Gateway
Step 1 Use straight-through cables to connect the PC and gateway using a 10BASE-T hub, as shown in Figure 5-5. Also note that both Ethernet ports must have the same baseband.
Figure 5-5 Connecting a PC and a Gateway
Note You can also connect your PC Ethernet port to the Cisco AS5850 Ethernet port using the 10BASE-T crossover cable provided.
Step 2 Connect your PC COM port to the Cisco AS5850 console port, as shown in Figure 5-5.
Step 3 Make sure that your PC and gateway are powered ON.
Establishing a HyperTerminal Session
Step 1 In Microsoft Windows, choose Start/Programs/Accessories/Communications/HyperTerminal or double-click Hypertrm.exe to display the Connection Description dialog box.
Step 2 Enter a name for your connection—for example, Console—and then click OK to display the Connect To dialog box.
Step 3 Choose the COM port connecting the PC and the gateway in the Connect Using list box. You have options to connect directly to one of four COM ports.
Step 4 Click OK to display the COM Properties dialog box.
Step 5 Choose these options in the COM Properties dialog box:
•Bits per second: 9600
•Data bits: 8
•Parity: None
•Stop bits: 1
•Flow control: None
Step 6 Click OK to display the HyperTerminal dialog box.
Step 7 Press Enter to display the AS5850# prompt.
Note If the gateway prompt does not appear, you might have selected the wrong COM port, the cable connections could be incorrect or bad, or the gateway might not be powered on.
Pinging the PC and Gateway
Step 1 Choose the correct Ethernet adapter connecting to the gateway and note the PC's IP address:
a. Choose Start/Run to display the Run dialog box.
b. Enter winipcfg and click OK to display the IP Configuration dialog box.
c. Choose the PC Ethernet adapter connector used for the connection to the gateway if you have more than one Ethernet adapter connector installed on your PC.
d. Make a note of the PC IP address, and then click OK.
Note Enter the show running config command at the AS5850# prompt to verify that the gateway has an IP address assigned. If necessary, assign an IP address before continuing.
Step 2 In the HyperTerminal dialog box (see the "Establishing a HyperTerminal Session" section), enter enable mode (the prompt is displayed as AS5850#).
Step 3 Enter the ping command with your PC's IP address:
The gateway displays five exclamation points (!) if everything is working and five dots (.) if there is a problem. In the latter case, check the cabling between the RSC and the PC and check the gateway configuration.
Uploading SPE Firmware to the Gateway
The procedure for copying the SPE-firmware file from your PC set up as a local TFTP server to the gateway system Flash memory requires that you transfer the firmware first to the gateway and from there to the SPEs.
Once you perform this procedure, you should not have to do so again. Because the code runs from the SPEs, the Cisco IOS software must automatically copy the firmware to each SPE whenever the gateway restarts.
Step 1 Transfer SPE firmware to the gateway as follows:
a. Check the image in the gateway Flash memory:
[498776 bytes used, 16278440 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)
b. Enter the copy tftp flash command to download the code file from the TFTP server into the gateway Flash memory. You are prompted for the download destination and the remote host name.
1 4530624 images/c5850-p9-mz
[498776 bytes used, 16278440 available, 16777216 total]
Address or name of remote host [255.255.255.255]? jurai
Source file name? SPE-firmware.x.x.x.x.bin
Destination file name [SPE-firmware.x.x.x.x.bin]?
Accessing file 'SPE-firmware.x.x.x.x.bin' on 255.255.255.255...
Loading SPE-firmware.x.x.x.x.bin from 2.2.0.1 (via Ethernet0): ! [OK]
Erase flash device before writing? [confirm] no
Copy 'SPE-firmware.x.x.x.x.bin' from server
as 'SPE-firmware.x.x.x.x.bin' into Flash WITHOUT erase? [yes/no] yes
Loading images/SPE-firmware.x.x.x.x.bin from 2.2.0.1 (via Ethernet0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 249108/16278440 bytes]
Verifying checksum... OK (0xE009)
Flash device copy took 00:00:02 [hh:mm:ss]
c. Verify that the file has been copied into the gateway Flash memory:
2 210104 SPE-firmware.x.x.x.x.bin
[747948 bytes used, 16029268 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)
Step 2 Configure the SPEs to use an upgraded firmware file as follows:
a. Enter the enable command and your password, followed by the configure command. The example uses the terminal configuration option.
AS5850# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
You are in global configuration mode when the prompt changes to AS5850(config)#.
b. Enter the spe slot/spe command. You can choose to configure a single SPE or range of SPEs by specifying the first and last SPE in the range:
AS5850(config)# spe slot/spe
AS5850(config)# spe slot/spe slot/spe
You are in SPE configuration mode when the prompt changes to AS5850(config-spe)#.
c. Specify the SPE-firmware file in Flash memory for the selected SPEs:
AS5850(config-spe)# firmware filename location filename
d. Specify when the SPE-firmware upgrade is to occur. Choices are busyout, recovery, and reboot. The example specifies busyout.
AS5850(config-spe)# firmware filename upgrade busyout
e. Exit SPE configuration mode:
f. Press Return to verify your command registers, then press Ctrl-Z to return to privileged EXEC mode:
g. Save your changes when ready:
AS5850# copy running-config startup-config
Using the SPE Firmware Bundled with the Cisco IOS Software
If you decide to use the version of SPE firmware that is bundled with Cisco IOS software instead of the version already mapped to your ports, use this procedure to update firmware on the SPEs in your gateway.
Step 1 Enter the enable command and your password, followed by the configure command. The example uses the terminal configuration option.
AS5850# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
You are in global configuration mode when the prompt changes to AS5850(config)#.
Step 2 Enter the spe slot/spe command. You can choose to delete the configuration for a single SPE or range of SPEs by specifying the first and last SPE in the range. The SPE firmware used by the SPEs automatically reverts to the version bundled with the current Cisco IOS image.
AS5850(config)# spe slot/spe
AS5850(config)# spe slot/spe slot/spe
You are in SPE configuration mode when the prompt changes to AS5850(config-spe)#.
Step 3 Specify the SPE-firmware file in Flash memory for the selected SPEs:
AS5850(config-spe)# no firmware filename location filename
Step 4 Specify when the SPE-firmware upgrade is to occur (if used):
AS5850(config-spe)# firmware filename upgrade [busyout | recovery | reboot]
Step 5 Exit SPE configuration mode:
Step 6 Press Return to verify your command registers, then press Ctrl-Z to return to privileged EXEC mode:
Step 7 Save your changes when ready:
AS5850# copy running-config startup-config
This process does not delete any existing SPE firmware that resides in system Flash memory, in case you later want to revert to it. If you decide to delete the code from system Flash memory, remember that all files in system Flash memory will be deleted. Therefore save and restore any important files (for example, the Cisco IOS software image).
Note If the new Cisco IOS image contains the same SPE firmware as the old one, no new code is downloaded to the SPEs.
Split Modes
If you have two RSCs in your gateway, you can configure your Cisco AS5850 into one of two redundancy modes: classic split or handover split.
•Classic-split (the default) mode maximizes system throughput by splitting slots between two RSCs. Each RSC controls a certain set of slots (slots 0-5 are owned by the RSC in slot 6 and slots 8-13 are owned by the RSC in slot 7), and operates as though slots other than those that it controls contain no cards because those cards are controlled by the other RSC. Configuration on each RSC affects only the slots owned by that RSC. Calls on a failed RSC are lost, but calls on the functioning RSC continue normally. Operating a Cisco AS5850 in classic-split mode is the same as having two Cisco AS5850s, each with a separate set of cards.
•Handover-split mode maximizes system availability by allowing an RSC to automatically take control of the slots, cards, and calls of the other RSC should that other RSC fail. Each RSC is configured identically as appropriate for the full set of cards. During normal operation, both RSCs are active, handling their own slots, cards, and calls just as in classic-split mode. Should an RSC fail, the other RSC takes over control of the failed RSC's slots, goes into extra-load state, restarts the failed RSC's cards, and handles newly arrived calls on those cards—although calls on the failed RSC are lost at the moment of failure. The failed RSC, should it recover or be restarted, remains in standby state until you instruct the active RSC to hand back its newly acquired slots to the standby RSC. (This is, in effect, split dial shelf with handover capability.) You can detect if an RSC is in extraload with control of the entire chassis resources by observing that the master LED for that RSC is on or by using the show redundancy states command.
Alternately, to use system resources most efficiently, you can operate with one of the two RSCs initially and intentionally in extraload state. In this configuration, RSC A initially controls all slots in the chassis and RSC B is in standby mode, ready to take over should RSC A fail. This allows you to overcome the limits of normal classic-split mode in which, because only six slots are available per RSC, an optimal combination of trunk and DSP cards is difficult to achieve.
Note Slot assignments on the Cisco AS5850 are fixed and cannot be changed except by a system in handover-split mode during handover. Slots 0-5 are owned by the RSC in slot 6, and slots 8-13 are owned by the RSC in slot 7. Consequently, the dial-shelf split slots command no longer exists.
A single RSC can support up to two CT3 trunk cards, although it can be released from this restriction. The number of CT3, T1, E1, or STM-1 trunk cards that your system can handle depends on the split mode in which it is configured to operate:
•In classic-split mode the RSC card needs to support the trunk cards in its own half only.
•In handover-split mode the RSC card needs to be able to support the full load of trunk cards across the entire chassis.
In either case, the number of trunk cards allowed should not exceed the performance load of the handling RSC card. For further information about performance loads, refer to the "Capacities" section on page 1-3.
Classic-Split Mode
Classic-split mode provides maximal throughput with no load sharing. Operating a Cisco AS5850 in classic-split mode is the same as having two Cisco AS5850s, each with a separate set of cards.
Note For classic-split mode, you are advised to configure each RSC with the same Cisco IOS image. If the image is 12.2(2)XB or late, configure each RSC to classic-split mode (because it is the default mode, however, configuration is not strictly necessary). You can download software configurations to your Cisco AS5850 using Simple Network Management Protocol (SNMP) or a Telnet connection.
Configuring Classic-Split Mode
Follow these steps on each RSC to configure your system to operate in classic-split mode. Classic-split mode is the system's default mode; it is normally not necessary to configure this mode unless you are returning to it from handover-split mode.
Caution You must configure both RSCs. Configure each RSC separately to run the same Cisco IOS image and with the same configuration. Be sure to configure classic-split mode on both RSCs, as problems can arise if both RSCs are not configured to the same mode.
Step 1 Enter configuration-redundancy mode by entering the configuration terminal command followed by the redundancy command.
Step 2 Change the mode to classic-split (the default) by entering the mode classic-split command.
Step 3 Copy the running configuration into the startup configuration by entering the copy running-config startup-config command.
Step 4 Verify that the new image is loaded to system Flash memory or the FTP server.
Step 5 Reload the RSC by entering the reload command.
Note These steps simply configure the system to classic-split mode. You must also configure each of the cards manually.
Classic-Split Configuration Commands
Command
|
Purpose
|
AS5850# configuration terminal AS5850(config)# redundancy AS5850(config-red)# mode classic-split
|
Enters configuration-redundancy mode, then selects classic-split (the default) mode.
|
Classic-Split Show Commands
In classic-split mode, most show commands (with exceptions noted below) display information for only those slots owned by the RSC; they look and behave as they would if there were no cards in the slots that the RSC does not own. To see show command information for a slot, you must connect to the RSC that owns that slot.
I
Command
|
Purpose
|
AS5850# show context all
|
Displays information about all slots, regardless of ownership.
|
AS5850# show context
|
Displays information about owned slots.
|
AS5850# show chassis
|
Displays additional relevant output, including whether an RSC is running in classic-split mode and, if so, which slots it owns.
|
AS5850# show chassis clocks
|
Displays all configured clock sources, even those from non-owned cards. Only one RSC can provide the master clock, and it may need to have backup clock sources configured from all cards present, regardless of ownership.
|
Managing a Classic Split
Note that classic-split mode is the default mode. If you do not configure a mode, your system defaults to classic-split mode.
A classic-split system appears to SNMP management applications as two separate Cisco AS5850s. You must conduct a console session for each RSC (two console sessions in total) to configure your splits. The system controller manages a classic-split configuration as two separate Cisco AS5850 gateways.
Network management systems (NMSs) such as the Cisco Universal Gateway Manager (Cisco UGM) are available that provide a single system view of multiple points of presence (POPs) as they monitor performance and log accounting data. An NMS has a graphical user interface (GUI); runs on a UNIX SPARC station; and includes a database-management system, polling engine, trap management, and map integration. The NMS can be installed at a remote facility so that you can access multiple systems through a console port or Web interface.
In classic-split mode, it is desirable—and, with an NMS, essential—to use four unique IDs, one for each RSC and one for each set of slots. In some cases, however, it is sufficient to use the same ID for the two RSCs.
No new management-information bases (MIBs) or MIB variables are required for classic-split configuration.
Handover-Split Mode
Handover-split mode provides maximal availability with load sharing. If an RSC should ever go down, the other RSC automatically takes over the slots and cards controlled by the failed RSC. This form of redundancy prevents a single point of failure, subsequent downtime, and required user intervention to resolve unrecoverable hardware faults.
You can detect if an RSC is in extraload with control of the entire chassis resources in either of two ways:
•Observing the front-panel display on the chassis; the master LED for an extraload RSC turns on.
•Using the show redundancy states command.
Caution For handover-split mode, you are advised to run the same high-availability Cisco IOS image (at a minimum, both images must be high availability) on both RSCs, with the same configuration except for the IP address on egress interfaces. Be sure to configure handover-split mode on both RSCs, as problems can arise if both RSCs are not configured to the same mode. You can download software configurations to your Cisco AS5850 using SNMP or a Telnet connection.
Upgrading to a High-Availability Cisco IOS Release
Verify that you have a Cisco IOS release that supports high availability (Cisco IOS Release 12.2(2)XB or higher). If you do not, proceed with one of the following upgrade scenarios.
Note If, for some reason, you later wish to downgrade to a nonhigh-availability release, configure your system to classic-split mode, then reset each RSC.
Upgrading from a Compatible (High-Availability) Image
Tip•To minimize downtime, perform the following upgrade in handover-split mode. Just half the system is down at a time, for as little as one minute per RSC, compared to a total system downtime of over nine minutes in classic-split mode.
•Before any system handover, to gracefully disable associated modems and thus minimize dropped calls, enter the modem busyout or modem busyout-threshold (sometimes called autobusyout) command. After handover, to reenable the modems, enter the no form of the command.
Step 1 From RSC B, do the following:
a. Disable RSC B modems by entering the modem busyout or modem busyout-threshold command.
b. Force handover of all RSC B slots to RSC A by entering the redundancy handover shelf-resources command. Wait for RSC B to reload automatically.
Step 2 From RSC A, transfer back to RSC B the slots that should belong to it by entering the redundancy handover peer-resources command.
Step 3 From RSC B, reenable the disabled modems by entering the no form of the modem-busyout command used above.
Step 4 From RSC A, do the following:
a. Disable RSC A modems by entering the modem busyout or modem busyout-threshold command.
b. Force handover of all RSC A slots to RSC B by entering the redundancy handover shelf-resources command. Wait for RSC A to reload automatically.
Step 5 From RSC B, transfer back to RSC A the slots that should belong to it by entering the redundancy handover peer-resources command.
Step 6 From RSC A, reenable the disabled modems by entering the no form of the modem-busyout command used above.
Upgrading from an Incompatible (Nonhigh-Availability) Image
Caution You must upgrade both RSCs at the same time. Operating with a mix of high-availability and nonhigh-availability images, even in classic-split mode, may result in erratic system behavior.
Tip Before any system handover, to gracefully disable associated modems and thus minimize dropped calls, enter the modem busyout or modem busyout-threshold (sometimes called autobusyout) command. After handover, to reenable the modems, enter the no form of the command.
Step 1 Disable all system modems by entering the modem busyout or modem busyout-threshold command.
Step 2 Do the following in rapid succession (do not wait for the first RSC to reboot before proceeding):
a. From RSC A, reload by entering the reload command.
b. From RSC B, reload by entering the reload command.
Wait for both reloads to complete.
Step 3 Reenable the modems as follows:
a. From RSC A, reenable the disabled modems by entering the no form of the modem-busyout command used above.
b. From RSC B, reenable the disabled modems by entering the no form of the modem-busyout command used above.
Configuring Handover-Split Mode
Follow these steps to configure your system to operate in handover-split mode.
Caution You must configure both RSCs. Configure each RSC to run the same high-availability Cisco IOS image (at a minimum, both images must be high availability) and with the same configuration except for the IP address on egress interfaces. Configure handover-split mode on both RSCs, as problems can arise if both RSCs are not configured to the same mode.
Tip Before any system handover, to gracefully disable associated modems and thus minimize dropped calls, enter the modem busyout or modem busyout-threshold (sometimes called autobusyout) command. After handover, enter the no form of the command to reenable the modems.
Step 1 Boot with a Cisco IOS image that supports redundancy (Cisco IOS Release 12.2(2)XB or higher).
Step 2 Enter configuration-redundancy mode by entering the configuration terminal command followed by the redundancy command.
Step 3 Change the mode to handover-split by entering the mode handover-split command.
Step 4 Do the following on each RSC in turn:
a. Change the running configuration so that all cards are configured on this RSC.
b. Copy the running configuration into the startup configuration by entering the copy running-config startup-config command.
c. Verify that the new image is loaded to system Flash memory or the FTP server.
d. Reload the RSC by entering the reload command.
Note When you are done, all cards should be configured identically on both RSCs.
Step 5 Should an RSC ever fail, do the following:
a. Bring the failed RSC back up.
b. From the extra-loaded RSC, hand over control of the restored RSC's slots by entering the redundancy handover peer-resource command.
Note These steps simply configure the system to handover-split mode. You must also configure each of the cards manually.
Configuring Handover-Split Mode in Extraload
To use system resources most efficiently, you can operate your Cisco AS5850 with one of the two RSCs initially and intentionally in extraload state. In this configuration, RSC A initially controls all slots in the chassis and RSC B is in standby mode, ready to take over should RSC A fail. This allows you to overcome the limits of normal classic-split mode in which, because only six slots are available per RSC, an optimal combination of trunk and DSP cards is difficult to achieve.
Note It is possible to equip a Cisco AS5850 with only one RSC operating in extraload and controlling all feature boards in the chassis without a backup RSC. Doing so is not recommended, however, as it provides no redundancy.
Procedures for configuring your system to operate in extraload are the same as those for configuring it to operate in normal handover-split mode. Simply use the no dial-config-guidelines command to remove the restriction on the number of trunk cards allowed.
If you use your system in conjunction with a Cisco SC2200 for SS7 signaling, configure the system with both RSCs in active state. Once configuration is complete, put one RSC into extraload by using the redundancy handover shelf-resources command on the other RSC. For more information on this configuration, see the "Managing a Handover Split with SS7" section.
Handover-Split Configuration Commands
Command
|
Purpose
|
AS5850# configuration terminal AS5850(config)# redundancy AS5850(config-red)# mode handover-split
|
Enters redundancy configuration mode, then selects handover-split mode.
|
AS5850# handover {peer-resources | shelf-resources} busyout-period mins at hh:mm day month year
|
Specifies handover of slots to the other RSC. Use during Cisco IOS image upgrades and also to return control of slots to an RSC that failed but is now back in service. Specify handover of slots belonging to the peer RSC (peer-resources) or of all slots on the chassis (shelf-resources). Optionally, specify length of time and time period during which slots should be busied out before handover.
|
AS5850# debug redundancy as5850
|
Enables or disables redundancy-related debug options (hardware lines, master RSC, FSM events, mode, RF client). Use to view specific relevant debug options. All debug entries continue to be logged even if you disable an option here, and you can always use the show redundancy debug-log command to view them.
|
Note The split-mode command is not valid in handover-split mode, because both RSCs are active.
Handover-Split Show Commands
Command
|
Purpose
|
AS5850# show redundancy states
|
Indicates whether handover is enabled and whether this RSC is active or on standby.
|
AS5850# show redundancy history
|
Displays logged handover events.
|
AS5850# show redundancy handover
|
Displays details of any pending handover.
|
AS5850# show redundancy debug-log
|
Displays up to 256 relevant debug entries.
|
AS5850# show chassis
|
Displays additional relevant output.
Note In handover-split mode, this command shows the RSC to be configured with all slots of the entire chassis, regardless of whether the RSC owns the slots or not. Slots owned by the peer RSC are shown to be in the ignore state, properly configured and ready to go.
|
Managing a Handover Split with SS7
Your Cisco AS5850 VoIP system may employ a Cisco SC2200 signaling controller, which provides a Common Channel Signaling System 7 (SS7/C7) interface between your H.323 VoIP and dial-access applications and the public switched telephone network (PSTN).
The SS7 network is an overlay signaling network (using a dedicated, separate signaling path) for carrying signaling messages used to connect calls. SS7/C7 is the common-channel signaling standard deployed on the SS7 network. With a Cisco SC2200 and SS7 signaling, you can optimize your network for both voice and data traffic and save drastically on interconnect fees compared to what you would incur for ISDN PRI. (ISDN PRI combines both signaling and bearer traffic on the same T1 or E1 facility. Normally one channel on the facility, the D-channel, provides ISDN signaling.)
In handover-split mode, each RSC on the Cisco AS5850 has its own IP address. Yet the Cisco SC2200 is static—that is, upon handover, the Cisco SC2200 fails to recognize that trunks and circuit identification codes (CICs) associated with one RSC under its IP address have been transferred to the other RSC under its IP address. (The CIC is the part of a CCS/SS7 signaling message used to identify the circuit that is being established between two signaling points.)
To avoid problems, you must configure two redundant-link-manager (RLM) groups (one active and one standby) per RSC—four groups in all—that the Cisco AS5850 can automatically enable or disable as appropriate.
Configuring RLM Groups
To configure RLM groups, follow these steps:
Step 1 Boot up your Cisco AS5850 in split mode, configured for handover.
Step 2 Put both RSCs in the RF-ACTIVE state—that is, ensure that both RSCs are active and in operation.
Note It is essential that both RSCs be active and operating normally at this point. The following steps involve moving certain CIC groups to standby status, which requires that the RSCs to which they belong be active. The Cisco AS5850 can automatically activate a standby CIC group later if necessary, such as during handover.
Step 3 Determine how many CICs you have and which are owned by which RSC.
The number and ownership of CICs is implicitly defined by the number and type of trunk cards controlled by the RSC. For each card type, the maximum number of CICs is as follows:
Trunk-Card Type
|
Maximum CICs per Card
|
24-channelized T1/E1
|
For T1: 24 * 24 = 576
|
For E1: 24 * 32 (30 clear + 2 signaling/control) = 768
|
Channelized T3
|
672
|
The following two sample configurations (displayed by use of the show running-config command from each RSC) shows a Cisco AS5850 that has two E1 trunk cards, one belonging to RSC A with 24 interfaces and the other belonging to RSC B with 8 interfaces:
pri-group timeslots 1-31 nfas_d primary nfas_int 0 nfas_group 0
pri-group timeslots 1-31 nfas_d none nfas_int 23 nfas_group 1
pri-group timeslots 1-31 nfas_d primary nfas_int 0 nfas_group 1
pri-group timeslots 1-31 nfas_d none nfas_int 7 nfas_group 1
The number and ownership of CICs is as follows:
•RSC A has 1 card * (24/24 card capacity used) * 768 CICs/card = 768 CICs
•RSC B has 1 card * (8/24 card capacity used) * 768 CIC/card = 256 CICs
Step 4 Configure RSC A as follows (assume, for this procedure, that you have 100 CICs and that RSC A owns CICs 0-49 and RSC B owns CICs 50-99):
a. Configure two RLM groups, group 1 and group 2, using the rlm group command:
–Group 1 contains CICs 0-49.
–Group 2 contains CICs 50-99.
RSC A owns group 1 (CICs 0-49) in normal operation, but not group 2 (CICs 50-99).
b. Shut down Group 2 using the shutdown command. This leaves the groups as follows:
–Group 1 (CICs 0-49) is active.
–Group 2 (CICs 50-99) is shut down (that is, on standby).
Step 5 Configure RSC B as follows:
a. Configure two RLM groups, group 1 and group 2 using the rlm group command:
–Group 1 contains CICs 0-49.
–Group 2 contains CICs 50-99.
RSC B owns group 2 (CICs 50-99) in normal operation, but not group 1 (CICs 0-49).
b. Shut down Group 1 using the shutdown command. This leaves the groups as follows:
–Group 1 (CICs 0-49) is shut down (that is, on standby).
–Group 2 (CICs 50-100) is active.
Step 6 Configure the Cisco SC2200 (which recognizes the two logical Cisco AS5850s) to recognize each RSC's full CIC range (100 in this example).
For example, if RSC A is has an IP address of ipA and RSC B has an IP address of ipB, configure the Cisco SC2200 as follows:
•ipA (RSC A): CICs 0-99
•ipB (RSC B): CICs 0-99
Tip•For more information on nonfacility-associated signaling (NFAS)—that is, out-of-band signaling—group configuration, refer to the following document:
–Cisco SS7/CCS7 Dial Access Solution System Integration Guidelines, available online at
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/r2/index.htm
•For information on how to configure a Cisco SC2200, refer to the following documents:
–Configuring Media Gateways for the SS7 Interconnect for Voice Gateways Solution, available online at
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel7/soln/das22/gateway/index.htm
–Cisco SS7/CCS7 Dial Access Solution System Integration Guidelines, available online at
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/r2/index.htm
The end result of these steps is that you now have four links:
•Link 1: CICs 0-49 pointing to ipA (active link to RSC A)
•Link 2: CICs 0-49 pointing to ipB (standby link to RSC B)
•Link 3: CICs 50-99 pointing to ipA (standby link to RSC A)
•Link 4: CICs 50-99 pointing to ipB (active link to RSC B)
Under normal-mode operation, both RSCs are active.
•Link status is as follows:
–Active links (no shutdown): link 1 on RSC A and link 4 on RSC B
–Standby links (shut down): link 2 on RSC A and link 3 on RSC B
•Ownership is as follows:
–RSC A controls CICs 0-49.
–RSC B controls CICs 50-99.
If RSC B fails, link 4 on RSC B moves from active (no shutdown) to standby (shutdown) and link 3 on RSC A moves from standby (shutdown) to active (no shutdown).
•Link status is now as follows:
–Active links (no shutdown): links 1 and 3 on RSC A
–Standby links (shut down): links 2 and 4 on RSC B
•Ownership is as follows:
–RSC A controls all 100 CICs.
RSC B, when it once again becomes active, enables link 4 again, which causes suppression of link 3 to standby (shutdown).
Table 5-12 summarizes link status under normal and failure conditions.
Table 5-12 RLM-Group Link Status
Condition
|
Link 1 (RSC A, CICs 0-49)
|
Link 2 (RSC B, CICs 0-49)
|
Link 3 RSC A, CICs 50-99)
|
Link 4 RSC B, CICs 50-99)
|
Normal operation
|
Active
|
Standby
|
Standby
|
Active
|
RSC A fails
|
Standby
|
Active
|
Standby
|
Active
|
RSC B fails
|
Active
|
Standby
|
Active
|
Standby
|
Sample RLM-Group Link Configurations
Cisco SC2200 Configuration
A sample Cisco SC2200 configuration might look like this:
; Adding IPLink to define links between gateway and SC2200
; Each NAS-Service has multiple RLM groups to associate. Use different port number
; (3001, 3003) to configure them.
; nassrvc1 associates to RLM0(uut1) and RLM3(uut2)
; nassrvc2 associates to RLM2(uut2) and RLM1(uut1)
prov-add:iplnk:name="gw5850-1-rlm0",if="eth1-if",ipaddr="IP_Addr1",port=3001,
peeraddr="192.168.78.56",peerport=3001,svc="nassrvc1",
desc="Link between gw5850-1 and SC2200-1"
prov-add:iplnk:name="gw5850-2-rlm3",if="eth1-if",ipaddr="IP_Addr1",port=3001,
peeraddr="192.168.78.58",peerport=3001,svc="nassrvc1",
desc="Link between gw5850-2 and SC2200-1"
prov-add:iplnk:name="gw5850-2-rlm2",if="eth1-if",ipaddr="IP_Addr1",port=3003,
peeraddr="192.168.78.58",peerport=3003,svc="nassrvc2",
desc="Link between gw5850-2 and SC2200-1"
prov-add:iplnk:name="gw5850-1-rlm1",if="eth1-if",ipaddr="IP_Addr1",port=3003,
peeraddr="192.168.78.56",peerport=3003,svc="nassrvc2",
desc="Link between gw5850-1 and SC2200-1"
This example assumes for simplicity that your system has only one Cisco SC2200. Normally, Cisco SC2200s are deployed in pairs to provide failover redundancy, and the links to the standby system are activated when the active system fails. As you configure your Cisco SC2200s, simply duplicate links within a single RLM group.
Cisco AS5850 Configuration
The relevant portions of a sample Cisco AS5850 RSC configuration might look like this for RSCs A and B respectively:
! Configuration for RSC A (as displayed with show running-config command):
link address 192.168.78.100 source GigabitEthernet6/0 weight 1
link address 192.168.78.100 source GigabitEthernet6/0 weight 2
! Configuration for RSC B (as displayed with show running-config command):
link address 192.168.78.100 source GigabitEthernet7/0 weight 1
link address 192.168.78.100 source GigabitEthernet7/0 weight 2
Sample Handover-Split Configuration
The following example shows a startup configuration that supports high availability. Note, in the sections on resource-pool range and controller numbers, that every card in the chassis is configured.
AS5850RSCA# show startup-config
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
aaa group server tacacs+ redline2
aaa group server radius RADIUS-GROUP
server 172.22.51.9 auth-port 1645 acct-port 1646
aaa authentication login CONSOLE none
aaa authentication login VTY none
aaa authentication ppp default group RADIUS-GROUP
aaa authentication ppp RADIUS-LIST group RADIUS-GROUP
aaa authorization exec CONSOLE none
aaa authorization exec RADIUS-LIST group RADIUS-GROUP
aaa authorization network default group RADIUS-GROUP if-authenticated
aaa authorization network RADIUS-LIST group RADIUS-GROUP if-authenticated
aaa accounting network default start-stop group RADIUS-GROUP
username RouterB password 0 xxx
username 54006_1 password 0 xxx
username RouterA password 0 xxx
username 54006_d_119 password 0 xxx
resource-pool group resource group1
resource-pool group resource group2
resource-pool group resource digital_group_6
resource-pool group resource digital_group
resource-pool group resource vpdn_dig
resource-pool profile customer 54006_customer
resource-pool profile customer 54007_customer
resource-pool profile customer 54006_customer_sync
resource digital_group_6 digital
dnis group 54006_sync_dnis
resource-pool profile customer 54007_sync
resource digital_group digital
dnis group 54007_sync_dnis
resource-pool profile customer 54007_sync_vpdn
resource vpdn_dig digital
dnis group 54007_sync_vpdn_dnis
dial-tdm-clock priority 8 trunk-slot 9 ds3-port 0 port 1
dial-tdm-clock priority 10 trunk-slot 4 ds3-port 0 port 1
spe link-info poll voice 5
ip ftp source-interface FastEthernet6/0
chat-script dial "" "ATZ" OK "ATDT\T" TIMEOUT 60 CONNECT
isdn switch-type primary-5ess
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ds0-group 0 timeslots 1-24 type e&m-fgb dtmf dnis
ip address 111.111.111.11 255.255.255.0
isdn switch-type primary-5ess
isdn incoming-voice modem
isdn switch-type primary-5ess
isdn incoming-voice modem
isdn switch-type primary-5ess
isdn incoming-voice modem
interface Serial4/0:10:23
isdn switch-type primary-5ess
isdn incoming-voice modem
interface Serial4/0:11:23
isdn switch-type primary-5ess
isdn incoming-voice modem
interface Serial9/0:21:23
isdn switch-type primary-5ess
dialer idle-timeout 36000 either
peer default ip address pool KRAMER
ppp authentication chap pap callin RADIUS_LIST
ppp chap hostname RouterB
ppp chap password 7 xxxxx
dialer idle-timeout 36000 either
peer default ip address pool KRAMER1
ppp authentication chap pap callin RADIUS_LIST
ppp chap hostname RouterA
ppp chap password 7 xxxxx
dialer idle-timeout 36000 either
peer default ip address pool KRAMER1_d_m
ppp authentication chap pap callin RADIUS_LIST
ppp chap hostname RouterA
ppp chap password 7 xxxxx
dialer idle-timeout 36000 either
peer default ip address pool KRAMER_d
ppp authentication chap pap callin RADIUS_LIST
ppp chap hostname RouterB
ppp chap password 7 xxxxx
dialer idle-timeout 36000 either
peer default ip address pool KRAMER1_d
ppp authentication chap pap callin RADIUS_LIST
ppp chap hostname RouterA
ppp chap password 7 xxxxx
ip local pool KRAMER1 10.6.1.1 10.6.1.108
ip local pool KRAMER1 10.6.2.1 10.6.2.108
ip local pool KRAMER1 10.6.3.1 10.6.3.60
ip local pool KRAMER 10.7.1.1 10.7.1.108
ip local pool KRAMER 10.7.2.1 10.7.2.108
ip local pool KRAMER 10.7.3.1 10.7.3.60
ip local pool KRAMER1_d 10.6.4.1 10.6.4.115
ip local pool KRAMER_d 10.7.4.1 10.7.4.115
ip local pool KRAMER1_d_m 10.6.4.116 10.6.4.163
ip radius source-interface FastEthernet6/0
dialer dnis group 54006_dnis
dialer dnis group 54007_dnis
dialer dnis group 54006_sync_dnis
dialer dnis group 54007_sync_dnis
dialer dnis group 54007_sync_vpdn_dnis
dialer dnis group 54007_vpdn_dnis
dialer-list 1 protocol ip permit
tacacs-server host 152.22.51.64
snmp-server community public RW
snmp-server enable traps rf
radius-server configure-nas
radius-server host 172.22.51.9 auth-port 1645 acct-port 1646 non-standard
radius-server retransmit 3
radius-server attribute nas-port format c
transport preferred telnet