cc/td/doc/product/access/sc/rel7/soln/voip13
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Configuring Media Gateways for the SS7 Interconnect for Access Servers Solution

Determining Software and Hardware Requirements

Installing Media Gateways

Installing the Cisco AS5300 Universal Access Server

Installing the Cisco AS5350 Universal Gateway

Installing the Cisco AS5400 Universal Gateway

Installing the Cisco AS5800 Universal Access Server

Configuring Media Gateways

Preparing the Media Gateway for Configuration

Setting the ISDN Switch Type

Configuring Redundant Link Manager

Configuring Resource Pool Manager (RPM)

Verifying the Configuration

Sample Output for the Cisco SS7 Interconnect for Access Servers Solution

Configuring Call Hairpinning on the Cisco AS5800

Call Switching Using Dial Peers

Using Class of Restrictions

Call Hairpinning Configuration Tasks

Complete Dial Plan Setup for Hairpinning

Configuring Media Gateways for the SS7 Interconnect for Access Servers Solution


This chapter describes how to configure the access servers used by the Cisco SS7 Interconnect for Access Servers Solution. It includes the following sections:

Determining Software and Hardware Requirements

Installing Media Gateways

Configuring Media Gateways

Sample Output for the Cisco SS7 Interconnect for Access Servers Solution

Configuring Call Hairpinning on the Cisco AS5800

Determining Software and Hardware Requirements

Software and hardware requirements vary depending on the version of the Cisco SS7 Interconnect for Access Servers Solution installed in your network. To view the latest requirements for your solution, see the following online documentation:

Release Notes for Cisco SS7 Interconnect for Access Servers Release 2.2(B)
http://www.cisco.com/univercd/cc/td/doc/product/access/sc/rel7/soln/das22/das_rn.htm

Installing Media Gateways

This document assumes that all required hardware has been installed, and that each access server has been configured for channelized T1 or E1 signaling and connected to a working IP network. If necessary, refer to the following sections:

Installing the Cisco AS5300 Universal Access Server

Installing the Cisco AS5350 Universal Gateway

Installing the Cisco AS5400 Universal Gateway

Installing the Cisco AS5800 Universal Access Server

Installing the Cisco AS5300 Universal Access Server

For instructions on installing a Cisco AS5300 and connecting it to a network, see the following documents:

Cisco AS5300 Quick Start Guide (with Fast Step)

Cisco AS5300 Chassis Installation Guide

Cisco AS5300 Module Installation Guide

Cisco AS5300 Software Configuration Guide

The entire documentation set for the Cisco AS5300 universal access server is available at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/5300/index.htm

Installing the Cisco AS5350 Universal Gateway

For instructions on installing a Cisco AS5350 and connecting it to a network, see the following documents:

Cisco AS5350 Universal Gateway Chassis Installation Guide

Cisco AS5350 Universal Gateway Card Installation Guide

Cisco AS5350 and Cisco AS5400 Universal Gateway Software Configuration Guide

The entire documentation set for the Cisco AS5350 universal gateway is available at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/as5350/index.htm

Installing the Cisco AS5400 Universal Gateway

For instructions on installing a Cisco AS5400 and connecting it to a network, see the following documents:

Cisco AS5400 Universal Access Gateway Read Me First

Cisco AS5400 Chassis Installation Guide

Cisco AS5400 Universal Gateway Card Installation Guide

Cisco AS5350 and Cisco AS5400 Universal Gateway Software Configuration Guide

The entire documentation set for the Cisco AS5400 universal gateway is available at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/as5400/index.htm

Installing the Cisco AS5800 Universal Access Server

For instructions on installing a Cisco AS5800 and connecting it to a network, see the following documents:

Read Me First—Cisco AS5800 Universal Access Server

Cisco AS5800 OAM&P Guide

Cisco AS5800 Universal Access Server Hardware Installation Guide

Cisco AS5800 Universal Access Server Dial Shelf Guide

The entire documentation set for the Cisco AS5800 universal access server is available at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/as5800/index.htm

Configuring Media Gateways

The process for configuring access servers includes the following major steps:

Preparing the Media Gateway for Configuration

Setting the ISDN Switch Type

Configuring Redundant Link Manager

Configuring Resource Pool Manager (RPM)

Preparing the Media Gateway for Configuration

Complete basic configuration for the media gateway. This includes, as a minimum, the following tasks:

Configuring a host name and password for the media gateway

Configuring the Ethernet 10BASE-T/100BASE-T interface of your media gateway so that it can be recognized as a device on the Ethernet LAN

Configuring the media gateway interfaces for ISDN PRI lines

Setting the ISDN Switch Type

To communicate with the Cisco SC2200, you must set the appropriate ISDN switch type on the media gateway. To set the ISDN switch type, perform the following steps:


Step 1 Enter global configuration mode:

Router# configure terminal Router(config)#

Step 2 Set the ISDN switch type to primary-ni:

Router# isdn switch-type primary-ni

For more information about setting ISDN switch types, refer to National ISDN Switch Types for Basic Rate and Primary Rate Interfaces at the following location;
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113t/113t_3/natisdn.htm


Configuring Redundant Link Manager

