|
Table Of Contents
Provisioning the Cisco SS7 Interconnect for Voice Gateways Solution by Using MML
Starting the Provisioning Session
Provisioning SS7 Signaling Routes
Adding the SS7 Signaling Service
Verifying the SS7 Signaling Service
Adding C7 IP Links to Cisco SLTs
Verifying NAS Signaling Services
Using a Text File to Add Trunks
Provisioning the Dial Plan/Number Analysis
Provisioning White and Black List Screening
Creating and Processing an MML Batch File for Provisioning
Provisioning the Cisco SS7 Interconnect for Voice Gateways Solution by Using MML
This chapter describes how to provision a sample Cisco SS7 Interconnect for Voice Gateways Solution (shown in Figure 4-1). The chapter describes a sample configuration for the illustration purpose only. Your configuration will vary and depend on your own network configuration.
Tip Notes are used in this chapter to identify the procedures and other elements that differ in the Cisco Media Gateway Controller (MGC) software Release 7.3(x) and the Cisco MGC software Release 7.4(x). However, most procedures are the same for both software releases.
This chapter presents two ways of provisioning with MML:
•Using MML commands individually to provision your system. (This can be time consuming if you have a large configuration.)
•Creating a simple MML batch file in ASCII format and processing it with MML.
To skip directly to the MML batch file used to provision the sample configuration, see "Creating and Processing an MML Batch File for Provisioning" section.
Figure 4-1 Sample Cisco SS7 Interconnect for Voice Gateways Solution
Caution Do not use the sample values in this chapter to provision your system. You must research your network and obtain your own values for the network addresses, point codes, and other parameters used in your solution. If you use the sample values presented here, your configuration will not work.
Provisioning Outline
Perform the following steps to provision the sample Cisco SS7 Interconnect for Voice Gateways Solution.
Step Section and PageProvision SS7 signaling routes
Step 1
Add the OPC1 in your network.
Step 2
Add the DPC2 to identify the destination switch.
Step 3
Add the APCs3 to identify the STPs4 with which the signaling controller communicates signaling information.
Step 4
Add linksets to connect the Cisco SLTs5 to the STPs.
Step 5
Add the SS7 subsystem to identify the mated STPs.
Step 6
Add the SS7 routes for each signaling path from the signaling controller to the destination switch.
Step 7
Add the SS7 signaling service from the signaling controller to the destination switch.
Provision signaling links
Step 1
Add the Ethernet adapters (cards) in the SC host that carry signaling to and from the Cisco SLTs.
Step 2
Add Ethernet interfaces for the cards in the host.
Step 3
Add C7 IP links for each SS7 link from the signaling controller to the SS7 network (through the Cisco SLT).
Provision NAS6 links
Step 1
Add external nodes for the NASes in your network.
Step 2
Add NAS signaling services for each NAS.
Step 3
Add IP links for each NAS to each Ethernet card in the SC host.
Provision trunks
Step 1
Create the trunk file and add trunks from each NAS to the signaling controller.
Step 2
Import the trunk file.
Deploy the session
1 OPC = origination point code
2 DPC = destination point code
3 APCs = adjacent point codes
4 STPs = Signal Transfer Points
5 Cisco SLTs = Cisco Signaling Link Terminals
6 NAS = network access server
Note Trunk groups and trunk routing are not used in the Cisco SS7 Interconnect for Voice Gateways Solution. This solution uses nailed trunks between the voice gateways and the PSTN switch. The signaling controller does not perform trunk group selection in this solution.
Provisioning Worksheet
Table 4-1 shows a provisioning worksheet for the sample configuration shown in this chapter.
Starting the Provisioning Session
Log in to the signaling controller and start an MML session. For more information on MML commands, see the Cisco Media Gateway Controller Software Release 7 Reference Guide.
Caution Do not log in as root when starting MML. If you log in as root and attempt to start an MML session, you cause a core dump and MML does not start.
To start an MML session:
Step 1 Log in to the signaling controller as a user who is a member of the transpath group. (In Cisco media gateway controller software Release 7.4(x), this group has been renamed the mgcgrp group.)
Note If you log in as a user who is not in the transpath or mgcgrp group, you might need to enter the commands newgrp transpath (or newgrp mgcgrp) and source .cshrc after logging in.
Step 2 Enter mml:
machine-name% mml
copyright © 1998-2000, Cisco Systems, Inc.
machine-name mml>
If another session is running, you receive a message similar to the following:
machine-name% mml
copyright © 1998-2000, Cisco Systems, Inc.
mml1: Already in use
Failure to run MML, reason=Entry was already present
machine-name%
To see other MML sessions that are running, enter ls /opt/TransPath/var (for Cisco media gateway controller software Release 7.4(x), enter ls /opt/CiscoMGC/var). MML session numbers range from 1 through 12. Depending on the number of MML sessions, you will see a list of files similar to the following:
mml0.LOCK
mml1.LOCK
mml2.LOCK
If MML is already running, enter mml -s x (x = the number of a session that does not appear as locked; range is 1 through 12):
machine-name% mml -s 2
Copyright © 1998-2000, Cisco Systems, Inc.
machine-name mml>
Step 3 Start a provisioning session by entering the prov-sta::srcver="new",dstver="dialcfg1" command:
machine-name mml> prov-sta::srcver="new",dstver="dialcfg1"
Media Gateway Controller 2000-04-04 15:00:57
M COMPLD
"PROV-STA"
;
machine-name mml>
This starts a new provisioning session ("new"), names it CFG_dialcfg1, and saves the configuration files in /opt/TransPath/etc/CONFIG_LIB.
Note In Cisco media gateway controller software Release 7.4(x), the files are saved in /opt/CiscoMGC/etc/CONFIG_LIB.
Tip If another provisioning session is running, you cannot start a provisioning session. You receive an error similar to Example 4-1.
Example 4-1 Provisioning Session Error
machine-name mml> prov-sta::srcver="new",dstver="dial9"
Media Gateway Controller 2000-04-04 15:02:42
M DENY
SROF
"PROV-STA: POM session is already in use by mml2"
/* Status, Requested Operation Failed on the component */
;
To see if another provisioning session is running, enter the prov-rtrv:session command:
machine-name mml> prov-rtrv:session
Media Gateway Controller 2000-04-04 15:03:07
M RTRV
"session=dialcfg1:session"
/*
Session ID = mml2
SRCVER = new
DSTVER = dialcfg1
*/
;
This example shows that an active provisioning session named dialcfg1 is in use.
Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information on provisioning with MML and general provisioning steps.
MML Tips
MML commands use the following syntax:
command_name:[target][, target][, target. . .][:Parameter_List][;comments]
When entering MML commands, remember the following:
•In general, MML commands are not case sensitive. However, file names are when used as arguments in MML commands (for example, TKGFile, BCFile, RoutingFile).
•Use only one MML command on each line.
•Anything entered after a semicolon (;) is treated as a comment (this is primarily useful for MML command scripts).
•Do not use punctuation (such as the period character) for target names; for example, do not use test.log as a logging destination.
•After starting a provisioning session, MML displays COMPLD, indicating success. The COMPLD message is displayed after successful commands. For failed commands, MML displays DENY.
•Sessions inactive for 30 minutes result in a warning. If the session continues without activity for 5 more minutes, it terminates.
•As many as 12 MML sessions can exist at any given time; however, only one provisioning session is allowed.
•You can create an ASCII text file for batch processing of provisioning commands.
•You can create batch files for individual segments of provisioned data.
•During batch file execution, each MML command response echoes to the terminal. You can log command responses for later review so that the file can run unattended.
•Place quotation marks around all value strings in your commands. For example, card="Interface1". The keyword card does not have to be enclosed in quotation marks. The value Interface1 is being assigned to keyword card and must be enclosed in quotations.
To obtain on-line help in an MML session, enter help at the command prompt. For more information, refer to the Cisco Media Gateway Controller Release 7 Software Reference Guide.
Tip To repeat the last MML command you entered, use the up arrow. To scroll through all previously entered MML commands, continue to use the up arrow. To modify and reenter a previously entered command, use the up arrow to display the command and then the left- and right-arrows, Backspace, Delete, and alphanumeric keys to edit the command. Press Enter to reenter the command.
Note Many procedures in this chapter refer to sections in Cisco Media Gateway Controller Software Release 7 Provisioning Guide. Keep that book handy when performing the procedures in this chapter.
Provisioning SS7 Signaling Routes
The SS7 signaling route is the path from the Cisco SC host to a service switching point (SSP) through the Cisco SLTs and signal transfer points (STPs). In the sample configuration in this chapter, the SSP is the PSTN switch. When you provision the SS7 signaling routes, you add the following components:
•OPC—Origination point code or the point code of the signaling controller in your network
•DPC—Destination point code or the point code of the PSTN switch A to which you are connecting
•APCs—Adjacent point codes or the point codes of the adjacent STPs
•Linksets
•SS7 subsystems (to identify mated STPs)
•SS7 routes
•SS7 signaling services
For more information on configuring SS7 signaling routes, see Cisco Media Gateway Controller Software Release 7 Provisioning Guide.
Adding the OPC
A point code is an SS7 network address that identifies an SS7 network node, such as an STP or an SSP.
Note ITU point codes contain 14 bits, and North American point codes contain 24 bits.
The following procedure shows how to add the point code for the SC host.
Verifying the OPC
To verify that you have added the opc, enter the prov-rtrv:ptcode:name="opc" command:
machine-name mml> prov-rtrv:ptcode:name="opc"
Media Gateway Controller 2000-04-04 15:05:44
M RTRV
"session=dialcfg1:ptcode"
/*
NAME = opc
DESC = Origination point code
NETADDR = 171.1.4
NETIND = 2
*/
;
Note In software Release 7.4(x), you can retrieve and verify all point codes by entering the prov-rtrv:ptcode:"all" command as shown in Example 4-2.
Example 4-2 Retrieving All Point Codes
machine-name mml> prov-rtrv:ptcode:"all"
Media Gateway Controller 2000-04-04 15:05:32
M RTRV
"session=dialcfg1:ptcode"
/*
NAME NETADDR NETIND
---- ------- ------
opc 171.1.4 2
*/
;Adding the DPC
The following procedure shows how to add the point code for the PSTN switch A.
Verifying the DPC
To verify that you have added the DPC, enter the prov-rtrv:ptcode:name="dpc1" command:
machine-name mml> prov-rtrv:ptcode:name="dpc1"
Media Gateway Controller 2000-04-04 15:09:25
M RTRV
"session=dialcfg1:ptcode"
/*
NAME = dpc1
DESC = PPC of PSTN Switch A
NETADDR = 171.1.3
NETIND = 2
*/
;
Note In software Release 7.4(x), you can retrieve and verify all point codes by entering the prov-rtrv:ptcode:"all" command as shown in Example 4-3.
Example 4-3 Retrieving All Point Codes
machine-name mml> prov-rtrv:ptcode:"all"
Media Gateway Controller 2000-04-04 15:10:47
M RTRV
"session=dialcfg1:ptcode"
/*
NAME NETADDR NETIND
---- ------- ------
opc 171.1.4 2
dpc1 171.1.3 2
*/
;
Adding the APCs
The following procedure shows how to add the adjacent point codes for the STPs.
Note The sample configuration in this chapter uses A-links from the STPs for signaling to the Cisco SLTs. If you have a configuration where F-links come directly from the SSP to the Cisco SLTs, you do not need to add APCs.
Verifying the APCs
To verify that you have entered the APCs, enter the prov-rtrv:apc:name="MML name" command for each APC. For example, to verify the first APC:
machine-name mml> prov-rtrv:apc:name="apc1"
Media Gateway Controller 2000-04-04 15:13:54
M RTRV
"session=dialcfg1:apc"
/*
NAME = apc1
DESC = APC for STP A
NETADDR = 171.16.1
NETIND = 0
*/
;
Note In software Release 7.4(x), you can retrieve and verify all APCs by entering the prov-rtrv:apc:"all" command as shown in Example 4-4.
Example 4-4 Retrieving All APCs
machine-name mml> prov-rtrv:apc:"all"
Media Gateway Controller 2000-04-04 10:45:12
M RTRV
"session=dialcfg1:apc"
/*
NAME NETADDR NETIND
---- ------- ------
apc1 171.16.1 2
apc2 171.16.2 2
*/
;
Adding Linksets
A linkset is a logical set of one or more links originating from an SS7 node (STP) and connecting to an adjacent node. In this example, the linkset contains communication links that connect from the signaling controller to an adjacent STP. You must provision one linkset for each connection through the STP to the signaling controller.
Verifying Linksets
To verify that you have entered the linksets, enter the prov-rtrv:lnkset:name="MML name" command for each linkset. For example, to verify the first linkset:
machine-name mml> prov-rtrv:lnkset:name="ls01"
Media Gateway Controller 2000-04-04 15:18:40
M RTRV
"session=dialcfg1:lnkset"
/*
NAME = ls01
DESC = Linkset from signaling controller to STP A
APC = apc1
PROTO = SS7-ANSI
TYPE = IP
*/
;
Note In software Release 7.4(x), you can retrieve and verify all linksets by entering the prov-rtrv:lnkset:"all" command as shown in Example 4-5.
Example 4-5 Retrieving All Linksets
machine-name mml> prov-rtrv:lnkset:"all"
Media Gateway Controller 2000-04-04 15:20:43
M RTRV
"session=dialcfg1:lnkset"
/*
NAME APC PROTO TYPE
---- --- ----- ----
ls01 apc1 SS7-ANSI IP
ls02 apc2 SS7-ANSI IP
*/
;
Note After creating the linksets, you must create the C7 IP links for each linkset. See "Adding C7 IP Links to Cisco SLTs" section.
Adding the SS7 Subsystem
You must add an SS7 subsystem that identifies each pair of mated STPs. This allows the signaling controller to route traffic over the C-links between the STPs in case of a failure between one of the STPs and an endpoint.
Verifying the SS7 Subsystem
To verify that you have added the SS7 subsystem, enter the prov-rtrv:ss7subsys:name="subsys1" command:
machine-name mml> prov-rtrv:ss7subsys:name="subsys1"
Media Gateway Controller 2000-04-04 15:22:44
M RTRV
"session=dialcfg1:ss7subsys"
/*
NAME = subsys1
DESC = Route between STP A and STP B
SVC = apc1
PRI = 3
MATEDAPC = apc2
SSN = 0
PROTO = SS7-ANSI
STPSCPIND = 0
TRANSPROTO = SCCP
*/
;
Adding SS7 Routes
An SS7 route is a path through a linkset between the signaling controller and another signaling controller or TDM switch. In this example, the SS7 routes indicate the linksets that carry SS7 signals between the signaling controller and the PSTN switch A.
You must add an SS7 route for each signaling path from the signaling controller to the PSTN switch A. You provision a route for each linkset.
Verifying SS7 Routes
To verify that you have entered the SS7 routes, enter the prov-rtrv:ss7route:name="MML name" command for each SS7 route. For example, to verify the first SS7 route:
machine-name mml> prov-rtrv:ss7route:name="ss7route1"
Media Gateway Controller 2000-04-04 15:32:21
M RTRV
"session=dialcfg1:ss7route"
/*
NAME = ss7route1
DESC = Route 1 to PSTN Switch A through LS01
OPC = opc
DPC = dpc1
LNKSET = ls01
PRI = 1
*/
;
Note In software Release 7.4(x), you can retrieve and verify all SS7 routes by entering the prov-rtrv:ss7route:"all" command as shown in Example 4-6.
Example 4-6 Retrieving All SS7 Routes
machine-name mml> prov-rtrv:ss7route:"all"
Media Gateway Controller 2000-04-04 11:01:18
M RTRV
"session=dialcfg1:ss7route"
/*
NAME OPC DPC LNKSET
PRI
---- --- --- ------
---
ss7route1 opc dpc1 ls01
1
ss7route2 opc dpc1 ls02
1
*/
;
Adding the SS7 Signaling Service
The SS7 signaling service specifies the path and the protocol variant that the signaling controller uses to communicate with a remote switch (SSP) that sends bearer traffic to the NASs.
You must add an SS7 signaling service from the signaling controller to the PSTN switch.
Note We recommend that you go ahead and provision a customer group ID for your SS7 signaling service, even if you are not planning on currently using the screening tools. This is because once the SS7 signaling service is placed in service, you would have to take it out-of-service to add a customer group ID.
Verifying the SS7 Signaling Service
To verify that you have added the SS7 signaling service, enter the prov-rtrv:ss7path:name="ss7sigsvc" command:
mml> prov-rtrv:ss7path:name="ss7sigsvc"
Media Gateway Controller 2000-03-03 14:22:12
M RTRV
"session=dialcfg1:ss7path"
/*
NAME = ss7sigsvc
DESC = SS7 service to PSTN Switch A
DPC = dpc1
MDO = ANSISS7_STANDARD
CUSTGRPID = d125
CUSTGRPTBL = 0101
SIDE = network
ASPPART = N
*/
;
Provisioning Signaling Links
You must provision links for all physical connections bearing signals that enter and exit the signaling controller. This includes SS7 signals from the SSP (PSTN Switch A) and signals to the NASs. You must add the following components:
•Ethernet cards in the signaling controller that provide an interface from the Cisco SLT
•Ethernet interfaces for the cards you provision
•C7 IP links to the Cisco SLTs
Adding Adapters (Cards)
You must add a card component for each card in the signaling controller. For the example in this chapter, you add one Ethernet card for each connection to the IP network—one card for the 10-Mb signaling network and one for the 100-Mb signaling network. These cards permit SS7 signaling between the signaling controller and the Cisco SLTs.
Note You provision only one set of cards for one signaling controller (the primary), even though both signaling controllers are highlighted.
Verifying Adapters (Cards)
To verify that you have entered the cards, enter the prov-rtrv:card:name="MML name" command. For example, to verify the first Ethernet card:
machine-name mml> prov-rtrv:card:name="encard1"
Media Gateway Controller 2000-03-03 20:38:44
M RTRV
"session=dialcfg1:card"
/*
NAME = encard1
DESC = Ethernet Card 1
TYPE = EN
SLOT = 0
*/
;
Note In software Release 7.4(x), you can retrieve and verify all cards by entering the prov-rtrv:card:"all" command as shown in Example 4-7.
Example 4-7 Retrieving All Cards
machine-name mml> prov-rtrv:card:"all"
Media Gateway Controller 2000-04-04 11:10:24
M RTRV
"session=dialcfg1:card"
/*
NAME TYPE SLOT
---- ---- ----
encard1 EN 0
encard2 EN 1
*/
;
Note You must provision the card before provisioning the card interfaces.
Adding Ethernet Interfaces
The Ethernet interface provides the physical line interface between the signaling controller's Ethernet card and the physical Ethernet network. You must add an Ethernet interface if you have added an Ethernet card.
Verifying Ethernet Interfaces
To verify that you have entered the Ethernet interfaces, enter the prov-rtrv:enetif:name="MML name" command. For example, to verify the first Ethernet interface:
va-testing mml> prov-rtrv:enetif:name="enetif1"
Media Gateway Controller 2000-03-03 20:40:05
M RTRV
"session=dialcfg1:enetif"
/*
NAME = enetif1
DESC = Ethernet interface for Card 1
CARD = encard1
*/
;
Note In software Release 7.4(x), you can retrieve and verify all Ethernet interfaces by entering the prov-rtrv:enetif:"all" command as shown in Example 4-8.
Example 4-8 Retrieving All Ethernet Interfaces
machine-name mml> prov-rtrv:enetif:"all"
Media Gateway Controller 2000-04-04 11:27:16
M RTRV
"session=dialcfg1:enetif"
/*
NAME CARD
---- ----
enetif1 encard1
enetif2 encard2
*/
;
Adding C7 IP Links to Cisco SLTs
A C7 IP link component identifies a link between the Cisco SLT's IP address and port, and an SSP or an STP in the SS7 network. The C7 IP link identifies one of the links within a linkset.
Note Use C7 IP links only when your configuration has Cisco SLTs that carry SS7 signaling to the signaling controller over IP. If your configuration does not include Cisco SLTs and your links terminate from the STPs directly into TDM cards in the signaling controller, you must provision TDM links. For example, the Cisco SS7 Dial Access Solution
Release 2.0 uses TDM cards and TDM links.
You must add a C7 IP link for each physical SS7 link that is connected to the SS7 network through the Cisco SLT. These links correspond to the linksets you created in the "Adding Linksets" section.
You must add two links for linkset 1 and two links for linkset 2.
Note The value of the remote IP port for each C7 IP link is retrieved from the value set for the *.stPort field in the XECfgParm.dat file you set up during your initial system configuration. Refer to the Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide for more information.
Verifying C7 IP Links
To verify that you have entered the C7 IP links, enter the prov-rtrv:c7iplnk:name="MML name" command. For example, to verify the first C7 IP link:
va-testing mml> prov-rtrv:c7iplnk:name="c7iplink1"
Media Gateway Controller 2000-03-03 21:12:47
M RTRV
"session=dialcfg1:c7iplnk"
/*
NAME = c7iplink1
DESC = Link 1 in Linkset 1
LNKSET = ls01
IF = enetif1
IPADDR = IP_Addr1
PORT = 5000
PEERADDR = 175.30.241.27
PEERPORT = 32767
SLC = 0
PRI = 1
TIMESLOT = 0
*/
;
Note In software Release 7.4(x), you can retrieve and verify all C7 IP links by entering the prov-rtrv:c7iplnk:"all" command as shown in Example 4-9.
Example 4-9 Retrieving All C7 IP Links
machine-name mml> prov-rtrv:c7iplnk:"all"
Media Gateway Controller 2000-04-04 11:40:17
M RTRV
"session=dialcfg1:c7iplnk"
/*
NAME LNKSET IF IPADDR PORT PEERADDR PEERPORT PRI SLC TIMESLOT
---- ------ -- ------ ---- -------- -------- --- --- --------
c7iplink1 ls01 enetif1 IP_Addr1 5000 175.30.241.27 32767 1 0 0
c7iplink2 ls02 enetif1
IP_Addr2 5000 175.30.238.28 32767 1 1 0
c7iplink3 ls01 enetif2
IP_Addr1 5000 175.30.241.27 32767 1 0 0
c7iplink4 ls02 enetif2 IP_Addr2 5000 175.30.238.28 32767 1 1 0
*/
;
Provisioning NAS Links
NAS links indicate the communication path the signaling controller uses to control the bearer traffic that passes through each voice gateway.
To add links to the voice gateway in your network, you must add the following components:
•NAS external node
•NAS signaling service
•IP links
Adding NAS External Nodes
You must add a NAS external node for each voice gateway in your network.
Verifying NAS External Nodes
To verify that you have entered the NASs, enter the prov-rtrv:extnode:name="MML name" command. For example, to verify the first NAS:
va-testing mml> prov-rtrv:extnode:name="nas1"
Media Gateway Controller 2000-03-04 11:36:46
M RTRV
"session=dialcfg1:extnode"
/*
NAME = nas1
DESC = NAS 1
*/
;
Note In software Release 7.4(x), you can retrieve and verify all NAS external nodes by entering the prov-rtrv:extnode:"all" command as shown in Example 4-10.
Example 4-10 Retrieving All External Nodes
machine-name mml> prov-rtrv:extnode:"all"
Media Gateway Controller 2000-04-04 11:44:41
M RTRV
"session=dialcfg1:extnode"
/*
NAME
----
nas1
nas2
nas3
*/
;
Adding NAS Signaling Services
You must add a NAS signaling service for each NAS you created in the "Adding NAS External Nodes" section. The NAS signaling service indicates the Q.931 protocol path between the signaling controller and the voice gateways.
Verifying NAS Signaling Services
To verify that you have entered the NAS signaling services, enter the prov-rtrv:naspath:name="MML name" command. For example, to verify the first NAS signaling service was added:
va-testing mml> prov-rtrv:naspath:name="nassvc1"
Media Gateway Controller 2000-03-04 11:42:36
M RTRV
"session=dialcfg1:naspath"
/*
NAME = nassvc1
DESC = Signaling service for NAS 1
EXTNODE = nas1
MDO = BELL_1268_C3
*/
;
Note In software Release 7.4(x), you can retrieve and verify all NAS signaling services by entering the prov-rtrv:naspath:"all" command as shown in Example 4-11.
Example 4-11 Retrieving All NAS Signaling Services
machine-name mml> prov-rtrv:naspath:"all"
Media Gateway Controller 2000-04-04 11:49:02
M RTRV
"session=dialcfg1:naspath"
/*
NAME EXTNODE MDO
---- ------- ---
nassvc1 nas1 BELL_1268_C3
nassvc2 nas2 BELL_1268_C3
nassvc3 nas3 BELL_1268_C3
*/
;
Adding IP Links
You must add an IP link from each voice gateway to each Ethernet card and interface in the signaling controller. In this example, you provision the following IP links:
•NAS 1 to enetif1
•NAS 1 to enetif2
•NAS 2 to enetif1
•NAS 2 to enetif2
•NAS 3 to enetif1
•NAS 3 to enetif 2
Note If you are provisioning two links from the signaling controller to the same voice gateway, you need two different Ethernet IP addresses on both the signaling controller and the voice gateway.
Note The provisioning examples in this section create two redundant link manager (RLM) links (forming an RLM group) for each NAS. As of Release 7.4(12) of the Cisco MGC software, you can create multiple RLM groups for each NAS. To create multiple RLM groups for each NAS, use the command shown above for each link in each RLM group. Ensure that the IP links in any multiple RLM groups use the following values defined in the associated NAS: the IP address of the loopback interfaces as the peer address value and the port number of the loopback interfaces as the peer port value.
Verifying IP Links
To verify that you have entered the IP links, enter the prov-rtrv:iplnk:name="MML name" command to verify the first IP link:
va-testing mml> prov-rtrv:iplnk:name="iplink1"
Media Gateway Controller 2000-03-04 12:01:23
M RTRV
"session=dialcfg1:iplnk"
/*
NAME = iplink1
DESC = IP link for NAS 1 to Ethernet Interface 1
SVC = nassvc1
IF = enetif1
IPADDR = IP_Addr1
PORT = 3001
PEERADDR = 175.30.241.2
PEERPORT = 3001
PRI = 1
SIGSLOT = 0
SIGPORT = 0
*/
;
Note In software Release 7.4(x), you can retrieve and verify all IP links by entering the prov-rtrv:iplnk:"all" command as shown in Example 4-12.
Example 4-12 Retrieving All IP Links
machine-name mml> prov-rtrv:iplnk:"all"
Media Gateway Controller 2000-04-04 12:05:43
M RTRV
"session=dialcfg1:iplnk"
/*
Provisioning Trunks
You must add trunks for each connection between the NAS and the PSTN switch. NAS 1 has four T1 lines, NAS 2 has four T1 lines, and NAS 3 has three T1 lines. Each T1 contains 24 trunks, or DS0s. For the examples in this section, you must provision 264 trunks (96 for NAS1, 96 for NAS2, and 72 for NAS3).
Note If you have already provisioned the spans on the NAS to be associated with these trunks, you must remove these spans from service on the NAS using the shutdown command, before you provision the trunks on the Cisco SC2200.
You can add trunks using any of the following methods:
•Importing a text file you create that contains all of your trunks
•Adding trunks individually with an MML command
•Adding up to 24 trunks for T1 lines or 31 trunks for E1 lines with an MML command.
Note This option is available in software Release 7.4(x) only. However, if you use the CMM with software Release 7.3(x), you can add 24 trunks at one time for T1 lines and 31 trunks at one time for E1 lines. See "Provisioning Trunks" section for more information on adding trunks with the CMM.
Tip If you have a large number of trunks, use the text file method for adding trunks.
Using a Text File to Add Trunks
Using a text file to add trunks requires you to create a text file that contains the following fields:
•Trunk ID—A unique identifier, maps to NAME (trunk ID).
•Source Service Name—The signaling service you created in "Adding the SS7 Signaling Service" section; used to look up SRCSVC.
•Source Span ID—Maps to SRCSPAN (converted from decimal to hexadecimal except when value is ffff).
Note For nailed trunks in the signaling controller, this value is always ffff.
•Source Time Slot—Identifies the time slot on the T1 at the destination (PSTN switch). Maps to SRCTIMESLOT (converted from decimal to hexadecimal except when value is ffff).
•Destination Service Name—The signaling service for the NAS you created in "Adding NAS Signaling Services" section. Used to lookup DSTSVC.
•Destination Span ID—The appropriate T1 line and T1 controller on the NAS. This value is the nfas_int value that is set in IOS on the NAS. Maps to DSTSPAN (converted from decimal to hex except when value is ffff).
Note The values used for destination span in the following examples are sample values. The real values for this parameter would match whichever PRI port the T1 is connected to on the NAS. Valid values are 0 through 3.
•Destination Time Slot—Identifies the time slot on the T1 that terminates at the NAS. Maps to DSTTIMESLOT (converted from decimal to hexadecimal except when value is ffff)
The following example shows the trunk text file for the sample configuration in this chapter. The fields in the text file correspond to the fields described above.
Example 4-13 Trunk Text File
#format2
100 ss7sigsvc ffff 1 nassvc1 1 1
101 ss7sigsvc ffff 2 nassvc1 1 2
102 ss7sigsvc ffff 3 nassvc1 1 3
103 ss7sigsvc ffff 4 nassvc1 1 4
104 ss7sigsvc ffff 5 nassvc1 1 5
105 ss7sigsvc ffff 6 nassvc1 1 6
106 ss7sigsvc ffff 7 nassvc1 1 7
107 ss7sigsvc ffff 8 nassvc1 1 8
108 ss7sigsvc ffff 9 nassvc1 1 9
109 ss7sigsvc ffff 10 nassvc1 1 10
110 ss7sigsvc ffff 11 nassvc1 1 11
111 ss7sigsvc ffff 12 nassvc1 1 12
112 ss7sigsvc ffff 13 nassvc1 1 13
113 ss7sigsvc ffff 14 nassvc1 1 14
114 ss7sigsvc ffff 15 nassvc1 1 15
115 ss7sigsvc ffff 16 nassvc1 1 16
116 ss7sigsvc ffff 17 nassvc1 1 17
117 ss7sigsvc ffff 18 nassvc1 1 18
118 ss7sigsvc ffff 19 nassvc1 1 19
119 ss7sigsvc ffff 20 nassvc1 1 20
120 ss7sigsvc ffff 21 nassvc1 1 21
121 ss7sigsvc ffff 22 nassvc1 1 22
122 ss7sigsvc ffff 23 nassvc1 1 23
123 ss7sigsvc ffff 24 nassvc1 1 24
124 ss7sigsvc ffff 25 nassvc1 1 25
125 ss7sigsvc ffff 26 nassvc1 1 26
126 ss7sigsvc ffff 27 nassvc1 1 27
127 ss7sigsvc ffff 28 nassvc1 1 28
128 ss7sigsvc ffff 29 nassvc1 1 29
129 ss7sigsvc ffff 30 nassvc1 1 30
130 ss7sigsvc ffff 31 nassvc1 1 31
131 ss7sigsvc ffff 32 nassvc1 2 1
132 ss7sigsvc ffff 33 nassvc1 2 2
133 ss7sigsvc ffff 34 nassvc1 2 3
134 ss7sigsvc ffff 35 nassvc1 2 4
135 ss7sigsvc ffff 36 nassvc1 2 5
136 ss7sigsvc ffff 37 nassvc1 2 6
137 ss7sigsvc ffff 38 nassvc1 2 7
138 ss7sigsvc ffff 39 nassvc1 2 8
139 ss7sigsvc ffff 40 nassvc1 2 9
140 ss7sigsvc ffff 41 nassvc1 2 10
141 ss7sigsvc ffff 42 nassvc1 2 11
142 ss7sigsvc ffff 43 nassvc1 2 12
143 ss7sigsvc ffff 44 nassvc1 2 13
144 ss7sigsvc ffff 45 nassvc1 2 14
145 ss7sigsvc ffff 46 nassvc1 2 15
146 ss7sigsvc ffff 47 nassvc1 2 16
147 ss7sigsvc ffff 48 nassvc1 2 17
148 ss7sigsvc ffff 49 nassvc1 2 18
149 ss7sigsvc ffff 50 nassvc1 2 19
150 ss7sigsvc ffff 51 nassvc1 2 20
151 ss7sigsvc ffff 52 nassvc1 2 21
152 ss7sigsvc ffff 53 nassvc1 2 22
153 ss7sigsvc ffff 54 nassvc1 2 23
154 ss7sigsvc ffff 55 nassvc1 2 24
155 ss7sigsvc ffff 56 nassvc1 2 25
156 ss7sigsvc ffff 57 nassvc1 2 26
157 ss7sigsvc ffff 58 nassvc1 2 27
158 ss7sigsvc ffff 59 nassvc1 2 28
159 ss7sigsvc ffff 60 nassvc1 2 29
160 ss7sigsvc ffff 61 nassvc1 2 30
161 ss7sigsvc ffff 62 nassvc1 2 31
162 ss7sigsvc ffff 63 nassvc1 3 1
163 ss7sigsvc ffff 64 nassvc1 3 2
164 ss7sigsvc ffff 65 nassvc1 3 3
165 ss7sigsvc ffff 66 nassvc1 3 4
166 ss7sigsvc ffff 67 nassvc1 3 5
167 ss7sigsvc ffff 68 nassvc1 3 6
168 ss7sigsvc ffff 69 nassvc1 3 7
169 ss7sigsvc ffff 70 nassvc1 3 8
170 ss7sigsvc ffff 71 nassvc1 3 9
171 ss7sigsvc ffff 72 nassvc1 3 10
172 ss7sigsvc ffff 73 nassvc1 3 11
173 ss7sigsvc ffff 74 nassvc1 3 12
174 ss7sigsvc ffff 75 nassvc1 3 13
175 ss7sigsvc ffff 76 nassvc1 3 14
176 ss7sigsvc ffff 77 nassvc1 3 15
177 ss7sigsvc ffff 78 nassvc1 3 16
178 ss7sigsvc ffff 79 nassvc1 3 17
179 ss7sigsvc ffff 80 nassvc1 3 18
180 ss7sigsvc ffff 81 nassvc1 3 19
181 ss7sigsvc ffff 82 nassvc1 3 20
182 ss7sigsvc ffff 83 nassvc1 3 21
183 ss7sigsvc ffff 84 nassvc1 3 22
184 ss7sigsvc ffff 85 nassvc1 3 23
185 ss7sigsvc ffff 86 nassvc1 3 24
186 ss7sigsvc ffff 87 nassvc1 3 25
187 ss7sigsvc ffff 88 nassvc1 3 26
188 ss7sigsvc ffff 89 nassvc1 3 27
189 ss7sigsvc ffff 90 nassvc1 3 28
190 ss7sigsvc ffff 91 nassvc1 3 29
191 ss7sigsvc ffff 92 nassvc1 3 30
192 ss7sigsvc ffff 93 nassvc1 3 31
193 ss7sigsvc ffff 94 nassvc2 4 1
194 ss7sigsvc ffff 95 nassvc2 4 2
195 ss7sigsvc ffff 96 nassvc2 4 3
196 ss7sigsvc ffff 97 nassvc2 4 4
197 ss7sigsvc ffff 98 nassvc2 4 5
198 ss7sigsvc ffff 99 nassvc2 4 6
199 ss7sigsvc ffff 100 nassvc2 4 7
200 ss7sigsvc ffff 101 nassvc2 4 8
201 ss7sigsvc ffff 102 nassvc2 4 9
202 ss7sigsvc ffff 103 nassvc2 4 10
203 ss7sigsvc ffff 104 nassvc2 4 11
204 ss7sigsvc ffff 105 nassvc2 4 12
205 ss7sigsvc ffff 106 nassvc2 4 13
206 ss7sigsvc ffff 107 nassvc2 4 14
207 ss7sigsvc ffff 108 nassvc2 4 15
208 ss7sigsvc ffff 109 nassvc2 4 16
209 ss7sigsvc ffff 110 nassvc2 4 17
210 ss7sigsvc ffff 111 nassvc2 4 18
211 ss7sigsvc ffff 112 nassvc2 4 19
212 ss7sigsvc ffff 113 nassvc2 4 20
213 ss7sigsvc ffff 114 nassvc2 4 21
214 ss7sigsvc ffff 115 nassvc2 4 22
215 ss7sigsvc ffff 116 nassvc2 4 23
216 ss7sigsvc ffff 117 nassvc2 4 24
217 ss7sigsvc ffff 118 nassvc2 4 25
218 ss7sigsvc ffff 119 nassvc2 4 26
219 ss7sigsvc ffff 120 nassvc2 4 27
220 ss7sigsvc ffff 121 nassvc2 4 28
221 ss7sigsvc ffff 122 nassvc2 4 29
222 ss7sigsvc ffff 123 nassvc2 4 30
223 ss7sigsvc ffff 124 nassvc2 4 31
224 ss7sigsvc ffff 125 nassvc2 5 1
225 ss7sigsvc ffff 126 nassvc2 5 2
226 ss7sigsvc ffff 127 nassvc2 5 3
227 ss7sigsvc ffff 128 nassvc2 5 4
228 ss7sigsvc ffff 129 nassvc2 5 5
229 ss7sigsvc ffff 130 nassvc2 5 6
230 ss7sigsvc ffff 131 nassvc2 5 7
231 ss7sigsvc ffff 132 nassvc2 5 8
232 ss7sigsvc ffff 133 nassvc2 5 9
233 ss7sigsvc ffff 134 nassvc2 5 10
234 ss7sigsvc ffff 135 nassvc2 5 11
235 ss7sigsvc ffff 136 nassvc2 5 12
236 ss7sigsvc ffff 137 nassvc2 5 13
237 ss7sigsvc ffff 138 nassvc2 5 14
238 ss7sigsvc ffff 139 nassvc2 5 15
239 ss7sigsvc ffff 140 nassvc2 5 16
240 ss7sigsvc ffff 141 nassvc2 5 17
241 ss7sigsvc ffff 142 nassvc2 5 18
242 ss7sigsvc ffff 143 nassvc2 5 19
243 ss7sigsvc ffff 144 nassvc2 5 20
244 ss7sigsvc ffff 145 nassvc2 5 21
245 ss7sigsvc ffff 146 nassvc2 5 22
246 ss7sigsvc ffff 147 nassvc2 5 23
247 ss7sigsvc ffff 148 nassvc2 5 24
248 ss7sigsvc ffff 149 nassvc2 5 25
249 ss7sigsvc ffff 150 nassvc2 5 26
250 ss7sigsvc ffff 151 nassvc2 5 27
251 ss7sigsvc ffff 152 nassvc2 5 28
252 ss7sigsvc ffff 153 nassvc2 5 29
253 ss7sigsvc ffff 154 nassvc2 5 30
254 ss7sigsvc ffff 155 nassvc2 5 31
255 ss7sigsvc ffff 156 nassvc2 6 1
256 ss7sigsvc ffff 157 nassvc2 6 2
257 ss7sigsvc ffff 158 nassvc2 6 3
258 ss7sigsvc ffff 159 nassvc2 6 4
259 ss7sigsvc ffff 160 nassvc2 6 5
260 ss7sigsvc ffff 161 nassvc2 6 6
261 ss7sigsvc ffff 162 nassvc2 6 7
262 ss7sigsvc ffff 163 nassvc2 6 8
263 ss7sigsvc ffff 164 nassvc2 6 9
264 ss7sigsvc ffff 165 nassvc2 6 10
265 ss7sigsvc ffff 166 nassvc2 6 11
266 ss7sigsvc ffff 167 nassvc2 6 12
267 ss7sigsvc ffff 168 nassvc2 6 13
268 ss7sigsvc ffff 169 nassvc2 6 14
269 ss7sigsvc ffff 170 nassvc2 6 15
270 ss7sigsvc ffff 171 nassvc2 6 16
271 ss7sigsvc ffff 172 nassvc2 6 17
272 ss7sigsvc ffff 173 nassvc2 6 18
273 ss7sigsvc ffff 174 nassvc2 6 19
274 ss7sigsvc ffff 175 nassvc2 6 20
275 ss7sigsvc ffff 176 nassvc2 6 21
276 ss7sigsvc ffff 177 nassvc2 6 22
277 ss7sigsvc ffff 178 nassvc2 6 23
278 ss7sigsvc ffff 179 nassvc2 6 24
279 ss7sigsvc ffff 180 nassvc2 6 25
280 ss7sigsvc ffff 181 nassvc2 6 26
281 ss7sigsvc ffff 182 nassvc2 6 27
282 ss7sigsvc ffff 183 nassvc2 6 28
283 ss7sigsvc ffff 184 nassvc2 6 29
284 ss7sigsvc ffff 185 nassvc2 6 30
285 ss7sigsvc ffff 186 nassvc2 6 31
286 ss7sigsvc ffff 187 nassvc3 7 1
287 ss7sigsvc ffff 188 nassvc3 7 2
288 ss7sigsvc ffff 189 nassvc3 7 3
289 ss7sigsvc ffff 190 nassvc3 7 4
290 ss7sigsvc ffff 191 nassvc3 7 5
291 ss7sigsvc ffff 192 nassvc3 7 6
292 ss7sigsvc ffff 193 nassvc3 7 7
293 ss7sigsvc ffff 194 nassvc3 7 8
294 ss7sigsvc ffff 195 nassvc3 7 9
295 ss7sigsvc ffff 196 nassvc3 7 10
296 ss7sigsvc ffff 197 nassvc3 7 11
297 ss7sigsvc ffff 198 nassvc3 7 12
298 ss7sigsvc ffff 199 nassvc3 7 13
299 ss7sigsvc ffff 200 nassvc3 7 14
300 ss7sigsvc ffff 201 nassvc3 7 15
301 ss7sigsvc ffff 202 nassvc3 7 16
302 ss7sigsvc ffff 203 nassvc3 7 17
303 ss7sigsvc ffff 204 nassvc3 7 18
304 ss7sigsvc ffff 205 nassvc3 7 19
305 ss7sigsvc ffff 206 nassvc3 7 20
306 ss7sigsvc ffff 207 nassvc3 7 21
307 ss7sigsvc ffff 208 nassvc3 7 22
308 ss7sigsvc ffff 209 nassvc3 7 23
309 ss7sigsvc ffff 210 nassvc3 7 24
310 ss7sigsvc ffff 211 nassvc3 7 25
311 ss7sigsvc ffff 212 nassvc3 7 26
312 ss7sigsvc ffff 213 nassvc3 7 27
313 ss7sigsvc ffff 214 nassvc3 7 28
314 ss7sigsvc ffff 215 nassvc3 7 29
315 ss7sigsvc ffff 216 nassvc3 7 30
316 ss7sigsvc ffff 217 nassvc3 7 31
317 ss7sigsvc ffff 218 nassvc3 8 1
318 ss7sigsvc ffff 219 nassvc3 8 2
319 ss7sigsvc ffff 220 nassvc3 8 3
320 ss7sigsvc ffff 221 nassvc3 8 4
321 ss7sigsvc ffff 222 nassvc3 8 5
322 ss7sigsvc ffff 223 nassvc3 8 6
323 ss7sigsvc ffff 224 nassvc3 8 7
324 ss7sigsvc ffff 225 nassvc3 8 8
325 ss7sigsvc ffff 226 nassvc3 8 9
326 ss7sigsvc ffff 227 nassvc3 8 10
327 ss7sigsvc ffff 228 nassvc3 8 11
328 ss7sigsvc ffff 229 nassvc3 8 12
329 ss7sigsvc ffff 230 nassvc3 8 13
330 ss7sigsvc ffff 231 nassvc3 8 14
331 ss7sigsvc ffff 232 nassvc3 8 15
332 ss7sigsvc ffff 233 nassvc3 8 16
333 ss7sigsvc ffff 234 nassvc3 8 17
334 ss7sigsvc ffff 235 nassvc3 8 18
335 ss7sigsvc ffff 236 nassvc3 8 19
336 ss7sigsvc ffff 237 nassvc3 8 20
337 ss7sigsvc ffff 238 nassvc3 8 21
338 ss7sigsvc ffff 239 nassvc3 8 22
339 ss7sigsvc ffff 240 nassvc3 8 23
340 ss7sigsvc ffff 241 nassvc3 8 24
341 ss7sigsvc ffff 242 nassvc3 8 25
342 ss7sigsvc ffff 243 nassvc3 8 26
343 ss7sigsvc ffff 244 nassvc3 8 27
344 ss7sigsvc ffff 245 nassvc3 8 28
345 ss7sigsvc ffff 246 nassvc3 8 29
346 ss7sigsvc ffff 247 nassvc3 8 30
347 ss7sigsvc ffff 248 nassvc3 8 31
When your file is complete, save it in the /opt/TransPath/etc/cust_specific directory by using filename.extension (for example, trunks.txt.) Then use the prov-add:files command to load the table.
Note In Cisco Media Gateway Controller software Release 7.4(x), save the file in the /opt/CiscoMGC/cust_specific directory.
Caution When you import a trunk file, all the existing bearer channels are replaced by the bearer channels that you import.
To provision the trunks:
Command/Action PurposeStep 1
Use a text editor to create the trunk text file.
Provisions the fields needed for creation of trunks.
Step 2
Save the file in /opt/TransPath/etc/cust_specific.
Note In Cisco Media Gateway Controller Software Release 7.4(x), save the file in /opt/CiscoMGC/etc/cust_specific.
Puts the file in the correct directory.
Step 3
Start a provisioning session. (See "Starting the Provisioning Session" section.)
Begins the session.
Step 4
Enter the prov-add:files command:
machine-name mml> prov-add:files:name="BCFile",file="trunks.txt",actio n="import"
Media Gateway Controller 2000-03-04 13:16:43
M COMPLD
"files"
;
Imports a trunk or bearer channel file (BCFile) called trunks.txt from the opt/TransPath/etc/cust_specific or /opt/CiscoMGC/etc/cust_specific directory.
Verifying Trunks
To verify that you have added the trunks, exit MML and change to the /opt/TransPath/etc/CONFIG_LIB/CFG_dialcfg1 directory.
Note For Cisco Media Gateway Controller software Release 7.4(x), the bearChan.dat file is located in the /opt/CiscoMGC/etc/CONFIG_LIB/CFG_dialcfg1 directory.
View the bearChan.dat file to ensure it contains the trunk information from the trunks.txt file you imported. The following example shows part of the bearChan.dat file:
machine-name% cd /opt/CiscoMGC/etc/CONFIG_LIB/CFG_dialcfg1
machine-name% more bearChan.dat
100 00130002 ffff 1 00140001 2 1
101 00130002 ffff 2 00140001 2 2
102 00130002 ffff 3 00140001 2 3
103 00130002 ffff 4 00140001 2 4
104 00130002 ffff 5 00140001 2 5
105 00130002 ffff 6 00140001 2 6
106 00130002 ffff 7 00140001 2 7
107 00130002 ffff 8 00140001 2 8
108 00130002 ffff 9 00140001 2 9
109 00130002 ffff a 00140001 2 a
110 00130002 ffff b 00140001 2 b
111 00130002 ffff c 00140001 2 c
112 00130002 ffff d 00140001 2 d
113 00130002 ffff e 00140001 2 e
114 00130002 ffff f 00140001 2 f
115 00130002 ffff 10 00140001 2 10
116 00130002 ffff 11 00140001 2 11
117 00130002 ffff 12 00140001 2 12
118 00130002 ffff 13 00140001 2 13
119 00130002 ffff 14 00140001 2 14
120 00130002 ffff 15 00140001 2 15
Note In software Release 7.4(x), you can retrieve and verify all trunks by entering the prov-rtrv:nailedtrnk:"all" command:
machine-name mml> prov-rtrv:nailedtrnk:"all"
Media Gateway Controller 2000-04-04 16:55:03
M RTRV
"session=active:nailedtrnk"
/*
NAME SRCSVC SRCSPAN SRCTIMESLOT DSTSVC
DSTSPAN DSTTIMESLOT
---- ------ ------ ----------- ------
------- -----------
100 ss7sigsvc ffff 1 nassvc1
2 1
101 ss7sigsvc ffff 2 nassvc1
2 2
102 ss7sigsvc ffff 3 nassvc1
2 3
103 ss7sigsvc ffff 4 nassvc1
2 4
104 ss7sigsvc ffff 5 nassvc1
2 5
105 ss7sigsvc ffff 6 nassvc1
2 6
106 ss7sigsvc ffff 7 nassvc1
2 7
107 ss7sigsvc ffff 8 nassvc1
2 8
108 ss7sigsvc ffff 9 nassvc1
2 9
109 ss7sigsvc ffff 10 nassvc1
2 10
110 ss7sigsvc ffff 11 nassvc1
2 11
111 ss7sigsvc ffff 12 nassvc1
2 12
112 ss7sigsvc ffff 13 nassvc1
2 13
113 ss7sigsvc ffff 14 nassvc1
2 14
114 ss7sigsvc ffff 15 nassvc1
2 15
115 ss7sigsvc ffff 16 nassvc1
2 16
116 ss7sigsvc ffff 17 nassvc1
2 17
117 ss7sigsvc ffff 18 nassvc1
2 18
Adding a Nailed Trunk
Although you can add individual trunks with MML, doing so is not recommended if you have a large number of trunks to add. Using MML to add trunks requires that you enter the command to add individual trunks for each of the 264 trunks that you need to provision.
Note In software Release 7.4(x), you can add multiple trunks for a T1 or E1. See the following procedures for more information.
To add individual trunks:
Note Adding individual trunks by using this command requires that you perform this action
24 times for each T1.
To add multiple trunks in software Release 7.4(x):
Note If you have already provisioned the spans on the NAS to be associated with these trunks, you can now return those spans to service on the NAS using the no shutdown command.
Provisioning the Dial Plan/Number Analysis
The signaling controller provides the ability to create a dial plan to perform number analysis on both the A (calling) number and B (called) number. You can set up dial plans to perform routing, send calls to announcement servers, modify dialed digits, and perform other results.
You do not use the advanced features in the dial plan for the Cisco SS7 Interconnect for Access Servers Solution and the Cisco SS7 Interconnect for Voice Gateways Solution. In these solutions, the signaling controller routes calls directly over the IP network and does not perform routing or switching to
trunk groups.Provisioning White and Black List Screening
In the Cisco SS7 Interconnect for Access Servers Solution, you might want to perform white and black list screening to include or exclude calls from certain numbers. You can provision white lists that specify allowed A-numbers (calling numbers) or B-numbers (called numbers). Black lists block specified A-numbers (calling numbers) or B-numbers (called numbers).
For instructions on using the CMM to provision a sample B white list, see "Configuring the B White List" section.
For information on using MML to provision black and white list screening, see Chapter 6, "Adding System Components with MML," in the Cisco Media Gateway Controller Software Release 7 Dial Plan Guide.
Deploying the Session
The example used in this chapter features a continuous-service SC node. You must deploy the session to save it to the machine you are provisioning. The system then copies the files to the standby SC node.
Tip If you receive an error while trying to deploy, your connection between the active and standby SC nodes might be configured improperly. The communication between the active and standby SC nodes is configured in the XECfgParm.dat file on each machine. See the "Configuring the Execution Environment" section in Chapter 2 of Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide for more information.
Procedure
Note Restart the standby server after reconfiguration to apply changes.
Verify
To verify that you have deployed the configuration, enter the prov-rtrv:all command and verify that the active configuration shown is the one you provisioned:
machine-name mml> prov-rtrv:all
Media Gateway Controller - VSC-01 2000-03-04 13:50:06
M RTRV
"session=active:all"
/*
NAME Parent Name TID Description
---- ----------- --- -----------
"encard1" "VSC-01" CARD "Ethernet Card 1"
"encard2" "VSC-01" CARD "Ethernet Card 2"
"enetif1" "encard1" ENETIF "Ethernet interface for Card 1"
"enetif2" "encard2" ENETIF "Ethernet interface for Card 2"
"ls01" "apc1" LNKSET "Linkset from signaling controller to STP A"
"ls02" "apc2" LNKSET "Linkset from signaling controller to STP B"
"iplink1" "nassvc1" IPLNK "IP link for NAS 1"
"iplink2" "nassvc2" IPLNK "IP link for NAS 2"
"iplink3" "nassvc3" IPLNK "IP link for NAS 3"
"iplink4" "nassvc1" IPLNK "IP link 2 for NAS 1"
"iplink5" "nassvc2" IPLNK "IP link 2 for NAS 2"
"iplink6" "nassvc3" IPLNK "IP link 2 for NAS 3"
"ss7route1" "VSC-01" SS7ROUTE "Route 1 to PSTN Switch A through LS1"
"ss7route2" "VSC-01" SS7ROUTE "Route 2 to PSTN Switch A through LS1"
"opc" "VSC-01" PTCODE "Origination point code"
"dpc1" "VSC-01" PTCODE "DPC of PSTN Switch A"
"nassvc1" "nas1" NASPATH "Signaling service for NAS 1"
"nassvc2" "nas2" NASPATH "Signaling service for NAS 2"
"nassvc3" "nas3" NASPATH "Signaling service for NAS 3"
<Press Enter to continue OR Press * and Enter to quit output of command>
"ss7sigsvc" "dpc1" SS7PATH "SS7 service to PSTN Switch A"
"nas1" "VSC-01" EXTNODE "NAS 1"
"nas2" "VSC-01" EXTNODE "NAS 2"
"nas3" "VSC-01" EXTNODE "NAS 3"
"c7iplink1" "ls01" C7IPLNK "Link 1 in Linkset 1"
"c7iplink2" "ls02" C7IPLNK "Link 1 in Linkset 1"
"c7iplink3" "ls01" C7IPLNK "Link 1 in Linkset 2"
"c7iplink4" "ls02" C7IPLNK "Link 2 in Linkset 2"
"apc1" "VSC-01" APC "APC for STP A"
"apc2" "VSC-01" APC "APC for STP B"
"subsys1" "VSC-01" SS7SUBSYS "Route between STP A and STP B"
*/
;
Creating and Processing an MML Batch File for Provisioning
You can create a file of MML provisioning commands for use as a batch file. All commands are in a single ASCII text file; when they are read by MML, the commands are executed sequentially.
Note It is important that the MML provisioning commands be in the correct provisioning sequence based on component dependencies. For example, a line interface cannot be provisioned before the card.
If you use an MML batch file, you can cut and paste commands, and you can use the batch files repeatedly to "reprovision" the signaling controller or to quickly provision multiple signaling controllers. However, if you intend to run the batch file multiple times on the same host, plan the source and destination directories carefully.
Tip You can create batch files to define complete systems or modify parts of an existing system.
Creating the File
To create a batch file, use an ASCII text editor to create a new file with one MML command on each line, ending with a carriage return. You can use any name for the file (follow UNIX file naming conventions), and you can store it in any location. However, the file must be accessible on the machine where you run MML sessions. The following example shows a sample MML batch file for the configuration in this chapter.
Example 4-14 Sample MML Provisioning Batch File
prov-sta::srcver="new",dstver="dialcfg1";
prov-add:ptcode:name="opc",netaddr="171.1.4",netind=2,desc="Origination point code";
prov-add:ptcode:name="dpc1",netaddr="171.1.3",netind=2,desc="DPC of PSTN Switch A";
prov-add:apc:name="apc1",netaddr="171.16.1",desc="APC for STP A";
prov-add:apc:name="apc2",netaddr="171.16.2",desc="APC for STP B";
prov-add:lnkset:name="ls01",apc="apc1",type="IP",proto="SS7-ANSI",desc="Linkset from signaling controller to STP A";
prov-add:lnkset:name="ls02",apc="apc2",type="IP",proto="SS7-ANSI",desc="Linkset from signaling controller to STP B";
prov-add:ss7subsys:name="subsys1",svc="apc1",matedapc="apc2",proto="SS7-ANSI",pri=3,ssn=0, desc="Route between STP A and STP B";
prov-add:ss7route:name="ss7route1",opc="opc",dpc="dpc1",lnkset="ls01",pri=1,desc="Route 1 to PSTN Switch A through LS1";
prov-add:ss7route:name="ss7route2",opc="opc",dpc="dpc1",lnkset="ls02",pri=1,desc="Route 2 to PSTN Switch A through LS1";
prov-add:ss7path:name="ss7sigsvc",mdo="ANSISS7_STANDARD",dpc="dpc1",desc="SS7 service to PSTN Switch A";
prov-add:card:name="encard1",type="EN",slot=0,desc="Ethernet Card 1";
prov-add:card:name="encard2",type="EN",slot=1,desc="Ethernet Card 2";
prov-add:enetif:name="enetif1",card="encard1",desc="Ethernet interface for Card 1";
prov-add:enetif:name="enetif2",card="encard2",desc="Ethernet interface for Card 2";
prov-add:c7iplnk:name="c7iplink1",if="enetif1",ipaddr="IP_Addr1",port=7000,peeraddr="175.3 0.241.27",peerport=32767,pri=1,slc=0,lnkset="ls01",desc="Link 1 in Linkset 1";
prov-add:c7iplnk:name="c7iplink2",if="enetif2",ipaddr="IP_Addr2",port=7000,peeraddr="175.3 0.238.28",peerport=32767,pri=1,slc=1,lnkset="ls02",desc="Link 2 in Linkset 1";
prov-add:c7iplnk:name="c7iplink3",if="enetif1",ipaddr="IP_Addr1",port=7000,peeraddr="175.3 0.241.27",peerport=32767,pri=1,slc=0,lnkset="ls01",desc="Link 1 in Linkset 2";
prov-add:c7iplnk:name="c7iplink4",if="enetif2",ipaddr="IP_Addr2",port=7000,peeraddr="175.3 0.238.28",peerport=32767,pri=1,slc=1,lnkset="ls02",desc="Link 2 in Linkset 2";
prov-add:extnode:name="nas1",desc="NAS 1";
prov-add:extnode:name="nas2",desc="NAS 2";
prov-add:extnode:name="nas3",desc="NAS 3";
prov-add:naspath:name="nassvc1",extnode="nas1",mdo="BELL_1268_C3",desc="Signaling service for NAS 1";
prov-add:naspath:name="nassvc2",extnode="nas2",mdo="BELL_1268_C3",desc="Signaling service for NAS 2";
prov-add:naspath:name="nassvc3",extnode="nas3",mdo="BELL_1268_C3",desc="Signaling service for NAS 3";
prov-add:iplnk:name="iplink1",if="enetif1",ipaddr="IP_Addr1",port=6001,peeraddr="172.16.0. 2",peerport=6001,svc="nassvc1",desc="IP link for NAS 1";
prov-add:iplnk:name="iplink2",if="enetif1",ipaddr="IP_Addr1",port=6001,peeraddr="172.16.0. 3",peerport=6001,svc="nassvc2",desc="IP link for NAS 2";
prov-add:iplnk:name="iplink3",if="enetif1",ipaddr="IP_Addr1",port=6001,peeraddr="172.16.0. 4",peerport=6001,svc="nassvc3",desc="IP link for NAS 3";
prov-add:iplnk:name="iplink4",if="enetif2",ipaddr="IP_Addr2",port=6001,peeraddr="172.16.0. 2",peerport=6001,svc="nassvc1",desc="IP link 2 for NAS 1";
prov-add:iplnk:name="iplink5",if="enetif2",ipaddr="IP_Addr2",port=6001,peeraddr="172.16.0. 3",peerport=6001,svc="nassvc2",desc="IP link 2 for NAS 2";
prov-add:iplnk:name="iplink6",if="enetif2",ipaddr="IP_Addr2",port=6001,peeraddr="172.16.0. 4",peerport=6001,svc="nassvc3",desc="IP link 2 for NAS 3";
numan-add:dialplan:custgrpid="t778";
numan-add:awhite:custgrpid="t778",cli="7034843000";
numan-dlt:awhite:custgrpid="t778",cli="7034843001";
prov-cpy;
The first command starts a provisioning session, and the last command terminates and commits the provisioning session. If you are not ready to commit a session, use the prov-stp command to save and stop the provisioning session.
The prov-cpy or prov-dply command makes the provisioning session active and automatically stops the provisioning session.
Processing the File
To process the batch file, use the mml -b path/filename UNIX command.
Verifying the File
After you enter the command, MML displays the result of each command as it is executed. When the batch file is done, the MML session is closed.
To verify that you have deployed the configuration, log in and begin an MML session. Enter the prov-rtrv:all command and verify that the active configuration shown is the one you provisioned.
Tip MML provides a log function that records the MML commands and responses for you in a log file. If you start this function before you start the provisioning session and stop it after you stop the provisioning session, you can let the batch file run unattended and then check the log file later for any error messages. The log command is called diaglog. For more information on using this command, refer to the Cisco Media Gateway Software Release 7 Reference Guide.
Posted: Wed Oct 20 10:41:26 PDT 2004
All contents are Copyright © 1992--2004 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.