• No results found

Command List

In document 84670340-CIPT180LG (Page 34-40)

The table describes the commands that are used in this activity.

Cisco IOS Gateway Commands

Command Description

enable Enables you to enter privileged EXEC mode or any other security level that is set by a system administrator debug isdn q931 Displays information about call setup and teardown of

ISDN network connections (Layer 3) between the local router (user side) and the network

configure terminal Enters global configuration mode

ccm-manager config Specifies the TFTP server from which the MGCP gateway downloads Cisco Unified Communications Manager XML configuration files, and enables download of the

configuration

ccm-manager config server Configures the IP address or logical name of the TFTP server from which the XML configuration files are downloaded

mgcp Enables the MGCP application on the gateway show mgcp Displays values for MGCP parameters

show mgcp endpoint Displays a list of all MGCP endpoints on an MGCP gateway

show ccm-manager hosts Displays the registration status of the MGCP gateway on its Cisco Unified Communications Manager systems

Job Aids

These job aids are available to help you complete the lab activity.

MGCP Gateway Information

Call Agent Redundant Host

10.x.1.1 10.x.1.2

Cisco Unified Communications Manager Administration Configuration for MGCP Gateway

Parameter Data

Domain Name HQ-x (where x is your port number) Description MGCP gateway

Cisco Unified

Communications Manager Group

Default

Module in Slot 0 NM-4VWIC-MBRD (for ISR routers)

Subunit 1 VWIC2-1MFT-E1 (depends on actual hardware used) Port 0/0 (depends on actual hardware used)

Channel Selection Order

Top Down

H.323 Gateway Information

Parameter Data

Hostname HQ2-x (where x is your port number) HQ2-x IP address 10.x.1.102

Task 1: Configure an MGCP Gateway by Using T1/E1 PRI to the PSTN in Cisco Unified Communications Manager

In this task, you will configure Cisco Unified Communications Manager to use the MGCP protocol toward the MGCP gateway HQ-x in your cluster.

Activity Procedure

Complete these steps:

Add an MGCP Gateway in Cisco Unified Communications Manager

Step 1 In Cisco Unified Communications Manager Administration, go to Device >

Gateway. On the new page that is shown, click Add New.

Step 2 Choose the gateway platform (for example, Cisco 2811) that is used for Cisco IOS MGCP gateway HQ-x (where x is your cluster number) from the Gateway Type drop-down list and click Next.

Step 3 From the Protocol drop-down list, choose the protocol type MGCP and click Next.

Configure an MGCP Gateway in Cisco Unified Communications Manager

Step 4 Enter the following parameters in the Gateway Configuration window, then click Save:

Domain Name: HQ-x (where x is your pod number)

Note The name has to match the hostname of the router and is case-sensitive.

Description: HQ-x MGCP gateway

Cisco Unified Communications Manager Group: Default

Module in Slot 0: NM-4VWIC-MBRD

Global ISDN Switchtype: NI2

Caution These steps are platform-dependent. Ask your instructor to determine the actual hardware that is used for the MGCP gateway. This lab guide is based on the Cisco 2811 router platform with T1/E1 interfaces. You can use the show version, show diag, and show inventory commands to see details about the hardware that is actually used in your lab environment.

Add MGCP Endpoints by Selecting Modules and Voice Interface Cards

Step 5 In the Configured Slots, VICs and Endpoints pane, from the Subunit 0 in Slot 0, choose module VWIC2-1MFT-T1E1-T1. Click Save.

Step 6 Click the port icon 0/0/0 (the far-left endpoint with the question mark).

Step 7 In the next window, from the Device Protocol drop-down list, choose Digital Access PRI, and click Next.

Step 8 In the Gateway Configuration page, choose the following parameters:

Device Pool: Default

PRI Protocol Type: NI2

Channel Selection Order: Top Down

Step 9 Save your changes and reset the gateway.

Activity Verification

You have completed this task when you attain this result:

The MGCP gateway appears in the list when you choose Device > Gateway and click Find.

Task 2: Configure a Cisco IOS Gateway for MGCP

In this task, you will enable MGCP on the Cisco IOS MGCP gateway HQ-x.

Activity Procedure

Complete these steps:

Access the Cisco IOS MGCP Gateway

Step 1 Open a Telnet session to reach your MGCP gateway HQ-x (IP address

10.x.250.101). Log in and change to enable mode. The login password and enable secret password are cisco.

Step 2 In the enable mode, enter the show running-config command. No MGCP commands are currently configured on the gateway.

Note The Cisco IOS commands shown in this lab exercise depend on the hardware that is used in your class. Ask your instructor for any changes based on the actually used hardware.

Configure the Cisco IOS MGCP Gateway to Use the Configuration Server Method

Step 3 In global configuration mode, enter the following commands:

card type t1 0 0

!

network-clock-participate wic 0

!

ccm-manager config server 10.x.1.1 ccm-manager config

exit

copy running-config startup-config

Note The gateway will now pull its MGCP configuration from the Cisco Unified Communications Manager TFTP server.

Step 4 Enter the show running-config command. You should see more than the two configured MGCP commands.

Reduce the Utilized B-Channels from 24 to 8