The Cisco Redundant Link Manager (RLM) provides link management over multiple IP networks so that your Cisco SS7 solution can tolerate failure of a signaling controller or one of its components. A feature enhancement to RLM for the Cisco SS7 Interconnect for Access Servers Solution is redundancy at the link and signaling controller level (Version 2 below). When each RLM group has multiple signaling controllers associated with a Cisco MGW, a signaling controller priority and link priority are examined by the RLM client (RLM software on the Cisco MGW) during failover, ensuring improved control handling.

The RLM client supports both versions of RLM functionality:

Multiple redundant links between a single signaling controller and the MGWs (Version 1)

Multiple redundant links between multiple signaling controllers and the MGWs (Version  2)

Upon installation, the RLM version defaults to the latest version (Version 2). To configure a different RLM version, use the following global configuration command:

MGW# rlm version version id #

Note The RLM feature is backward compatible on the signaling controller, but only one version of the RLM client can run on a given Cisco MGW. Cisco recommends using Version 2.


For more detailed information, refer to Redundant Link Manager at the following location:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t3/rlm_123.htm

To configure the RLM on the media gateway, perform the following steps:


Step 1 To enter enable mode, enter the following commands:

Router> enable Password: password Router#

Step 2 To enter global configuration mode, enter the following command:

Router# configure terminal Router(config)#

Step 3 To specify the IP address of the first interface, enter the following commands:

Router(config)# interface ethernet0 Router(config-if)# ip address 10.1.1.1 255.255.255.255

Note The IP addresses used in this book are for illustrative purposes only. Be sure to use IP addresses appropriate for your network.



Step 4 To specify the IP address of the second interface, enter the following commands:

Router(config-if)# interface ethernet0 Router(config-if)# ip address 10.1.1.2 255.255.255.255

Step 5 To specify the RLM group (MGW) that you want to configure, enter the following command:

Router(config-if)# rlm group 1 Router(config-rlm-group)#

Note The RLM group number must match the non-facility associated signaling (NFAS) group number.


Step 6 To specify the device name, enter the following command:

Router(config-rlm-group)# server r1-server

Step 7 To specify the link addresses and their weighting preference, enter the following commands:

Router(config-rlm-group-sc)# link address 10.1.4.1 source ethernet0 weight1 Router(config-rlm-group-sc)# link address 10.1.4.2 source ethernet0 weight2

Step 8 Repeat Step 6 and Step 7 for the second device:

Router(config-rlm-group-sc)# server r2-server Router(config-rlm-group-sc)# link address 10.1.5.1 source ethernet0 weight1 Router(config-rlm-group-sc)# link address 10.1.5.2 source ethernet0 weight2

Step 9 To configure the enhanced interior gateway routing protocol (EIGRP), enter the following command:

Router(config-rlm-group-sc)# router eigrp 100 Router(config-router)#

Step 10 To configure NFAS and specify the channels to be controlled by the primary NFAS D channel, enter pri-group timeslots 1-24 nfas_d primary nfas_int 2 nfas_group 0

This command links the PRI bearer channels on the media gateway to the RLM group for D-channel communication to the signaling controller over IP. The nfas_group number represents one or more PRIs that are controlled by the same D-channel. The int number should be configured to match the T-1 controller number.

Some tips to remember when configuring NFAS are as follows:

Multiple T1/E1s can be part of the same nfas group.

Multiple NFAS groups within the same RLM group on the media gateway are not supported at this time.

The nfas_int number should be unique and defines the D-channel.

All PRIs have to be part of the one RLM group.

For more detailed information about configuring NFAS, refer to NFAS with D Channel Back Up at the following location:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113t/113t_3/nfas.htm



Verifying RLM Configuration


Step 1 To verify the RLM configuration, enter the following command and specify the group number:

Router# show rlm group 0 status

RLM Group 0 Status User/Port: RLM_MGR/3000 ISDN3001 Link State: Up Last Link Status Reported: Up Next tx TID: 1 Last rx TID: 0 Server Link Group[r1-server]: link [10.1.1.1(Ethernet0), 10.1.4.1] = socket[active] link [10.1.1.2(FastEthernet0), 10.1.4.2] = socket[standby] Server Link Group[r2-server]: link [10.1.1.1(Ethernet0), 10.1.5.1] = socket[opening] link [10.1.1.2(FastEthernet0), 10.1.5.2] = socket[opening]

The link state must be up, and no errors should be reported.

Step 2 To view layer status information, enter the following command:

Router# show isdn status

Global ISDN Switchtype = primary-ni ISDN Serial1:23 interface dsl 0, interface ISDN Switchtype = primary-ni :Primary D channel of nfas group 0 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 0 Active Layer 3 Call(s) Activated dsl 0 CCBs = 0 ISDN Serial2:23 interface dsl 1, interface ISDN Switchtype = primary-ni :Group member of nfas group 0 Layer 1 & 2 Status Not Applicable Layer 3 Status: 0 Active Layer 3 Call(s) Activated dsl 1 CCBs = 0 Total Allocated ISDN CCBs = 0

For Serial 0:23 (the first half of the message):

Layer 1 Status should be ACTIVE.

Layer 2 Status should be MULTIPLE_FRAME_ESTABLISHED. (It might take several seconds for Layer 2 status to appear.)

Layer 3 Status should be 0 Active Layer 3 Calls.

The second half of the message displays information for Serial 1:23.


Tip If the Layer 1 Status is Deactivated, it indicates a problem at the physical layer. Make sure that the cable connection is not loose or disconnected.

A Layer 2 error indicates that the Cisco MGW cannot communicate with the telco; there is a problem at the data link layer. There may be a problem with your telco, or the framing and line code types you entered may not match that of your telco.



Configuring Resource Pool Manager (RPM)

Resource pool management allows service providers to provide wholesale (VPDN) dial service to corporate customers and retail dial service to end users from a single Cisco MGW or across multiple Cisco MGW stacks using one or more external Cisco Resource Pool Manager Servers (RPMS).

Cisco RPMS provides the following:

Customer shared resource management.

Advanced VPDN services for enterprise accounts and ISPs.

Efficient use of resources to offer different oversubscription ratios and dial service agreements.

Combination of retail and wholesale services on the same Cisco MGW.

Cisco RPMS offers three major functions:

Resource management uses the call type and dialed number information service (DNIS) number to accept or reject the call based on the customer profile session limits associated with the DNIS number. If the call is accepted, the call is assigned to a media gateway resource.

Dial services determines how the call is handled after it is answered. The call can be authenticated locally or sent to a home gateway through a VPDN tunnel (using the DNIS number or a domain name).

Call discrimination prevents unapproved call types from accessing Cisco MGW resources. When a call is placed, the Cisco MGW sends the call type and (DNIS) to the Cisco RPMS. The Cisco RPMS compares this combination to the call discrimination table. If the call type/DNIS number combination appears in the table, it is rejected.

For detailed configuration, troubleshooting, and command reference information, see Resource Pool Management at the following location:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t5/rpm1205t.htm

To configure RPM on your Cisco Media Gateway, perform the following steps:


Step 1 To enable RPM, enter the following commands in configuration mode:

Router(config) # resource-pool {enable | disable} Router(config) # resource-pool call treatment profile {busy | no-answer} Router(config) # resource-pool call treatment resource {busy | channel-not-available} Router(config) # resource-pool aaa protocol local

Note With RPM disabled, the resource groups still take effect (that is, modem pooling is still not possible). Also, local AAA is authorization and accounting for RPM.


Step 2 To configure resource groups, enter the following commands:

Router(config) # resource-pool group resource WORD Router(config) # range port s/s/p s/s/p Router(config) # range limit limit

Note the following rules:

Resource groups can apply to multiple customer profiles.

You can separate the physical resources into groups.

Do not mix MICA and Microcom modems.


Note For external Cisco RPMS environments, configure resource groups on the Cisco MGW before defining them on external RPMS servers. For standalone environments, configure resource groups before using them in customer profiles.



Tip If you have an RPMS, you do not need to define VPDN groups/profiles, customer profiles, or DNIS groups on the media gateway—you need to define only resource groups. Configure the remaining items by using the RPMS system.


Step 3 To configure DNIS groups, enter the following commands:

Router(config) # dialer dnis group {dnis-group-name} Router(config) # call-type cas {digital | speech} Router(config) # number number

Note the following:

For default DNIS service, DNIS group configuration is not required.

Each DNIS group or call type combination applies to one customer profile.

Default DNIS groups can be used four times, one for each call type.

You must statically configure CAS call types.

You can use x, X, or . as a wildcard within each number.

Step 4 To configure discriminator profiles, which enable you to process calls differently based on call type and DNIS combination, enter the following commands:

Router(config) # resource-pool profile discriminator WORD Router(config) # call-type {all | digital | speech | v110 | v120} Router(config) # dnis group {dnis-group-name | default}

Note You must specify both profiles.


Step 5 To configure service profiles, enter the following commands:

Router(config) # resource-pool profile service WORD Router(config) # modem {min-speed {speed | any}} {max-speed {speed | any}} [modulation (k56flex | v22bis | v32bis | v32terbo | v34 | v90 | any}] [error-correction {mnp4 | lapm | any | none}] [compression {mnp5 | v42bis | any | none}]

Note the following:

Services apply only to MICA modems (speech or V.110).

Error-correction and compression are hidden options.

Step 6 To configure customer profiles, enter the following commands:

Router(config) # resource-pool profile customer WORD Router(config) # dnis group {dnis-group-name | default} Router(config) # limit base-size {number | all} Router(config) # limit overflow-size {number | all} Router(config) # resource WORD {digital | speech | v110 | v120} [service WORD]

Note the following:

Multiple resources of the same call type are used sequentially.

The limits imposed are per customer (DNIS)—not per resource.

A digital resource with a call type of "speech" allows for Data over Speech Bearer Service (DOSBS).

Step 7 To configure VPDN profiles, enter the following commands:

Router(config) # resource-pool profile customer WORD Router(config) # vpdn profile profile-name Router(config) # resource-pool profile vpdn profile-name Router(config) # limit base-size {number | all} Router(config) # limit overflow-size {number | all} Router(config) # vpdn group group-name

Note A VPDN profile is required only if you want to impose limits on the VPDN tunnel that are separate from customer limits.


Step 8 To configure VPDN groups, enter the following commands:

Router(config) # vpdn-group group-name Router(config) # request dialin {l2f | l2tp} ip A.B.C.D {dnis dnis-group-name | domain Word} Router(config) # multilink {link | bundle} number Router(config) # loadsharing ip A.B.C.D [limit number] Router(config) # backup ip A.B.C.D [limit number] [priority number]

Note The dnis-group-name is required to authorize the VPDN-group with the RPM. Also, this data is optional on the AAA server.