Step 5 Disable the configuration server by entering the following command in global configuration mode.

no ccm-manager config

Step 6 In global configuration mode, enter the following commands to shut down the voice-port associated with the T1 PRI.

voice-port 0/0/0:23 shutdown

Step 7 Disable PRI backhauling on the T1 D-channel interface serial 0/0/0:23

no isdn bind-l3 ccm-manager

Step 8 Remove the autoconfigured pri-group and add a new one.

controller t1 0/0/0 shutdown

no pri-group timeslots 1-24 service mgcp pri-group timeslots 1-8 service mgcp no shutdown

Step 9 Re-enable PRI backhauling.

interface serial 0/0/0:23 isdn bind-l3 ccm-manager end

Note As you deactivated the configuration server feature, the MGCP process at the Cisco IOS gateway is not automatically reset anymore when you reset the gateway in Cisco Unified Communications Manager. You have to manually reset the MGCP process at the Cisco IOS gateway every time after you reset the gateway in Cisco Unified Communications Manager.

Enter the command no mgcp command followed by mgcp command in order to reset the MGCP process at the Cisco IOS router.

Activity Verification

You have completed this task when you attain these results:

You can verify that your MGCP gateway has successfully registered to the Cisco Unified Communications Manager by using the show ccm-manager hosts command (Status shows as Registered) and by using the show mgcp endpoint command to check that the MGCP-controlled T1/E1 PRI endpoint channels are up.

Verify the MGCP status by using the show mgcp command. The Admin State and the Operational State are Active.

Verify that the MGCP gateway and the MGCP endpoints are registered at Cisco Unified Communications Manager:

Step 1 Log in to Cisco Unified Communications Manager Administration.

Step 2 Navigate to Device > Gateway.

Step 3 In the Find Gateways section, choose Show Endpoints and click Find.

Step 4 The status of the MGCP gateway endpoint should be “Registered with 10.x.1.1”; the gateway IP address should be 10.x.1.101.

Task 3: Configure a Route Pattern Towards the MGCP Gateway

In this task, you will configure Cisco Unified Communications Manager to route calls that start with a 9 to the MGCP gateway trunk interface.

Activity Procedure

Complete these steps:

Create a Route Pattern in Cisco Unified Communications Manager

Step 1 Go to Call Routing > Route/Hunt > Route Pattern, and click Add New.

Step 2 In the Route Pattern Configuration window, enter the following parameters:

Route Pattern: 911

Description: Temporary Route Pattern to PSTN

Gateway/Route List: S0/SU0/DS1-0@HQ-x

Step 3 Click Save. You are notified by a pop-up window that the authorization code will not be activated. Click OK.

Step 4 You are notified by another pop-up window that changes will reset the gateway.

Click OK.

Activity Verification

You have completed this task when you attain these results:

From a Cisco IP phone in your pod, you can successfully reach the PSTN emergency number (part of the simulated PSTN). Specifically, perform these steps:

Step 1 At PC-x, start Cisco IP Communicator.

Step 2 Cisco IP Communicator should display PSTN-Phone-x in the top-right corner of its display. On top of the softkeys, Cisco IP Communicator should display PSTN Phone. If Cisco IP Communicator does not display this information, ask your instructor for help.

Step 3 From one of your Cisco IP phones, place a call to 911.

Step 4 At the PSTN phone (Cisco IP Communicator running on PC-x), accept the call. This call was sent through your HQ-x PSTN gateway.

Task 4: Add an H.323 Gateway in Cisco Unified Communications Manager

In this task, you will configure Cisco Unified Communications Manager to use the H.323 protocol toward the H.323 gateway HQ2-x in your cluster.

Note The H.323 gateway will be added to Cisco Unified Communications Manager only to show the necessary configuration steps. The gateway is not physically present. It is only added in Cisco Unified Communications Manager and will be used in the next task to demonstrate that if the preferred gateway (HQ2-x) is not running, a backup gateway (HQ-x) can be used.

Activity Procedure

Complete these steps:

Add an H.323 Gateway in Cisco Unified Communications Manager

Step 1 In Cisco Unified Communications Manager Administration, go to Device >

Gateway, and on the new page that is shown, click Add New.

Step 2 Choose H.323 Gateway from the Gateway Type drop-down list, and click Next.

Configure an H.323 Gateway in Cisco Unified Communications Manager

Step 3 Enter the following parameters in the Gateway Configuration window, then click Save:

Device Name: 10.x.1.102 (where x is your pod number)

Description: HQ2-x H.323 gateway

Device Pool: Default

Activity Verification

You have completed this task when you attain this result:

The H.323 gateway appears in the list when you choose Device > Gateway and click Find.

Cleanup

Delete the route pattern that you created in this lab exercise. In the next lab, you will create route patterns that refer to a route list with redundant gateways. To delete the route pattern, follow these steps:

Step 1 Go to Call Routing > Route/Hunt > Route Pattern, and click Find.

Step 2 Select the newly created route pattern 911 and click Delete Selected.

Lab 4-2: Configuring Cisco Unified

Communications Manager Call-Routing

In document 84670340-CIPT180LG (Page 34-40)

Related documents