RPM Configuration Examples

This section provides the following configuration examples:

Sample Configuration for Resource Pool Management

Sample Customer Profile Configuration for Data-over-Voice Bearer Service

Sample VPDN Configuration

Sample Configuration for Resource Pool Management

resource-pool enable resource-pool call treatment resource busy resource-pool call treatment profile no-answer ! resource-pool group resource isdn-ports range limit 46 resource-pool group resource MICA-modems range port 1/0 2/23 ! resource-pool profile customer ACME limit base-size 30 limit overflow-size 10 resource isdn-ports digital resource MICA-modems speech service gold dnis group ACME_dnis_numbers

Note Replace resource isdn-ports digital above with resource isdn-ports speech to set up DOVBS.


! resource-pool profile customer DEFAULT limit base-size 10 resource MICA-modems speech service silver dnis group default resource-pool profile discriminator deny_DNIS call-type digital dnis group bye-bye ! resource-pool profile service gold modem min-speed 33200 max-speed 56000 modulation v90 resource-pool profile service silver modem min-speed 19200 max-speed 33200 modulation v34 ! resource-pool aaa protocol local ! dialer dnis group ACME_dnis_numbers number 301001 dialer dnis group bye-bye number 301005

Digital calls to 301001 are associated with the customer ACME by using the resource group isdn-ports.

Speech calls to 301001 are associated with the customer ACME by using the resource group mica-modems and allow for V.90 connections (anything less than V.90 are also allowed).

Digital calls to 301005 are denied.

All other speech calls to any other DNIS number are associated with the customer profile DEFAULT. Using the resource group mica-modems allows for V.34 connections (anything more than V.34 is not allowed; anything less than V.34 is allowed).

All other digital calls to any other DNIS number are not associated with a customer profile and are, therefore, not allowed.

In this case, the customer profile named DEFAULT serves as the default customer profile for speech calls only. If the solution uses an external RPMS server, this same configuration can be used for backup resource pooling if communication is lost between the Cisco MGW and the RPMS.

Sample Customer Profile Configuration for Data-over-Voice Bearer Service

To allow ISDN calls with a speech bearer capability to be directed to digital resources, make only the following change (highlighted in bold) to the configuration shown in the "Sample Configuration for Resource Pool Management" section:

resource-pool profile customer ACME limit base-size 30 limit overflow-size 10 resource isdn-ports speech dnis group ACME_dnis_numbers

Note This change causes ISDN speech calls (in addition to ISDN digital calls) to be directed to the resource isdn-ports, thus providing DOVBS.


Sample VPDN Configuration

The following command allows you to use VPDN by setting up a VPDN profile and a VPDN group:

resource-pool profile vpdn ACME_VPDN limit base-size 6 limit overflow-size 0 vpdn group outgoing-2 ! resource-pool profile customer ACME limit base-size 30 limit overflow-size 10 resource isdn-ports digital resource MICA-modems speech service gold dnis group ACME_dnis_numbers vpdn profile ACME_VPDN vpdn enable ! vpdn-group outgoing-2 request dialin 12f ip 172.16.1.9 dnis ACME_dnis_numbers local name HQ-NAS multilink bundle 1 multilink link 2 dnis ACME_dnis_numbers ! dialer dnis group ACME_dnis_numbers number 301001


Note If the limits imposed by the VPDN profile are not required, do not configure the VPDN profile. Replace the command vpdn profile ACME_VPDN under the customer profile ACME with the command vpdn group outgoing-2.


Verifying the Configuration

To verify the configuration perform the following steps:


Step 1 Enter sh isdn nfas gr 0.

ISDN NFAS GROUP 0 ENTRIES:

The primary D is Serial2:23. The NFAS member is Serial3:23.

The example shown above indicates the primary D-channel interface and its associated members in the group. There are two total NFAS members.There are 48 total available B channels.

The primary D-channel is DSL 2 in the IN SERVICE state.

There is currently no backup D-channel configured.

The current active layer 2 DSL is 2.


Step 2 Enter sh isdn stat to show the status:

ISDN Serial2:23 interface rlm-group = 0 dsl 2, interface ISDN Switchtype = primary-ni : Primary D channel of nfas group 0 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED I_Queue_Len 0, UI_Queue_Len 0 Layer 3 Status: 0 Active Layer 3 Call(s) Activated dsl 2 CCBs = 0 The Free Channel Mask: 0x80FFFFFF ISDN Serial3:23 interface dsl 3, interface ISDN Switchtype = primary-ni : Group member of nfas group 0 Layer 1 Status: ACTIVE Layer 2 Status: Not Applicable Layer 3 Status: 0 Active Layer 3 Call(s) Activated dsl 3 CCBs = 0

Step 3 Enter sh rlm gro 0.

The presence of two signaling controllers shown below, indicates redundancy in the case of failover. This step is optional.

RLM Group 0 Status User/Port: RLM_MGR/3000 ISDN/3001 RLM Version : 2 Link State: Up Last Link Status Reported: Up Next tx TID: 1 Last rx TID: 0 Server Link Group[carteret]: Last Reported Priority: HIGH link [10.15.12.2(Ethernet0), 10.15.12.134] = socket[standby] link [10.15.12.34(FastEthernet0), 10.15.12.150] = socket[standby] Server Link Group[yaupon]: Last Reported Priority: HIGH link [10.15.12.2(Ethernet0), 10.15.12.135] = socket[active] link [10.15.12.34(FastEthernet0), 10.15.12.151] = socket[standby]

This is the interface that call signaling will traverse.

RLM Group 0 Timer Values open_wait = 3s force-down = 30s recovery = 12s switch-link = 5s minimum-up = 60s retransmit = 1s keepalive = 1s

RLM Group 0 Statistics Link_up: last time occurred at Nov 18 10:57:43.992, total transition=59 avg=06:36:36.298, max=2d22h, min=00:00:00.000, latest=00:00:04.844 Link_down: last time occurred at Nov 18 10:57:10.992, total transition=28 avg=00:56:54.621, max=1d00h, min=00:00:00.000, latest=00:00:33.000 Link_recovered: last time occurred at Nov 18 10:56:58.992, success=25(49%), failure=26 avg=0.038s, max=0.224s, min=0.000s, latest=0.000s Link_switched: last time occurred at Nov 11 12:25:52.324, success=6(100%), failure=0 avg=0.000s, max=0.000s, min=0.000s, latest=0.000s Server_changed: last time occurred at Nov 18 10:56:54.148 for totally 29 times Server Link Group[carteret]: Open the link [10.15.12.2(Ethernet0), 10.15.12.134]: last time occurred at Nov 18 10:57:40.992, success=33(6%), failure=509-0 avg=43.634s, max=177.004s, min=0.000s, latest=0.000s Echo over link [10.15.12.2(Ethernet0), 10.15.12.134]: last time occurred at Nov 18 11:12:40.979, success=1355251(97%), failure=33527-0 avg=0.000s, max=0.964s, min=0.000s, latest=0.000s Open the link [10.15.12.34(FastEthernet0), 10.15.12.150]: last time occurred at Nov 18 10:57:40.992, success=33(6%), failure=509-0 avg=43.549s, max=177.004s, min=0.000s, latest=0.000s Echo over link [10.15.12.34(FastEthernet0), 10.15.12.150]: last time occurred at Nov 18 11:12:40.979, success=1378593(97%), failure=32887-0 avg=0.000s, max=0.960s, min=0.000s, latest=0.000s Server Link Group[yaupon]: Open the link [10.15.12.2(Ethernet0), 10.15.12.135]: last time occurred at Nov 18 10:57:40.992, success=35(1%), failure=2247-0 avg=61.347s, max=177.000s, min=0.000s, latest=0.004s Echo over link [10.15.12.2(Ethernet0), 10.15.12.135]: last time occurred at Nov 18 11:12:41.983, success=998740(87%), failure=139142-0 avg=0.000s, max=2.688s, min=0.000s, latest=0.004s Open the link [10.15.12.34(FastEthernet0), 10.15.12.151]: last time occurred at Nov 18 10:57:40.992, success=35(1%), failure=2247-0 avg=61.270s, max=177.000s, min=0.000s, latest=0.032s Echo over link [10.15.12.34(FastEthernet0), 10.15.12.151]: last time occurred at Nov 18 11:12:42.019, success=1059514(88%), failure=138872-0 avg=0.000s, max=2.688s, min=0.000s, latest=0.016s

Sample Output for the Cisco SS7 Interconnect for Access Servers Solution

The following section contains sample output from an media gateway that has been configured for the Cisco SS7 Interconnect for Access Servers Solution

version 12.1 service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption ! hostname ppp1-1.os1 ! boot system flash c5300-js-mz.121-5.bin boot system flash bootflash: logging console emergencies ! username admin privilege 15 password 7 <---- Removed ----> username ppp1.os password 7 <---- Removed ----> spe 1/0 2/9 firmware location flash:/mica-modem-pw.2.7.1.0.bin ! ! resource-pool disable ! ! ! ! ! clock timezone MET 1 clock summer-time MET-DST recurring last Sun Mar 2:00 last Sun Oct 3:00 modem country mica norway ip subnet-zero no ip finger ip domain-list world-online.no ip name-server 10.2.64.170 ip name-server 10.2.64.171 ! ip cef ! async-bootp nbns-server 0.0.0.0 vty-async vty-async virtual-template 1 isdn switch-type primary-ni isdn voice-call-failure 0 cns event-service server mta receive maximum-recipients 0 ! ! controller E1 0 framing NO-CRC4 clock source line primary pri-group timeslots 1-31 nfas_d primary nfas_int 1 nfas_group 0 ! controller E1 1 framing NO-CRC4 clock source line secondary 1 pri-group timeslots 1-31 nfas_d none nfas_int 2 nfas_group 0 ! controller E1 2 framing NO-CRC4 clock source line secondary 2 pri-group timeslots 1-31 nfas_d none nfas_int 3 nfas_group 0 ! controller E1 3 framing NO-CRC4 clock source line secondary 3 pri-group timeslots 1-31 nfas_d none nfas_int 4 nfas_group 0 ! ! ! ! interface Ethernet0 ip address 10.0.1.17 255.255.255.192 no ip mroute-cache no cdp enable ! interface Virtual-Template1 ip unnumbered FastEthernet0 ip verify unicast reverse-path no logging event link-status peer default ip address pool ippool compress stac ppp authentication pap callin modemauthen ppp accounting modemaccount ppp multilink bap ppp bap call accept ppp bap timeout pending 20 ! interface Serial0 no ip address no ip mroute-cache no fair-queue clockrate 2015232 no cdp enable ! interface Serial1 no ip address no ip mroute-cache no fair-queue clockrate 2015232 no cdp enable ! interface Serial2 no ip address no ip mroute-cache no fair-queue clockrate 2015232 no cdp enable ! interface Serial3 no ip address no ip mroute-cache no fair-queue clockrate 2015232 no cdp enable ! interface Serial0:15 no ip address encapsulation ppp no ip route-cache cef dialer rotary-group 1 autodetect encapsulation ppp v120 isdn switch-type primary-ni isdn incoming-voice modem isdn T203 10000 isdn rlm-group 0 no isdn send-status-enquiry compress stac no cdp enable ! interface FastEthernet0 ip address 10.2.67.17 255.255.255.192 ip access-group snmp-filter in ip access-group ppp-martians-out out ip route-cache flow ip summary-address eigrp 900 10.2.73.0 255.255.255.128 5 no ip mroute-cache duplex full speed auto no cdp enable no mop enabled ! interface Group-Async1 ip unnumbered FastEthernet0 ip verify unicast reverse-path encapsulation ppp no ip mroute-cache no logging event link-status dialer in-band dialer idle-timeout 7200 dialer-group 1 async mode dedicated peer default ip address pool ippool compress stac no cdp enable ppp max-bad-auth 3 ppp authentication pap callin modemauthen ppp accounting modemaccount group-range 1 120 ! interface Dialer1 ip unnumbered FastEthernet0 ip verify unicast reverse-path encapsulation ppp no ip mroute-cache no logging event link-status no keepalive dialer in-band dialer idle-timeout 7200 dialer-group 1 peer default ip address pool ippool compress stac no cdp enable ppp max-bad-auth 3 ppp authentication pap callin modemauthen ppp accounting modemaccount ppp multilink bap ppp timeout retry 1 ppp timeout authentication 1 ppp bap call accept no ppp bap drop request no ppp bap timeout pending no ppp bap monitor load ! ! ip local pool ippool 10.2.73.1 10.2.73.127 ip classless ip route 10.0.2.0 255.255.255.192 10.0.1.1 ip route 10.2.66.10 255.255.255.254 10.2.67.1 ip tacacs source-interface FastEthernet0 no ip http server ! ! dialer-list 1 protocol ip permit no cdp run ! tacacs-server host 10.2.64.147 tacacs-server host 10.2.64.146 tacacs-server key <---- Removed ----> snmp-server engineID local 000000090200003080BD3C8C snmp-server community <---- Removed ----> RO snmp-server community <---- Removed ----> RO ! ! rlm group 0 server sc000 link address 10.2.66.12 source FastEthernet0 weight 3 link address 10.0.2.12 source Ethernet0 weight 4 server sc010 link address 10.2.66.13 source FastEthernet0 weight 1 link address 10.0.2.13 source Ethernet0 weight 2 alias exec u undeb all ! line con 0 exec-timeout 0 0 login authentication xTY transport input none line 1 120 no flush-at-activation modem InOut modem autoconfigure type mica autocommand ppp transport input all transport output pad telnet rlogin udptn v120 lapb-ta line aux 0 password 7 <---- Removed ----> line vty 0 4 access-class 1 in exec-timeout 0 0 password 7 <---- Removed ----> transport input telnet escape-character 3 line vty 5 124 autocommand ppp nego transport input v120 ! ntp clock-period 17180014 ntp update-calendar ntp server 10.2.64.146 end

Configuring Call Hairpinning on the Cisco AS5800

The hairpinning feature takes an incoming call and forwards the call out from the access server to another device, such as a voice switch or voice terminal. This is done without affecting the calling customer's experience. An incoming call is matched against configured dial peers, and based on the configured called number, the outgoing interface is selected.The call is sent out through a circuit-switched connection through the access server. No Cisco AS5800 modems or DSPs are involved, although a circuit is established through the access server.


Note Hairpinning is supported only on the Cisco AS5800.



Note Hairpinning requires the MICA plane.


Call Switching Using Dial Peers

Call switching using dial peers enables the Cisco AS5800 to switch both voice and data calls between different interfaces based on the dial peer matching. An incoming call is matched against configured dial peers, and based on the configured called number, the outgoing interface is selected. Any call that arrives from the PSTN is either terminated on the access server or switched back to the PSTN, depending on the configuration.


Note An incoming call will be hairpinned back to the PSTN only if it matches a dial peer.


A dial peer is an addressable call endpoint identified, for example, by a phone number or a port number. Dial peers are defined from the perspective of the access server and are used for both inbound and outbound call legs. An inbound call leg originates outside the access server. An outbound call leg originates from the access server.

For inbound call legs, a dial peer might be associated with the calling number or the port designation. Outbound call legs always have a dial peer associated with them. The destination pattern (a defined initial part of a phone number) is used to identify the outbound dial peer. The call is associated with the outbound dial peer at setup time.

POTS dial peers associate a telephone number with a particular voice port so that incoming calls for that telephone number can be received and outgoing calls can be placed.

Using Class of Restrictions

The Class of Restrictions (COR) functionality provides the ability to deny certain call attempts based on the incoming and outgoing class of restrictions provisioned on the dial peers. This functionality provides flexibility in network design, allows users to block calls (for example, to 900 numbers), and applies different restrictions to call attempts from different originators.

COR is used to specify which incoming dial peer can use which outgoing dial peer to make a call. Each dial peer can be provisioned with an incoming and an outgoing COR list. The incoming COR list indicates the capability of the dial peer to initiate certain classes of calls. The outgoing COR list indicates the capability required for an incoming dial peer to deliver a call via this outgoing dial peer. If the capabilities of the incoming dial peer are not the same or a superset of the capabilities required by the outgoing dial peer, the call cannot be completed using this outgoing dial peer.


Note The use of COR is not required for call hairpinning.


Call Hairpinning Configuration Tasks

To configure call hairpinning on the Cisco AS5800, refer to the following sections:

Configuring Global or Interface Trunk Groups

Configuring Dial Peer Classes of Restrictions

Configuring Global or Interface Trunk Groups

You can create trunk groups globally (using the one-command version of Step 1) or on each interface (using the two-command version of Step 1). To configure trunk groups, use the following commands beginning in global configuration mode:

 
Command
Purpose

Step 1

Router(config)# trunk group group-number

Defines the trunk group globally.

 

or

 
 

Router(config-if)# interface serial0/0/n

and

Specifies the PRI D-channel. For n, the D-channel number, use:

0:23 on a T1 PRI

0:15 on an E1 PRI

 

Router(config-if)# trunk-group group-number

Adds the interface to a trunk group. If the trunk group has not been defined globally, it will be created now.

Step 2

Router(config-if)# max-calls {voice | data | any}
   number | [direction in | out]

Applies a maximum number of calls restriction to the trunk group.

This command can be repeated to apply a maximum number to different types of calls and, optionally, to specify whether the maximum applies to incoming or outgoing calls.

Note Repeat Step 1 and Step 2 to create additional trunk groups and specify their restrictions, as needed for your traffic.

Step 3

Router(config)# dial-peer voice tag pots

Enters dial-peer configuration mode and defines a remote dial peer.

Step 4

Router(config-dial-peer)# trunkgroup group-number

Specifies the trunk group to be used for outgoing calls to the destination phone number.

Configuring Dial Peer Classes of Restrictions

To configure classes of restrictions for dial peers, use the following commands beginning in global configuration mode:

 
Command
Purpose

Step 1

Router(config)# dial-peer cor custom

Specifies that named classes of restrictions apply to dial peers.

Step 2

Router(config-cor)# name class-name

Provides a name for a custom class of restrictions.

Note Repeat this step for additional class names, as needed. These class names are used in various combinations to define the lists in Step 3 and Step 4.

 

Step 3

Router(config)# dial-peer cor list list-name

Provides a name for a list of restrictions.

Step 4

Router(config-cor)# member class-name

Adds a COR class to this list of restrictions.

The member is a class named in Step 2.

Note Repeat Step 3 and Step 4 to define another list and its membership, as needed.

 

Step 5

Router(config)# dial-peer voice tag pots

Enters dial-peer configuration mode and defines a remote dial peer.

Step 6

Router(config-dial-peer)# corlist incoming cor-list-name

Specifies the COR list to be used when this is the incoming dial peer.

Step 7

Router(config-dial-peer)# corlist outgoing cor-list-name

Specifies the COR list to be used when this is the outgoing dial peer.

Note Repeat Step 5 through Step 7 for additional dial peers, as needed.

 

Complete Dial Plan Setup for Hairpinning

This example represents a complete dial-plan configuration for hairpinning on the Cisco AS5800:

! version 12.1 no service single-slot-reload-enable service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname nas-pop1 ! boot bootldr slot0:c5800-p4-mz.0.3.0 no logging buffered no logging buffered logging rate-limit console 10 except errors enable password letmein ! username user_T password 0 cisco username user_B password 0 cisco username nas-pstn password 0 cisco username callgen-term password 0 cisco username nas-pop1 password 0 cisco shelf-id 0 router-shelf shelf-id 1 dial-shelf ! ! resource-pool disable ! modem-pool Default pool-range 1/2/0-1/2/143,1/3/0-1/3/143 ! clock timezone MST -7 ! ! ip subnet-zero no ip finger no ip domain-lookup ! isdn switch-type primary-ni isdn voice-call-failure 0 call rsvp-sync ! ! controller E1 1/0/0 pri-group timeslots 1-31 nfas_d primary nfas_int 0 nfas_group 1 ! controller E1 1/0/1 pri-group timeslots 1-31 nfas_d none nfas_int 1 nfas_group 1 ! controller E1 1/0/2 pri-group timeslots 1-31 nfas_d none nfas_int 2 nfas_group 1 ! controller E1 1/0/3 pri-group timeslots 1-31 nfas_d none nfas_int 3 nfas_group 1 ! controller E1 1/0/4 pri-group timeslots 1-31 nfas_d none nfas_int 4 nfas_group 1 ! controller E1 1/0/5 pri-group timeslots 1-31 nfas_d none nfas_int 5 nfas_group 1 ! controller E1 1/0/6 pri-group timeslots 1-31 nfas_d none nfas_int 6 nfas_group 1 ! controller E1 1/0/7 pri-group timeslots 1-31 nfas_d none nfas_int 7 nfas_group 1 ! controller E1 1/0/8 pri-group timeslots 1-31 ! controller E1 1/0/9 pri-group timeslots 1-31 ! controller E1 1/0/10 pri-group timeslots 1-31 ! controller E1 1/0/11 pri-group timeslots 1-31 ! controller T1 1/1/0 ! controller T1 1/1/1 ! controller T1 1/1/2 ! controller T1 1/1/3 ! controller T1 1/1/4 ! controller T1 1/1/5 ! controller T1 1/1/6 ! controller T1 1/1/7 ! controller T1 1/1/8 ! controller T1 1/1/9 ! controller T1 1/1/10 ! controller T1 1/1/11 ! ! interface Loopback0 ip address 192.168.111.1 255.255.255.255 ip broadcast-address 192.168.111.1 no ip route-cache no ip mroute-cache ! interface Loopback1 no ip address ! interface FastEthernet0/0/0 ip address 10.10.7.10 255.255.255.0 ip broadcast-address 10.10.7.255 no ip route-cache no ip mroute-cache logging event link-status duplex full ! interface FastEthernet0/1/0 ip address 10.10.8.10 255.255.255.0 ip broadcast-address 10.10.8.255 no ip route-cache no ip mroute-cache duplex full ! interface Serial1/0/0:15 ip unnumbered Loopback0 encapsulation ppp ip mroute-cache no keepalive dialer hold-queue 1 dialer-group 1 isdn switch-type primary-ni isdn incoming-voice modem isdn rlm-group 1 no isdn send-status-enquiry isdn bchan-number-order ascending ppp authentication chap ! interface Serial1/0/8:15 no ip address isdn switch-type primary-ni isdn protocol-emulate network isdn calling-number 5800-ch8 no isdn T309-enable isdn bchan-number-order ascending trunk-group 101 no cdp enable ! interface Serial1/0/9:15 no ip address isdn switch-type primary-ni isdn protocol-emulate network isdn calling-number 5800-ch9 no isdn T309-enable isdn bchan-number-order ascending trunk-group 101 no cdp enable ! interface Serial1/0/10:15 no ip address isdn switch-type primary-ni isdn protocol-emulate network isdn calling-number 5800-ch10 no isdn T309-enable isdn bchan-number-order ascending trunk-group 101 no cdp enable ! interface Serial1/0/11:15 no ip address isdn switch-type primary-ni isdn protocol-emulate network isdn calling-number 5800-ch11 no isdn T309-enable isdn bchan-number-order ascending trunk-group 101 no cdp enable ! interface Group-Async0 ip unnumbered Loopback0 no ip proxy-arp encapsulation ppp ip tcp header-compression passive no ip mroute-cache logging event link-status dialer in-band dialer-group 1 async default routing async dynamic address async mode dedicated no peer default ip address ppp authentication chap group-range 1/2/00 1/3/143 ! ip kerberos source-interface any ip classless ip route 0.0.0.0 0.0.0.0 10.10.8.1 ip route 192.168.65.0 255.255.255.0 10.10.8.5 ip route 192.168.100.0 255.255.255.0 10.10.8.5 no ip http server ! no logging trap logging facility local0 logging 10.1.1.5 snmp-server engineID local 000000090200000217C46400 snmp-server community public RO snmp-server community lab RW snmp-server enable traps snmp authentication linkdown linkup coldstart snmp-server enable traps calltracker snmp-server enable traps isdn call-information snmp-server enable traps isdn layer2 snmp-server enable traps hsrp snmp-server enable traps config snmp-server enable traps entity snmp-server enable traps envmon snmp-server enable traps aaa_server snmp-server enable traps syslog snmp-server enable traps ipmulticast snmp-server enable traps rsvp snmp-server enable traps frame-relay snmp-server enable traps rtr snmp-server enable traps dial snmp-server enable traps dsp card-status snmp-server enable traps ipdc snmp-server enable traps bgp snmp-server enable traps voice poor-qov snmp-server host 10.10.8.100 public ! ! rlm group 1 server sc2200b link address 10.10.7.20 source FastEthernet0/0/0 weight 100 ! ! trunk group 101 ! voice-port 1/0/0:D ! voice-port 1/0/8:D ! voice-port 1/0/9:D ! voice-port 1/0/10:D ! voice-port 1/0/11:D ! dial-peer cor custom name 800_call name 900block name 888_call ! ! dial-peer cor list list1 member 800_call ! dial-peer cor list list2 member 888_call ! ! dial-peer voice 1 pots corlist incoming list1 trunkgroup 101 destination-pattern 1800...... no digit-strip direct-inward-dial prefix 1800 ! dial-peer voice 2 pots corlist incoming list2 trunkgroup 101 destination-pattern 1888...... no digit-strip direct-inward-dial prefix 1888 ! ! line con 0 session-timeout 5 transport input none line aux 0 line vty 0 4 exec-timeout 0 0 password letmein login line vty 5 9 password letmein login line 1/2/00 1/2/143 activation-character 0 disconnect-character 0 modem InOut no modem log rs232 escape-character soft 0 escape-character 0 autohangup hold-character 0 line 1/3/00 1/3/143 activation-character 0 disconnect-character 0 modem InOut no modem log rs232 escape-character soft 0 escape-character 0 autohangup hold-character 0 ! ntp update-calendar ntp peer 172.20.144.245




hometocprevnextglossaryfeedbacksearchhelp

Posted: Thu Oct 14 10:34:51 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.