Read 54bas2.mif text version

Basic Configuration Using the Command-Line Interface

The information in this chapter applies to the Cisco AS5350XM and Cisco AS5400XM universal gateways. After you have verified your basic setup, you are ready to begin performing basic tasks that prepare your system for data call processing. This chapter describes how to use the Cisco IOS software command-line interface (CLI) to commission your Cisco AS5350XM or Cisco AS5400XM universal gateway and includes the following tasks:

· · · · · · · · · · · · · · · · · ·

Configuring the Hostname, Password, and Time Stamps, page 2 Configuring Local AAA Security, page 3 Creating a Login Banner, page 5 Configuring Loopback Interfaces, Gigabit Ethernet Interfaces, and IP Route, page 5 Configuring the Asynchronous Group Interface, page 6 Configuring T1 and E1 Feature Cards, page 8 Configuring a Channelized T3 Feature Card, page 11 Configuring ISDN PRI, page 12 Configuring DS0 Trunk Group Dial Out, page 19 Configuring the D Channels for ISDN Signaling, page 22 Configuring the Universal Port and Dial-Only Feature Cards, page 24 Configuring the Voice Feature Card, page 29 Configuring Clocking, page 30 Enabling IP Basic Setup, page 34 Testing Asynchronous Shell Connections, page 35 Verifying the Final Running Configuration, page 38 Saving Configuration Changes, page 40 Where to Go Next, page 40

Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

Basic Configuration Using the Command-Line Interface Configuring the Hostname, Password, and Time Stamps

Tip

If you are experienced using the Cisco IOS software, you might find the "Where to Go Next" section on page 40 a useful reference for configuration.

Configuring the Hostname, Password, and Time Stamps

The first configuration tasks you might want to execute are assign a hostname to your Cisco AS5350XM or Cisco AS5400XM, set an encrypted password, and turn on time stamps for these reasons:

· · ·

Assigning a hostname allows you to distinguish between different network devices. Setting an encrypted password in the configuration file adds greater security on your gateway. Time stamps help you trace debug output for testing connections. Not knowing exactly when an event occurs hinders you from examining background processes.

Configure

Command

Step 1

Router> enable Password: password Router# Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)# hostname AS5400 AS5400(config)# AS5400(config)# enable secret guessme

Purpose Enters enable mode (also called privileged EXEC mode). Enters the password. You are in enable mode when the prompt changes to Router#. Enters global configuration mode. You are in global configuration mode when the prompt changes to Router(config)#. Changes the name of the gateway to a meaningful name. Substitute your hostname for AS5400. Enters an enable secret password. This password provides access to privileged EXEC mode. When you type enable at the EXEC prompt (AS5350> or AS5400>), you must enter the enable secret password to gain access to configuration mode. Substitute your enable secret password for guessme. Applies password encryption. When password encryption is enabled, the encrypted form of the password is displayed when a show configuration command is entered.

Note

Step 2

Step 3 Step 4

Step 5

AS5400(config)# service password-encryption

You cannot recover a lost encrypted password.

Step 6 Step 7

AS5400(config)# service timestamps debug datetime msec AS5400(config)# service timestamps log datetime msec

Enters time-stamp debugging messages to include milliseconds in the date and time stamp. Enters time-stamp logging messages to include milliseconds in the date and time stamp.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

2

Basic Configuration Using the Command-Line Interface Configuring Local AAA Security

Command

Step 8

AS5400(config)# line con 0

Purpose Enters line configuration mode to configure the console port. You are in configuration mode when the prompt changes to AS5350(config-line)# or

AS5400(config-line)#.

Step 9

AS5400(config-line)# exec-timeout 0 0

Prevents the gateway's EXEC facility from timing out if you do not type any information on the console screen for an extended period. Exits global configuration mode.

Step 10

AS5400(config-line)# exit AS5400(config)#

Note

The enable password command is obsolete. Do not use it.

Verify

To verify that you configured the right hostname and passwords, use these commands:

·

Enter the show configuration command:

AS5400(config)# show configuration Using 1888 out of 512000 bytes ! version XX.X . . ! hostname AS5400 ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ .

Check the hostname and encrypted password displayed near the top of the command output.

·

Exit global configuration mode and attempt to log in using the new enable secret password. The show privilege command shows the current security privilege level.

AS5400# exit AS5400 con0 is now available Press RETURN to get started. AS5400> enable Password: AS5400# show privilege Current privilege level is 15 AS5400#

Configuring Local AAA Security

Configure authentication, authorization, and accounting (AAA) to perform login authentication by using the local username database. The login keyword authenticates EXEC shell users. Additionally, configure PPP authentication to use the local database if the session was not already authenticated by the login keyword.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

3

Basic Configuration Using the Command-Line Interface Configuring Local AAA Security

AAA (called triple A) is the Cisco IOS security model used on all Cisco devices. AAA provides the primary framework through which you set up access control on the Cisco AS5350XM or Cisco AS5400XM universal gateway. The same authentication method is used on all interfaces. AAA is set up to use the local database configured on the gateway. This local database is created with the username configuration commands.

Step 1

Create a local login username database in global configuration mode. In this example, the administrator's username is admin. The remote client's login username is Harry.

AS5400(config)# username admin password adminpasshere AS5400(config)# username Harry password Harrypasshere

Caution

This step also prevents you from getting locked out of the gateway. If you get locked out, you must reboot the device and perform password recovery. Configure local AAA security in global configuration mode. You must enter the aaa new-model command before the other two authentication commands.

AS5400(config)# aaa new-model AS5400(config)# aaa authentication login default local AS5400(config)# aaa authentication ppp default if-needed local

Step 2

Table 3 explains the preceding configuration example.

Table 3 Local AAA Commands

Command

AS5400(config)# aaa new-model

Purpose Initiates the AAA access control system. This command immediately locks down login and PPP authentication. Configures AAA to perform login authentication by using the local username database. The login keyword authenticates EXEC shell users. Configures PPP authentication to use the local database if the session was not already authenticated by the login keyword.

AS5400(config)# aaa authentication login default local

AS5400(config)# aaa authentication ppp default if-needed local

Step 3

Log in with your username and password:

AS5400# login User Access Verification Username: admin Password: AS5400#

A successful login means that your local username works on any TTY or VTY line. Do not disconnect your session until you can log in.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

4

Basic Configuration Using the Command-Line Interface Creating a Login Banner

Note

For comprehensive information about how to implement a Cisco AAA-based security environment for dial-based and router environments, see the Cisco AAA Implementation Case Study document, available online at http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/aaaisg/index.htm

Creating a Login Banner

A banner shows you which unit you are connected to (or are connecting through, in the case of a console server).

Step 1

Create the banner:

AS5400(config)# banner login | Enter TEXT message. End with the character '|'. This is a secured device. Unauthorized use is prohibited by law. | AS5400(config)# ^Z AS5400#

Step 2

Test the banner:

AS5400# login This is a secured device. Unauthorized use is prohibited by law. User Access Verification Username: admin Password: AS5400#

Configuring Loopback Interfaces, Gigabit Ethernet Interfaces, and IP Route

To commission a basic dial access service, perform the following tasks:

· · · Step 1

Create two loopback interfaces. Bring up the Gigabit Ethernet interface. Add an IP route to the default gateway.

Assign the IP addresses as in the following example, and create an IP route to the default gateway:

AS5400(config)# interface loopback 0 AS5400(config-if)# ip address 172.22.99.1 255.255.255.255 AS5400(config-if)# exit AS5400(config)# interface loopback 1

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

5

Basic Configuration Using the Command-Line Interface Configuring the Asynchronous Group Interface

AS5400(config-if)# ip address 172.22.90.1 255.255.255.0 AS5400(config-if)# exit AS5400(config)# interface GigabitEthernet 0/0 AS5400(config-if)# ip address 172.28.186.55 255.255.255.240 AS5400(config-if)# no shutdown AS5400(config-if)# exit AS5400(config)# ip route 0.0.0.0 0.0.0.0 172.28.186.49

In this example:

·

Interface loopback 0--Identifies the universal gateway with a unique and stable IP address. One unique IP address from a common block of addresses is assigned to each device in the IP network. This technique makes security-filtering easy for the Network Operations Center (NOC). One Class C subnet used for device identification can support 254 distinct devices with unique loopback addresses. Interface loopback 1--Hosts a pool of IP addresses for the remote nodes. In this way, 1 route, instead of 254 routes, is summarized and propagated to the backbone. Pick the IP address for loopback 1 from the range of addresses that you will assign to the local address pool.

·

Step 2

Verify that the Gigabit Ethernet interface is up. Ping the default gateway to verify this.

AS5400# ping 172.28.186.49 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.28.186.49, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/4 ms

This step verifies that you have IP connectivity with another device on the subnet. If the ping to the default gateway succeeds, try pinging the DNS server in your backbone. Make sure that the backbone routers are configured to get to the gateway; otherwise, the ping does not work. Configure the backbone routers to support the routes to the networks you are using.

Note

An 80 percent ping-success rate is normal for the first time you ping an external device. The Cisco AS5350XM and Cisco AS5400XM universal gateways do not have an Address Resolution Protocol (ARP) entry for the external device. A 100 percent success rate is achieved the next time you ping the device.

Configuring the Asynchronous Group Interface

Asynchronous group interfaces allow administrators to easily configure a large number of asynchronous interfaces by allowing them to clone from one managed copy. This can also reduce the number of lines in the configuration, because each individual asynchronous interface configuration can be replaced by at least one group-async interface. To assign the asynchronous interfaces to a group-async interface, first determine the number of asynchronous lines that need to be aggregated. This can be determined from the running configuration. Notice that in the "Checking the Initial Running Configuration" section on page 5, the asynchronous lines are numbered from 0 to 107.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

6

Basic Configuration Using the Command-Line Interface Configuring the Asynchronous Group Interface

Configure

Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# interface group-async 1 AS5400(config-if)#

Purpose Enters the enable command. Enters your password. You are in privileged EXEC mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5540(config)# or

AS5350(config)#.

Step 2

Step 3

Enters interface configuration mode, and places all asynchronous interfaces in a single group, so that you configure the same parameters quickly on all interfaces at one time. Defines the slot/port group range of the interface. The range that you specify depends on the number of asynchronous interfaces you have on your gateway. If your gateway has 108 asynchronous interfaces, you can specify group-range 1/1 1/107. Returns to enable mode.

Step 4

AS5400(config-if)# group-range slot/port slot/port Building configuration... AS5400(config-if)#

Step 5

AS5400(config-if)# Ctrl-Z AS5400#

Verify

To verify your group interface configuration enter the show interface async command to check whether the protocol is up:

AS5400# show interface async 4/0 Async4/00 is down, line protocol is down modem(slot/port)=4/0, state=IDLE dsx1(slot/unit/channel)=NONE, status=VDEV_STATUS_UNLOCKED Hardware is Async Serial MTU 1500 bytes, BW 115 Kbit, DLY 100000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation SLIP, loopback not set DTR is pulsed for 5 seconds on reset Last input never, output never, output hang never Last clearing of "show interface" counters never Input queue: 0/10/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/32 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 86 kilobits/sec 5 minute input rate 0 bits/sec, 0 packets/sec

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

7

Basic Configuration Using the Command-Line Interface Configuring T1 and E1 Feature Cards

5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions

If you are having trouble, enter the show async status command to check for errors and local and remote addresses:

AS5400# show async status Async protocol statistics: Int 1/00 1/01 1/02 1/03 1/04 1/05 4/52 . . . *6/00 *6/01 *6/02 *6/03 . . . *7/102 *7/103 *7/104 7/105 *7/106 *7/107 Local 42.1.1.1 192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100 Remote None None None None None None None Qd 0 0 0 0 0 0 0 InPack 0 0 0 0 0 0 0 OutPac 0 0 0 0 0 0 0 Inerr 0 0 0 0 0 0 0 Drops 0 0 0 0 0 0 0 MTU 1500 1500 1500 1500 1500 1500 1500

192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100

34.6.42.1 34.6.92.1 34.5.92.1 34.4.14.1

0 0 0 0

130 131 130 116

50 53 50 40

5 5 5 4

0 0 0 0

1500 1500 1500 1500

192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100 192.168.10.100

34.1.89.1 34.4.34.1 34.1.67.1 None 34.4.90.1 34.1.42.1

0 0 0 0 0 0

119 118 105 0 119 119

40 40 40 0 40 40

4 4 4 0 4 4

0 0 0 0 0 0

1500 1500 1500 1500 1500 1500

Rcvd: 25762 packets, 1052214 bytes 0 format errors, 891 checksum errors, 0 overrun Sent: 8891 packets, 222264 bytes, 0 dropped

Configuring T1 and E1 Feature Cards

On a Cisco AS5350XM or Cisco AS5400XM universal gateway, you can allocate the available channels for channelized T1 and E1 lines in the following ways:

· · · ·

Configure all channels to support ISDN PRI. If you are not running ISDN PRI, configure all channels to support robbed-bit signaling (also known as channel-associated signaling). Configure all channels in a single channel group. Mix and match channels supporting ISDN PRI, channel grouping, and channel-associated signaling (CAS).

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

8

Basic Configuration Using the Command-Line Interface Configuring T1 and E1 Feature Cards

·

Mix and match channels supporting ISDN PRI, channel grouping, and robbed-bit signaling across the same T1 line. For example, on the same channelized T1 you can configure the pri-group timeslots 1-10,24 command, channel-group 11 timeslots 11-16 command, and ds0-group 17 timeslots 17-23 type e&m-fgb command. This is an unusual configuration because it requires you to align the correct range of timeslots on both ends of the connection.

Note

For configuration information about leased-line or nondial use, see the Cisco IOS Configuration Fundamentals Configuration Guide for your software release.

Note

You can install a maximum of two T1 feature cards, two E1 feature cards, or one channelized T3 (CT3) feature card in a single Cisco AS5350XM or Cisco AS5400XM chassis.

Controller Numbering

The T1 and E1 controller numbering convention is slot/port in CLI commands. Feature card slot numbering starts from the motherboard and works up from left to right. Slot 0 is reserved for the motherboard. T1 or E1 feature card slots are numbered sequentially from 1 to 7. Port numbering is from 0 to 7.

Configure

Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# controller [t1 | e1] slot/port AS5400(config-controller)#

Purpose Enters enable mode. Enters the password. You have entered enable mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or

AS5400(config)#.

Step 2

Step 3

Enters controller configuration mode to configure your controller slot and port. Slot values range from 1 to 7. Port values range from 0 to 7 for T1 and E1. Enters the telco framing type: esf or sf. Enters the telco line code type: ami or b8zs. Returns to enable mode.

Step 4 Step 5 Step 6

AS5400(config-controller)# framing esf AS5400(config-controller)# linecode b8zs AS5400(config-controller)# Ctrl-Z AS5400#

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

9

Basic Configuration Using the Command-Line Interface Configuring T1 and E1 Feature Cards

Verify

To verify that your controller is up and running and no alarms have been reported, enter the show controller command and specify the controller type, slot, and port numbers:

AS5400# show controller t1 1/7 T1 1/7 is up. No alarms detected. Framing is ESF, Line Code is B8ZS, Clock Source is Line Primary. Version info of slot 2: HW: 2, Firmware: 14, NEAT PLD: 13, NR Bus PLD: 19 Data in current interval (476 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs Total Data (last 24 hours) 0 Line Code Violations, 0 Path Code Violations, 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins, 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs

Note the following:

· ·

The controller must report being up. No errors should be reported. The TDM subsystem troubleshooting commands are not used during normal system operation. Instead, the Cisco IOS commands show the current status and settings of the TDM backplane, enable debug output for display to the user when TDM programming occurs, and provide a set of test commands to test the functionality of the TDM path. TDM commands are generally used only by a Cisco technical support representative during troubleshooting of data continuity problems.

Note

For details on the TDM feature, see the Cisco IOS software configuration guide and command reference publications. These publications are available on the Documentation DVD and on the World Wide Web from the Cisco home page, or you can order printed copies. See "Obtaining Documentation" section on page 21.

If you are having trouble:

·

First decide if the problem is due to the T1 or E1 line or with a particular channel group. If the problem is with a single channel group, you have a potential interface problem. If the problem is with the T1 or E1 line, or with all channel groups, you have a potential controller problem. (See the "Configuring ISDN PRI" section on page 12.) To troubleshoot your E1 or T1 controllers, first check that the configuration is correct. The framing type and line code should match to what the service provider has specified. Then check channel group and PRI-group configurations, especially to verify that the timeslots and speeds are what the service provider has specified. At this point, the show controller t1 or show controller e1 commands should be used to check for T1 or E1 errors. Use the command several times to determine if error counters are increasing, or if the line status is continually changing. If this is occurring, you need to work with the service provider. Another common reason for failure is the dial-tdm-clock priority setting. The default setting is a free-running clock that causes clock slip problems if not set properly. (See the "Configuring Clocking" section on page 30.)

·

·

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

10

Basic Configuration Using the Command-Line Interface Configuring a Channelized T3 Feature Card

Configuring a Channelized T3 Feature Card

The channelized T3 (CT3) feature card offers 28 individual T1 channels (bundled in the T3 line) for serial transmission of data. The channelized T3 link supports the maintenance data link channel in C-Bit parity mode and also payload and network loopbacks. The T1 channels multiplexed in the channelized T3 link support facilities data link (FDL) in extended super frame (ESF) framing. Additionally, you can allocate your T1 channels as described in the "Configuring T1 and E1 Feature Cards" section on page 8.

Controller Numbering

The channelized T3 controller numbering convention is slot/port in CLI commands. Feature card slot numbering starts from the motherboard and works up from left to right. Slot 0 is reserved for the motherboard. Feature card slots are numbered sequentially from 1 to 7. Port number value is always 0. Under the channelized T3, the T1 controller numbering convention is slot/port:channel in CLI commands. Port numbering values range from 1 to 28.

Configure

Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# controller t3 1/0 AS5400(config-controller)#

Purpose Enters enable mode. Enters the password. You are in enable mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or

AS5400(config)#.

Step 2

Step 3

Enters controller configuration mode to configure your T3 controller for slot 1 port 0. Slot values range from 1 to 7. Port number is always 0. Enters the telco framing type: c-bit or m23. Enters line clock source: internal or line. Enters your cable length: values range from 0 to 450 feet.

Step 4 Step 5 Step 6

AS5400(config-controller)# framing c-bit AS5400(config-controller)# clock source line AS5400(config-controller)# cablelength 450

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

11

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

Command

Step 7

AS5400(config-controller)# t1 1-28 controller or AS5400(config-controller)# t1 1-10,15-20,23 controller

Purpose Configures your T1 controllers. Values range from 1 to 28. In this instance, all 28 T1 channels are configured at once. or Omits specified T1 controllers while provisioning others. In this instance, T1 controllers 11­14, 21, 22, and 24­28 are unprovisioned.

Note

This CLI command is backward compatible only.

Step 8

AS5400(config-controller)# Ctrl-Z AS5400#

Returns to enable mode.

Verify

To verify that your controller is up and running and no alarms have been reported, enter the show controller command and specify the controller type, slot, and port numbers:

AS5400# show controller t3 1/0 T3 1/0 is down. Applique type is Channelized T3 Transmitter is sending remote alarm. Receiver has loss of signal. FEAC code received: No code is being received Framing is M23, Line Code is B3ZS, Clock Source is Line Data in current interval (330 seconds elapsed): 0 Line Code Violations, 0 P-bit Coding Violation 0 C-bit Coding Violation, 0 P-bit Err Secs 0 P-bit Severely Err Secs, 0 Severely Err Framing Secs 0 Unavailable Secs, 0 Line Errored Secs 0 C-bit Errored Secs, 0 C-bit Severely Errored Secs Total Data (last 24 hours) 9944 Line Code Violations, 0 P-bit Coding Violation, 0 C-bit Coding Violation, 0 P-bit Err Secs, 0 P-bit Severely Err Secs, 0 Severely Err Framing Secs, 86400 Unavailable Secs, 0 Line Errored Secs, 0 C-bit Errored Secs, 0 C-bit Severely Errored Secs

Tip

If you are having trouble, make sure that the show controller command output is not reporting alarms or violations. Also, see the "Configuring T1 and E1 Feature Cards" section on page 8.

Configuring ISDN PRI

ISDN PRI interfaces can be configured on the 8-port T1 or E1 feature cards, or the CT3 feature card. ISDN provides out-of-band signaling using the D channel for signaling and the B channels for user data. Channelized T1 ISDN PRI offers 23 B channels and 1 D channel. Channelized E1 ISDN PRI offers 30 B channels and 1 D channel. Channel 24 is the D channel for T1, and channel 16 is the D channel for E1.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

12

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

For a complete description of the commands mentioned in this section, refer to the Cisco IOS Dial Technologies Command Reference for your software release.

Request PRI Line and Switch Configuration from a Telco Service Provider

Before configuring ISDN PRI on your Cisco router, you need to order a correctly provisioned ISDN PRI line from your telecommunications service provider. This process varies from provider to provider on a national and international basis. However, some general guidelines follow:

·

Determine if the outgoing B channel calls are made in ascending or descending order. The Cisco IOS software default is descending order; however, if the switch from the service providers is configured for outgoing calls made in ascending order, the router can be configured to match the switch configuration of the service provider. Ask for delivery of calling line identification. Providers sometimes call this CLI, or automatic number identification (ANI). If the gateway will be attached to an ISDN bus (to which other ISDN devices might be attached), ask for point-to-multipoint service (subaddressing is required) and a voice-and-data line.

· ·

Table 4 provides a sample of the channelized T1 configuration attributes you might request for a PRI switch.

Table 4 Channelized T1 Configuration Attributes

Attribute Line format Line coding Call type Speed Call-by-call capability Channels Trunk selection sequence B + D glare Directory numbers SPIDs required?

Value Extended super frame (ESF) format Binary 8-zero substitution (B8ZS) 23 incoming channels and 23 outgoing channels 64 kbps Enabled 23 B + D Either ascending order (from 1 to 23) or descending order (from 23 to 1) Yield Only 1 directory number assigned by service provider None

Controller Numbering

The T1 or E1 controller numbering convention is slot/port in CLI commands. Feature card slot numbering starts from the motherboard and works up from left to right. Slot 0 is reserved for the motherboard. T1 or E1 feature card slots are numbered sequentially from 1 to 7. Port numbering is from 0 to 7. The channelized T3 controller numbering convention is slot/port in CLI commands. Feature card slot numbering starts from the motherboard and works up from left to right. Slot 0 is reserved for the motherboard. Feature card slots are numbered sequentially from 1 to 7. Port number value is always 0.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

13

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

Under the channelized T3 controller, the T1 controller numbering convention is slot/port:channel in CLI commands. Port numbering values range from 1 to 28.

Configure

Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# isdn switch-type switch-type

Purpose Enters enable mode. Enters the password. You are in enable mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or

AS5400(config)#.

Step 2

Step 3

Selects a service provider switch type that accommodates PRI. (See Table 5 for a list of supported switch type keywords.) Specifies T1 feature card slot, port number, and channel. On the CT3 feature card, port-number values range from 1 to 28. On the T1 feature card, port-number values range from 0 to 7. or Specifies E1 feature card slot, port number, and channel. On the E1 feature card, port number values range from 0 to 7.

Note

Step 4

AS5400(config)# controller t1 1/0

or AS5400(config)# controller e1 1/0

After you configure the T1or E1 controller, a corresponding D-channel serial interface is created instantly. See the "Configuring the D Channels for ISDN Signaling" section on page 22 to learn how to configure your D channel.

Step 5

AS5400(config-controller)# framing esf or AS5400(config-controller)# framing crc4

Enters framing type for the T1 or CT3 feature card. or Enters framing type for the E1 feature card.

Step 6

AS5400(config-controller)# linecode b8zs

Defines the line code as binary 8 zero substitution (B8ZS) for the T1 or CT3 feature card. or Defines the line code as high-density bipolar 3 (HDB3) for the E1 feature card.

or

AS5400(config-controller)# linecode hdb3

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

14

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

Command

Step 7

AS5400(config-controller)# pri-group [timeslots range]1

Purpose Configures ISDN PRI. If you do not specify the timeslots, the controller is configured for 23 B channels and 1 D channel.

Step 8

AS5400(config-controller)# Ctrl-Z AS5400# 1.

Returns to enable mode.

For T1, timeslots range 1 to 24. You can specify a range of timeslots (for example, pri-group timeslots 12-24) if other timeslots are used for non-PRI channel groups.

For channelized T1 ISDN PRI--If you do not specify the timeslots, the specified controller is configured for 23 B channels and 1 D channel. B channel numbers range 1 to 23; channel 24 is the D channel for T1. Corresponding serial interface numbers range 0 to 23. In commands, the D channel is interface serial slot/port:23--for example, interface serial 1/0:23. For channelized E1 ISDN PRI--If you do not specify the timeslots, the specified controller is configured for 30 B channels and 1 D channel. B channel numbers range 1 to 31; channel 16 is the D channel for E1. Corresponding serial interface numbers range 0 to 30. In commands, the D channel is interface serial slot/port:15--for example, interface serial 1/0:15.

Table 5 ISDN Service Provider PRI Switch Types

Area none Australia Europe

Keyword none primary-ts014 primary-net5

Switch Type No switch defined Australia PRI switches European, New Zealand, and Asia ISDN PRI switches (covers the Euro-ISDN E-DSS1 signaling system and is European Telecommunication Standards Institute or ETSI-compliant) Japanese ISDN PRI switches AT&T 4ESS switch type for the United States AT&T 5ESS switch type for the United States NT DMS-100 switch type for the United States National ISDN switch type

Japan North America

primary-ntt primary-4ess primary-5ess primary-dms100 primary-ni

Verify

To verify that you have configured the interfaces correctly, use the following commands:

·

Enter the show controller t3 command and specify the slot and port numbers. Verify that the controller is up and that you do not have excessive errors; otherwise your controller might go down frequently. This could indicate switch problems.

AS5400# show controller t3 1/0 T3 1/0 is up. Applique type is Channelized T3 No alarms detected. MDL transmission is disabled

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

15

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

FEAC code received:No code is being received Framing is C-BIT Parity, Line Code is B3ZS, Clock Source is Internal Data in current interval (270 seconds elapsed): 0 Line Code Violations, 0 P-bit Coding Violation 0 C-bit Coding Violation, 0 P-bit Err Secs 0 P-bit Severely Err Secs, 0 Severely Err Framing Secs 0 Unavailable Secs, 0 Line Errored Secs 0 C-bit Errored Secs, 0 C-bit Severely Errored Secs Total Data (last 32 15 minute intervals): 0 Line Code Violations, 0 P-bit Coding Violation, 0 C-bit Coding Violation, 0 P-bit Err Secs, 0 P-bit Severely Err Secs, 0 Severely Err Framing Secs, 0 Unavailable Secs, 0 Line Errored Secs, 0 C-bit Errored Secs, 0 C-bit Severely Errored Secs

·

Enter the show controller t1 command and specify the slot and port numbers.

AS5400# show controller t1 1/0 T1 1/0 is up. Applique type is Channelized T1 Cablelength is long gain36 0db No alarms detected. alarm-trigger is not set Version info of slot 1: HW:768, PLD Rev:4 Framer Version:0x8 Manufacture Cookie Info: EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x041, Board Hardware Version 3.0, Item Number 73-4089-03, Board Revision 05, Serial Number JAB99432626, PLD/ISP Version 0.1, Manufacture Date 11-Nov-1999. Framing is ESF, Line Code is B8ZS, Clock Source is Line. Data in current interval (264 seconds elapsed): 3 Line Code Violations, 1 Path Code Violations 5 Slip Secs, 0 Fr Loss Secs, 1 Line Err Secs, 1 Degraded Mins 5 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs . . .

·

Enter the show isdn status command to view layer status information.

AS5400# show isdn status Global ISDN Switchtype = primary-5ess ISDN Serial1/0:1:23 interface dsl 0, interface ISDN Switchtype = primary-5ess 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 The Free Channel Mask: 0x807FFFFF . . . ISDN Serial1/0:28:23 interface dsl 27, interface ISDN Switchtype = primary-5ess Layer 1 Status: ACTIVE Layer 2 Status:

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

16

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 0 Active Layer 3 Call(s) Activated dsl 27 CCBs = 0 The Free Channel Mask: 0x807FFFFF Total Allocated ISDN CCBs = 0

Note the following information for Serial 1/0:1:23 (the first half of the messages):

­ 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 Call(s)." ­ The second half of the messages displays information for Serial 1/0:28:23. ·

Monitor ISDN channels and service by entering the show isdn service command:

AS5400# show isdn service PRI Channel Statistics: ISDN Se0:23, Channel (1-31) Activated dsl 0 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se1:23, Channel (1-31) Activated dsl 1 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se2:23, Channel (1-31) Activated dsl 2 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se3:23, Channel (1-31) Activated dsl 3 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se4:23, Channel (1-31) Activated dsl 4 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se5:23, Channel (1-31) Activated dsl 5 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2 ISDN Se6:23, Channel (1-31) Activated dsl 6 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

17

Basic Configuration Using the Command-Line Interface Configuring ISDN PRI

ISDN Se7:23, Channel (1-31) Activated dsl 7 State (0=Idle 1=Propose 2=Busy 3=Reserved 4=Restart 5=Maint) 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 3 3 3 3 3 3 3 3 Channel (1-31) Service (0=Inservice 1=Maint 2=Outofservice) 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 2 2 2 2 2 2

Note

Your Cisco AS5350XM or Cisco AS5400XM universal gateway supports a total of 248 ISDN channels per ingress trunk feature card. If you are configuring individual T1 channels of your channelized T3 line for backup links or serial backhaul connections, the T1 channels must be configured into channel groups--each channel group using 24 time slots or channels. For example, to configure 6 T1 channels (6x24), 144 ISDN channels are in use, leaving a remainder of 104 (248­144) channels for ISDN use. See the "Configuring ISDN PRI" section on page 12. In the following show running-config example, six T1 channels are configured into channel groups:

AS5400# show running-config Building configuration... Current configuration: ! ! Last configuration change at 15:49:30 UTC Mon Apr 3 2000 by admin ! NVRAM config last updated at 01:35:05 UTC Fri Mar 17 2000 by admin ! version 12.0 service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption ! ---text omitted--! controller T3 1/0 framing m23 clock source line t1 1-28 controller ! controller T1 1/0:11 framing esf channel-group 20 timeslots 1-24 speed 64 ! controller T1 1/0:12 framing esf channel-group 20 timeslots 1-24 speed 64 ! controller T1 1/0:13 framing esf channel-group 20 timeslots 1-24 speed 64 ! controller T1 1/0:14 framing esf channel-group 20 timeslots 1-24 speed 64 ! controller T1 1/0:15 framing esf channel-group 20 timeslots 1-24 speed 64 ! controller T1 1/0:16 framing esf channel-group 20 timeslots 1-24 speed 64

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

18

Basic Configuration Using the Command-Line Interface Configuring DS0 Trunk Group Dial Out

If you are having trouble:

· ·

Make sure the cable connection is not loose or disconnected if the Layer 1 Status is "Deactivated." This status message indicates a problem at the physical layer. There may be a problem with your telco, or the framing and line code types you entered may not match those of your telco. A Layer 2 error indicates that the gateway cannot communicate with the telco. There is a problem at the data link layer.

Configuring DS0 Trunk Group Dial Out

The DS0 Trunk Group Dial Out feature adds functionality that enhances outbound call routing by giving the user control over individual DS0 lines for outbound calls. Previous to this feature, outbound DS0 lines could not be configured separately from DS1 lines. The dial out capabilities of a DS1 line applied to all DS0 lines under that DS1 line. Currently, the aggregation of DS1 lines into trunk groups is done through the Trunk Group Resource Manager (TGRM). The DS0 Trunk Group Dial Out feature enables the TGRM subsystem to aggregate DS0 lines into trunk groups also. The dial out capabilities of these DS0 trunk groups can then be configured directly at the DS0 level through the TGRM CLI and by setting the authentication authorization and accounting (AAA) attributes. The configuration of DS0 lines for outbound calls enables the Dial on Demand feature to initiate outbound calls over a set of B channels. DS0 dial out trunk groups are configured on a Network Access Server (NAS). They support both digital and asynchronous calls and can be configured for ISDN PRI and Non-Facility Associated Signaling (NFAS) circuits. A trunk group is a logical grouping of multiple T1 or E1 interfaces with the same signaling characteristics. A single trunk group can contain up to 64 trunks. Each trunk group can consist of DS0 lines from different circuits, but each individual DS0 line can belong to only one trunk group.

Note

DS0 dial out trunk groups can be provisioned for dial out only at present and should not be provisioned as targets of dial peers.

Note

DS0 dial out trunk groups do not support voice interfaces.

Trunk Group Resource Manager

The Trunk Group Resource Manager (TGRM) supports the logical grouping, configuration, and joint management of one or more interfaces. The TGRM is used to store configuration information and to accept or select an interface from a trunk group when requested. A trunk group is provisioned as the target of a dial peer or a dial out profile on an AAA server, and the TGRM transparently selects the specific interface and channels to use for incoming or outgoing calls. Trunks are selected based on the trunk that is least used (default configuration) or the hunt scheme configured. Using trunk groups simplifies the task of configuring dial peers and interfaces, and also enables the dynamic selection of interfaces as needed in the access server.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

19

Basic Configuration Using the Command-Line Interface Configuring DS0 Trunk Group Dial Out

A trunk group can include any number of interfaces, but all the interfaces in a trunk group must use the same type of signaling. The TGRM subsystem has been enhanced to add fractional trunks to a trunk group. A fractional trunk is a single DS0 line or a group of DS0 lines from a trunk.

Configure

The trunk-group command assigns a trunk to a trunk group by specifying the trunk group label parameter and optionally setting the preference parameter. The DS0 Dial Out Trunk Group feature adds two new optional keywords:

· ·

timeslots list of timeslots preference preference

The timeslots keyword allows you to selectively add DS0 lines from a signaling circuit. Fractional trunk groups are configured from the controller configuration mode only (because a PRI serial interface may represent multiple member interfaces, including NFAS). If the timeslots option is not specified, all the DS0s in the signaling circuit are assigned to the trunk group. The preference keyword is configured after the timeslots option and is visible only when the timeslots option is used. This helps to differentiate between the list of timeslots number and the preference number. The following example shows the syntax for configuring selected DS0 lines using the timeslots keyword and the preference keyword. trunk-group label timeslot list of timeslots preference preference The following example shows the syntax for configuring all the DS0 lines in the signaling circuit: trunk-group label preference

Syntax Parameter Descriptions

label

Trunk group label. Maximum length of the trunk group label is 127 alphanumeric characters.

list of timeslots List of the interfaces from the signaling circuit to be added to the trunk group. The range is 1 to 64. preference Priority of the trunk group member in a trunk group. The range is from 1 (highest priority) to 64 (lowest priority). The preference variable can be used to sort a list of trunks in order. A trunk with no preference variable is given the highest preference.

The following examples show the configuration steps for PRI signaling. Controller T1 3 is a trunk configured for PRI.

PRI Trunk Configuration

Step 1

Configure framing, clock source, DS0 group, and so forth.

AS5400(config)# controller AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# T1 3 framing esf clock source line secondary 3 linecode b8zs pri-group timeslots 1-24 !

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

20

Basic Configuration Using the Command-Line Interface Configuring DS0 Trunk Group Dial Out

Step 2

Configure the trunk group label.

AS5400(config)# interface Serial3:23 AS5400(config-if)# no ip address AS5400(config-if)# trunk-group PRI-TRUNK-GROUP

Note

The timeslots option is not available in the serial interface configuration mode, because a serial interface may represent an NFAS serial interface.

Step 3

Configure timeslots and preference.

AS5400(config)# controller AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# AS5400(config-controller)# T1 3 framing esf clock source line secondary 3 linecode b8zs pri-group timeslots 1-24 trunk-group PRI-TRUNK-GROUP-1 trunk-group PRI-TRUNK-GROUP-2 trunk-group PRI-TRUNK-GROUP-3

timeslots 1-10 timeslots 11-15 timeslots 20-22 preference 10

Note

When a PRI or NFAS trunk is fractionally added to a trunk group, the timeslots keyword is compulsory.

Verify

Use the show trunk group command to display the DS0 lines that belong to a particular trunk group. A trunk group can be a group of DS0 lines from various signaling channels.

AS5400#show trunk group pri-tg Trunk group: pri-tg Description: trunk group label: pri-tg Translation profile (Incoming): Translation profile (Outgoing): Hunt Scheme is least-used Max Calls (Incoming): NOT-SET (Any) Max Calls (Outgoing): NOT-SET (Any) Retries: 0

NOT-SET (Voice) NOT-SET (Data) NOT-SET (Voice) NOT-SET (Data)

Trunk 2/1:23 Preference 10 Channels : 1-23 Total channels available : 23 Data = 0, Voice = 0, Modem = 0, Pending = 0, Free = 23 Total calls for trunk group: Data = 0, Voice = 0, Modem = 0 Pend = 0, Free = 23 advertise_flag 0x00000040, capacity timer 25 sec tripl_config_mask 0x00000000 AC_curr 24, FD_curr 0, SD_curr 0 succ_curr 0 tot_curr 0 succ_report 0 tot_report 0 changed 0 replacement position 0

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

21

Basic Configuration Using the Command-Line Interface Configuring the D Channels for ISDN Signaling

Configuring the D Channels for ISDN Signaling

The ISDN D channels carry the control and signaling information for your ISDN calls--for both circuit-switched data calls, and analog modem calls. The D channel notifies the central office switch to send the incoming call to particular time slots on the Cisco gateway or router. Each one of the B channels carries data or voice. The D channel carries signaling for the B channels. The D channel identifies whether the call is a circuit-switched digital call or an analog modem call. Analog modem calls are decoded and then sent off to the onboard modems. Circuit-switched digital calls are directly relayed to the ISDN processor in the gateway. When you configured ISDN PRI on the T1 or E1 controller, you automatically created a serial interface that corresponds to the PRI group time slots. This interface is a logical entity that is associated with the specific controller. After the serial interface is created, you must configure the D channel serial interface that carries signaling. The configuration applies to all the PRI B channels (time slots) for that PRI group. Figure 3 shows the logical contents of an ISDN PRI interface used in a T1 network configuration. The logical contents include 23 B channels, 1 D channel, 24 time slots, and 24 virtual serial interfaces (total number of B + D channels).

Figure 3 Logical Relationship of ISDN PRI Components for T1

Virtual serial interface number S0:0 S0:1 S0:2 S0:3 · · · · · S0:20 S0:21 S0:22 S0:23

Channel type B B B B · · · · · B B B D (data channel) (data channel) (data channel) (data channel)

Time slot number 1 2 3 4 · · · · · 21 22 23 24

Logical contents of a PRI interface

Note

When you configure your T1 controller for an NFAS backup D channel, a serial interface is automatically created only when your primary D channel fails.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

22

35765

(data channel) (data channel) (data channel) (signaling channel)

Basic Configuration Using the Command-Line Interface Configuring the D Channels for ISDN Signaling

Configure

Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# interface serial 1/0:23 AS5400(config-if)#

Purpose Enters enable mode. Enters the password. You are in enable mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or

AS5400(config)#.

Step 2

Step 3

Enters serial interface configuration mode. After you configure the T1 controller, a corresponding D channel serial interface is automatically created. For example, serial interface 1/0:23 is the D channel for T1 controller 1. You must configure each serial interface to receive incoming and send outgoing signaling.

Note

On a channelized E1 PRI line, the serial interface is 1/0:15.

Step 4 Step 5

AS5400(config-if)# ip address 172.16.254.254 255.255.255.0 AS5400(config-if)# isdn incoming-voice modem

Assigns an IP address and subnet mask to the interface. Configures all incoming voice calls.

Note

This command has two possible keywords: data and modem. You must use the modem keyword to enable both modem and voice calls. The modem keyword represents bearer capabilities of speech.

Step 6

AS5400(config-if)# exit

Exits interface configuration mode.

Verify

To verify your D channel configuration, enter the show interface serial command and make sure the line protocol is up and you are using the correct IP interface. Also, make sure that excessive errors are not being reported.

AS5400# show interface serial 1/0:23 Serial1/0:23 is up, line protocol is up (spoofing) Hardware is DSX1 Internet address is 172.16.254.254/16 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, loopback not set Last input 00:00:03, output never, output hang never Last clearing of "show interface" counters 00:00:01 Queueing strategy:fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 1 minute input rate 0 bits/sec, 0 packets/sec 1 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

23

Basic Configuration Using the Command-Line Interface Configuring the Universal Port and Dial-Only Feature Cards

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Timeslot(s) Used:24, Transmitter delay is 0 flags AS5400#

If you are having trouble:

· ·

Make sure the serial interface and protocol are up by entering the show interface serial command. Check the IP address.

AS5400# show interface serial 1/0:23 Serial1/0:23 is up, line protocol is up (spoofing) Hardware is DSX1 Internet address is 172.16.254.254/16 MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, loopback not set Last input 00:00:07, output never, output hang never Last clearing of "show interface" counters 00:00:06 Queueing strategy:fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 1 minute input rate 0 bits/sec, 0 packets/sec 1 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out 0 carrier transitions Timeslot(s) Used:24, Transmitter delay is 0 flags AS5400#

Configuring the Universal Port and Dial-Only Feature Cards

The universal port and dial-only feature cards support all modem standards and features. Rather than the more traditional line-to-modem mapping, lines are mapped to a system processing engine (SPE) that resides on the universal port and dial-only feature cards. Associated SPE firmware serves a function similar to modem code on a modem ISDN channel aggregation (MICA) technologies modem.

Note

The dial-only feature card only supports dial services. Dial services include modem calls (all modulations), ISDN digital calls, V.110 data calls, and V.120 data calls. Modem pass-through calls are not included in dial services. One SPE provides services for six ports, with additional ports per SPE. Busyout and shutdown can be configured at the SPE or port level.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

24

Basic Configuration Using the Command-Line Interface Configuring the Universal Port and Dial-Only Feature Cards

The universal port and dial-only feature cards perform the following functions:

· · ·

Converts pulse code modulation (PCM) bitstreams to digital packet data. Forwards converted and packetized data to the main processor, which examines the data and forwards it to the backhaul egress interface. Supports all modem standards (such as V.34 and V.42bis) and features, including dial-in and dial-out.

Note

For further information, see Chapter 5, "Managing and Troubleshooting the Universal Port and Dial-Only Feature Cards." For detailed information about CLI commands supported on the universal port and dial-only feature cards, see the Monitoring Voice and Fax Services on the Cisco AS5350 and Cisco AS5400 Universal Gateways publication, available online at http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080080e60. html.

SPE Firmware

SPE firmware is automatically downloaded to a universal port or dial-only feature card from the Cisco AS5350XM or Cisco AS5400XM universal gateway when you boot the system for the first time or when you insert a universal port or dial-only feature card while the system is operating. When you insert feature cards while the system is operating, the Cisco IOS image recognizes the feature cards and downloads the required firmware to the feature cards. The SPE firmware image is bundled with the gateway Cisco IOS image. The SPE firmware image uses an autodetect mechanism, which enables the universal port feature card to service multiple call types. An SPE detects the call type and automatically configures itself for that operation. The firmware is upgradable independently of Cisco IOS upgrades, and different firmware versions can be configured to run on SPEs in the same feature card. The universal port and dial-only feature cards support the modem standards and features listed in Table 6.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

25

Basic Configuration Using the Command-Line Interface Configuring the Universal Port and Dial-Only Feature Cards

Table 6

Modem Standards and Supported Features

Feature Carrier protocols

Description ITU V.23 at 75/1200 bps Telcordia Technologies 103 at 300 bps ITU V.21 at 300 bps ITU V.22 at 1200 bps Telcordia 212A at 1200 bps ITU V.22bis at 2400 bps ITU V.32 up to 9600 bps ITU V.32bis up to 14,400 bps V.32 turbo up to 19,200 bps V.FC up to 28,800 bps V.34 up to 28,800 bps V.34+ up to 33,600 bps TIA/ITU V.90 K56flex

Error-correcting link-access protocols V.42 LAPM, MNP 2-4 Compression protocols Command interface In-band signaling or tone generation and detection V.42bis (includes MNP 5) Superset of the AT command set DTMF generation DTMF detection MF generation MF detection Other Out-of-band access for management PPP and SLIP framing

Configure

Configure the lines and ports to allow users to dial in to your network. Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)#

Purpose Enters the enable command. Enters your password. You are in privileged EXEC mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or AS5400(config)#.

Step 2

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

26

Basic Configuration Using the Command-Line Interface Configuring the Universal Port and Dial-Only Feature Cards

Command

Step 3

AS5400(config)# spe country country name

Purpose Specifies the country for the feature card parameters (including country code and encoding). This setting is applied at the system level. All universal port or dial-only feature cards use the same country code. The default is usa if the gateway is configured with T1 interfaces and e1-default if the gateway is configured with E1 interfaces. Use the no form of this command to set the country code to the default of usa.

Note

All sessions on all universal port or dial-only feature cards in all slots must be idle for this command to execute.

Step 4

AS5400(config)# line slot/port slot/port AS5400(config-line)#

Enters the numbers of the ports to configure. If you wish to configure 108 ports on slot 3, enter line 3/00 3/107. If you wish to configure 324 ports on slots 3­5, enter line 3/00 5/107. 108 ports will be configured on each slot. Allows all protocols to be used when connecting to the line. Enables remote IP users running a PPP application to dial in, bypass the EXEC facility, and connect directly to the network. Enables incoming and outgoing calls. Returns to enable mode.

Step 5 Step 6

AS5400(config-line)# transport input all

AS5400(config-line)# autoselect ppp

Step 7 Step 8

AS5400(config-line)# modem inout AS5400(config-line)# Ctrl-Z AS5400#

Modems and lines are configured after the ISDN channels are operational and POTS telephone calls have been successfully routed to the modems Each modem is mapped to a dedicated asynchronous line inside the gateway. After the modem inout command is applied to the lines, the gateway is ready to accept modem calls. AAA security is applied to the lines using the aaa new-model command and aaa authentication login default local command. AAA performs login authentication by using the local username database. The login keyword authenticates EXEC shell users. For more information about the AAA commands, see the "Configuring Local AAA Security" section on page 3.

Note

The modem speed 115200 bps and hardware flow control are the default settings for integrated modems.

Resetting to Default Values for Country Codes

To reset the modem to default settings for country codes, enter the no spe country command in global configuration mode.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

27

Basic Configuration Using the Command-Line Interface Configuring the Universal Port and Dial-Only Feature Cards

Verify

To verify your SPE configuration, use these commands.

·

Enter the show spe command to display a summary for all the lines:

AS5400# show spe SPE settings: ============== Country code configuration: default T1 (u Law) Polling interval: 8 secs. History log events: 50(per port) Port legends: ============ Port state: (s)shutdown (t)test (r)recovery (d)download (b)busiedout (p)busyout pending, (B)bad (a)active call Call type: (m)modem (d)digital (f)fax-relay (v)voice (_)not in use System resources summary: ====================== Total ports: 108, in use ports: 0, disabled ports: 0, free ports: 108 Total active calls: modem 0, voice 0, digital 0, fax-relay SPE State ACTIVE ACTIVE ACTIVE ACTIVE ACTIVE SPE SPE SPE Port Busyout Shut Crash State 0 0 0 ______ 0 0 0 ______ 0 0 0 ______ 0 0 0 ______ 0 0 0 ______ Call Type ______ ______ ______ ______ ______

0

SPE# 4/00 4/01 4/02 4/03 4/04 . . .

Port # 0000-0005 0006-0011 0012-0017 0018-0023 0024-0029

·

Enter the show line number command to display a summary for a single line:

AS5400# show line 1 Tty Typ 1 AUX Ready Tx/Rx 9600/9600 A Modem Roty AccO AccI Uses 0 Noise 0 Overruns 0/0 Int -

Line 1, Location: "", Type: "" Length: 24 lines, Width: 80 columns Baud rate (TX/RX) is 9600/9600, no parity, 2 stopbits, 8 databits Status: Ready Capabilities: none Modem state: Ready Group codes: 0 Modem hardware state: noCTS noDSR DTR RTS TTY NUMBER 1 Parity Error = 0 Framing Error = 0 Receive Error = 0 Overrun = 0 Outcount = 0 totalout = 39 incount = 0 totalin = 0 Special Chars: Escape Hold Stop Start Disconnect Activation ^^x none none Timeouts: Idle EXEC Idle Session Modem Answer Session 00:10:00 never none Idle Session Disconnect Warning never Login-sequence User Response

Dispatch not set

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

28

Basic Configuration Using the Command-Line Interface Configuring the Voice Feature Card

If you are having trouble, make sure you turned on the protocols for connecting to the lines (transport input all) and configured the lines for incoming and outgoing calls (modem inout).

Configuring the Voice Feature Card

A voice feature card with one to six PVDM2-64 modules supports different port densities depending on codec complexity.

Note

For detailed information about the voice feature card CLI commands, see the High-Density Packet Voice Feature Card for Cisco AS5350XM and AS5400XM Universal Gateways document, available online at the following URL: http://www.cisco.com/en/US/products/ps6706/products_feature_guide09186a008060df15.html

Configure

The voice feature card should work without specific modifications to the software configuration on these platforms. However, you might need to upgrade the firmware on the voice feature card, depending on the software release you are using. To upgrade the firmware of the voice feature card, follow these steps: Command or Action

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)# AS5400(config)# voice dsp slot [/dsp] [slot [/dsp]]

Purpose Enters the enable command. Enters your password. You are in privileged EXEC mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. You are in global configuration mode when the prompt changes to AS5350(config)# or AS5400(config)#. Enters voice dsp config mode and specifies the slot/dsp location or a range of slots/dsps.

· · ·

Step 2

Step 3

For the slot argument, specify a value from 1 to 7 to specify the location of the VFC. For the dsp argument, specify a value from 1 to 24 to specify the location of the DSP. To specify a range, the first two arguments specify the first slot/dsp in the range. The second two arguments specify the last slot/dsp in the range. Where slash marks appear in the command syntax, they are required.

· Step 4

AS5400(config-voice-dsp)# firmware location flash:filename

Specifies that the firmware is in flash memory and identifies the file name.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

29

Basic Configuration Using the Command-Line Interface Configuring Clocking

Command or Action

Step 5 Step 6

AS5400(config-voice-dsp)# end

Purpose Exits config-voicedsp mode and returns to global configuration mode. Returns to enable mode.

AS5400(config-voice-dsp)# Ctrl-Z AS5400#

Verifying

To verify your firmware upgrade, use the show voice dsp version command.

AS5400#show voice dsp version ? IOS-Bundled Default ========================== system:/bundled_fw_image On-Flash Dspware-Filename ========================= flash:dsp_c5510_flex.rbf flash:new_flex.rbf flash:big.rbf DSP# 3/1 3/2 3/3 3/4 3/5 3/6 3/7 3/8 3/9 3/10 3/11 Type C5510 C5510 C5510 C5510 C5510 C5510 C5510 C5510 C5510 C5510 C5510 Version 4.5.9051 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 4.4.5 Version ======= 4.4.5 Version ======= 4.5.9051 4.4.5 4.5.985x Firmware-Type ============= c5510 Firmware-Type ============= c5510 c5510 c5510

Filename flash:dsp_c5510_flex.rbf system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image system:/bundled_fw_image

Configuring Clocking

The time-division multiplexing (TDM) bus on the Cisco AS5350XM and Cisco AS5400XM universal gateway backplane can receive an input clock from one of these basic sources on the gateway:

· · ·

T1, E1, and CT3 feature cards An external T1 or E1 clock source feed directly through the Building Integrated Timing Supply (BITS) interface port on the motherboard Free-running clock providing clock from an oscillator

Note

BITS is a single building master timing supply. BITS generally supplies DS1 and DS0 level timing throughout an office. In North America, BITS is the clock that provides and distributes timing to a wireline network's lower levels.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

30

Basic Configuration Using the Command-Line Interface Configuring Clocking

Trunk Feature Card Ports

The TDM bus can be synchronized with any trunk cards. On the T1 or E1 feature card, each port receives the clock from the T1 or E1 line. The CT3 feature card uses an M13 multiplexer to receive the DS1 clock. Each port on each trunk feature card slot has a default clock priority. Also, clock priority is configurable through the dial-tdm-clock priority CLI command.

External Clock

The TDM bus can be synchronized with an external clock source that can be used as an additional network reference. If no clocks are configured, the system uses a primary clock through a software-controlled default algorithm. If you want the external T1 or E1 clock (using the BITs interface) as the primary clock source, you must configure it using the dial-tdm-clock priority CLI command; the external clock is never selected by default. The BITS interface requires a T1 line composite clock reference set at 1.544 MHz and an E1 line composite clock reference set at 2.048 MHz.

Free-Running Clock

If there is no good clocking source from a trunk feature card or an external clock source, then choose the free-running clock from the local oscillator through the dial-tdm-clock priority CLI command. The following table lists commands to help you configure the clock source and clock source priority used by the TDM bus: Command

Step 1

AS5400> enable Password: password AS5400# AS5400# configure terminal Enter configuration commands, one per line. End with CNTL/Z. AS5400(config)#

Purpose Enters enable mode. Enters the password. You are in enable mode when the prompt changes to AS5350# or AS5400#. Enters global configuration mode. The example uses the terminal configuration option. You are in global configuration mode when the prompt changes to AS5350(config)# or

AS5400(config)#.

Step 2

Step 3 ·

AS5400(config)# dial-tdm-clock priority priority# {external | freerun | slot/ds1 port}

Enter one of the bulleted commands, depending on your configuration. Configures the T1 or E1 feature card clock priority, slot, and port that are providing the clocking source. Priority range is a value between 1 and 99. Feature card slot is a value between 1 and 7. DS1 port number controller is a value between 0 and 7.

Note

DS1 port specifies T1 port.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

31

Basic Configuration Using the Command-Line Interface Configuring Clocking

Command

·

AS5400(config)# dial-tdm-clock priority priority# {external | freerun | slot/ds3 port:ds1 port}

Purpose Configures the CT3 feature card clock priority, slot, and port that is providing the clocking source. Priority range is a value between 1 and 99. Feature card slot is a value between 1 and 7. DS3 port specifies the T3 port. DS1 port number controller is a value between 1 and 28.

Note

A clock with priority of 100 cannot drive the TDM clock.

Step 4 Step 5

AS5400(config)# Ctrl-Z AS5400# AS5400# copy running-config startup-config

Returns to privileged EXEC mode. Saves your changes when ready.

Configuration Examples

In the following example, the BITS clock is set to priority 1.

AS5400(config)# dial-tdm-clock priority 1 external AS5400(config)# exit AS5400#

In the following example, a trunk clock from a T1 feature card is set at priority 2 and uses slot 4 and ds1 port (controller) 6.

AS5400(config)# dial-tdm-clock priority 2 4/6 AS5400(config)# exit

In the following example, a trunk clock from a CT3 feature card is set at priority 2 and uses slot 1, ds3 port 0, and ds1 port 19.

AS5400(config)# dial-tdm-clock priority 2 1/0:19 AS5400(config)# exit

In the following example, free-running clock is set at priority 3.

AS5400(config)# dial-tdm-clock priority 3 free AS5400(config)# exit

Verify

You can verify the system primary and backup clocks and the status of all trunk feature card controller clocks. You can also view information about and the history of the last 20 TDM clock changes and the events that caused them.

·

Verify your default system clocks and clock history using the show tdm clocks command (this example is for T1 or E1):

AS5400# show tdm clocks Primary Clock: -------------TDM Bus Master Clock Generator State = HOLDOVER Backup clocks for primary: Source Slot Port DS3-Port

Priority

Status

State

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

32

Basic Configuration Using the Command-Line Interface Configuring Clocking

------------------------------------------------------------Trunk cards controllers clock health information -----------------------------------------------Slot Type 7 6 5 4 3 2 1 0 1 T1 B B B B B B B B

CLOCK CHANGE HISTORY -------------------------CLOCK ----1/1 1/2 1/3 1/4 1/5 1/6 1/7 AS5400# Event ----Loss Of Signal (LOS) Loss Of Signal (LOS) Alarm Indication Signal Alarm Indication Signal Alarm Indication Signal Alarm Indication Signal Alarm Indication Signal Time ---00:00:22 00:00:22 00:00:22 00:00:22 00:00:22 00:00:22 00:00:22

(AIS) (AIS) (AIS) (AIS) (AIS)

UTC UTC UTC UTC UTC UTC UTC

Tue Tue Tue Tue Tue Tue Tue

Nov Nov Nov Nov Nov Nov Nov

30 30 30 30 30 30 30

1999 1999 1999 1999 1999 1999 1999

·

Verify your TDM clock history using the show tdm clocks command (this example is for channelized T3):

AS5400# show tdm clocks Primary Clock: -------------System primary is slot 7 ds3_port 0 ds1_port 1 of priority 1 TDM Bus Master Clock Generator State = NORMAL Backup clocks for primary: Source Slot Port DS3-Port Priority Status State ------------------------------------------------------------Trunk 7 8 YES 214 Good Default Trunk 7 9 YES 215 Good Default Trunk cards controllers clock health information -----------------------------------------------CT3 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 Slot Port Type 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 7 0 T3 G G G G G G G G G G G G G G G G G G G G G G G G G G G G

CLOCK CHANGE HISTORY -------------------------CLOCK Event --------7/1 Signal recovered from LOS 7/8 Alarm Indication Signal (AIS) 7/1 Signal recovered from LOS AS5400# Time ---00:03:29 UTC Sat Jan 1 2000 11:27:48 UTC Fri Feb 25 2000 11:30:22 UTC Fri Feb 25 2000

·

Verify your user-configured trunk clock selection using the show tdm clocks command:

AS5400# show tdm clocks Primary Clock: System primary is slot 2 port 0 of priority 15 TDM Bus Master Clock Generator State = NORMAL Backup clocks for primary:

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

33

Basic Configuration Using the Command-Line Interface Enabling IP Basic Setup

Source Slot Port DS3-Port Priority Status Trunk 2 1 NO 205 Good Trunk cards controllers clock health information Slot Type 7 6 5 4 3 2 1 0 2 T1 B B B B G G G G CLOCK CHANGE HISTORY CLOCK Event 2/1 Controller shutdown 2/0 Change in CLI configuration AS5400#

State Default

Time 23:23:06 UTC Tue Nov 30 1999 23:27:25 UTC Tue Nov 30 1999

·

Verify your free-running clock selection using the show tdm clocks command:

AS5400# show tdm clocks Primary Clock: System primary is FREE RUNNING with priority 2 TDM Bus Master Clock Generator State = FREERUN Backup clocks for primary: Source Slot Port DS3-Port Priority Status Trunk 2 0 NO 204 Good Trunk 2 1 NO 205 Good Trunk cards controllers clock health information Slot Type 7 6 5 4 3 2 1 0 2 T1 B B B B G G G G CLOCK CHANGE HISTORY CLOCK Event Freerun Change in CLI configuration AS5400#

State Default Default

Time 23:27:25 UTC Tue Nov 30 1999

·

Verify your BITS clock selection using the show tdm clocks command:

AS5400# show tdm clocks Primary Clock: System primary is external with priority 1 TDM Bus Master Clock Generator State = NORMAL Backup clocks for primary: Source Slot Port DS3-Port Priority Status Trunk 2 0 NO 204 Good Trunk 2 1 NO 205 Good Trunk cards controllers clock health information Slot Type 7 6 5 4 3 2 1 0 2 T1 B B B B G G G G CLOCK CHANGE HISTORY CLOCK Event External Change in CLI configuration AS5400#

State Default Default

Time 23:27:25 UTC Tue Nov 30 1999

Tip

The most common reason for clock slip problems is that the dial-tdm-clock priority parameter is set improperly. Change the default setting for the dial-tdm-clock priority parameter from free-running clock to a setting that matches your system requirements.

Enabling IP Basic Setup

To fine-tune the IP routing functions and domain-name services for EXEC shell users, follow these steps:

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

34

Basic Configuration Using the Command-Line Interface Testing Asynchronous Shell Connections

Step 1

Optimize IP routing functions in global configuration mode:

AS5400(config)# AS5400(config)# AS5400(config)# AS5400(config)# ip no ip ip subnet-zero ip source-route classless domain-lookup

Table 7 describes the commands in the example.

Table 7 IP Routing Commands

Command

ip subnet-zero no ip source-route

Purpose Specifies that 172.22.0.0 is a legal subnet. Tightens security by ensuring that IP-header packets cannot define their own paths through the gateway. Tightens security by ensuring that IP-header packets cannot define their own paths through the gateway. Enables IP domain-name lookups.

ip classless

ip domain-lookup

Step 2

In global configuration mode, enter domain-name service commands to support EXEC shell users:

AS5400(config)# AS5400(config)# AS5400(config)# AS5400(config)# ip ip ip ip host mymap 172.22.53.101 domain-name mydomain.com name-server 172.22.11.10 name-server 172.22.11.11

Table 8 describes the commands in the example.

Table 8 Domain-Name Commands

Command

ip host mymap 172.22.53.101

Purpose Creates a local name-to-address map. When the gateway is not entered in a DNS server, this map is useful. Tells the gateway how to qualify DNS lookups. In this example, mydomain.com is appended to the end of each looked-up name. Specifies the primary and secondary name servers. The ip name-server command is used for mapping names to IP addresses.

ip domain-name mydomain.com

ip name-server 172.22.11.10 ip name-server 172.22.12.11

Testing Asynchronous Shell Connections

This task verifies that the following components are working:

·

The physical asynchronous data path

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

35

Basic Configuration Using the Command-Line Interface Testing Asynchronous Shell Connections

· ·

Basic modem links Basic IP functionality to support shell sessions

The Cisco IOS software provides a command-line interface (CLI) called the EXEC that can be accessed by dialing in with a modem. The EXEC provides access to terminal-shell services (no PPP) to do the following:

· · · ·

Modify configuration files Change passwords Troubleshoot possible problems including modem connections Access other network resources by using Telnet

During this task, some administrators try to make complex services function, such as PPP-based web browsing. Do not jump ahead. Many other elements still must be configured (for example, PPP and IPCP). The asynchronous-shell test ensures that the EXEC login prompt can be accessed by a client modem. Taking a layered approach to building a network isolates problems and saves you time. To test asynchronous-shell connections, perform the following steps:

Step 1

Locate a client PC, client modem, and analog line. From the client PC, open a terminal emulation program (such as HyperTerminal, not dial-up networking) and connect to the client modem. Figure 4 shows the network environment for this test.

Figure 4 Test Environment

POTS line PSTN Client PC Client modem

PRI lines

V

Cisco gateway with integrated modems

Default gateway

V

56093

Step 2

From a terminal emulation program, test your EIA/TIA-232 connection to the client modem. Enter the at command. The modem returns the prompt OK.

at OK

Note

To learn more about the at command set, see the various references available online at the Technical Assistance Center website at http://www.cisco.com/pcgi-bin/Support/PSP/psp_view.pl?p=Internetworking:ASYNC&s=Impl ementation_and_Configuration

Step 3

Dial the PRI telephone number assigned to the gateway (in this example, the number is 5554100). After the modem successfully connects, a connect message appears.

atdt 5554100 CONNECT 33600/REL - LAPM

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

36

Basic Configuration Using the Command-Line Interface Testing Asynchronous Shell Connections

Note

Many modems support the a/ command, which recalls the last at command. The ath command hangs up a modem call. The atdl command dials the last telephone number.

Step 4

Log in to the EXEC session on the gateway (from the client PC):

This is a secured device. Unauthorized use is prohibited by law. User Access Verification Username: Harry Password: AS5400>

Step 5

Identify the line where the call landed. The following example shows that line TTY 216 accepted the call. The call has been up and active for 30 seconds.

AS5400# show caller Line con 0 tty 216 User admin Harry Service TTY TTY Active Idle Time Time 00:39:09 00:00:00 00:00:30 00:00:07

AS5400# show caller user Harry User: Harry, line tty 216, service TTY Active time 00:00:42, Idle time 00:00:19 Timeouts: Absolute Idle Idle Session Exec Limits: 00:10:00 Disconnect in: 00:09:40 TTY: Line 1/00 DS0: (slot/unit/channel)=2/0/18 Line: Baud rate (TX/RX) is 115200/115200, no parity, 1 stopbits, 8 databits Status: Ready, Active, No Exit Banner Capabilities: No Flush-at-Activation, Hardware Flowcontrol In Hardware Flowcontrol Out, Modem Callout, Modem RI is CD Integrated Modem Modem State: Ready

Note

The show caller command was added to the Cisco IOS software in Cisco IOS Release 11.3 AA and Release 12.0 T. If your software release does not support this command, use the show user command.

Step 6

Test the IP functionality to support shell sessions. From the gateway, use Telnet to access another device in your network.

AS5400# telnet 171.68.186.49 Trying 171.68.186.49 ... Open access-gw line 2 access-gw telnet smart Translating "smart"...domain server (171.68.10.70) [OK] Trying smart.cisco.com (171.68.191.135)... Open UNIX(r) System V Release 4.0 (smart)

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

37

Basic Configuration Using the Command-Line Interface Verifying the Final Running Configuration

login: Router Password: No directory! Logging in with home=/ Last login: Fri Aug 18 13:50:07 from dhcp-aus-163-230 Sun Microsystems Inc. SunOS 5.5.1 Generic May 1996

Verifying the Final Running Configuration

The following is an example of a final running configuration:

AS5400# show running-config Building configuration... Current configuration : 6017 bytes ! version 12.2 no service single-slot-reload-enable no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname AS5400 ! boot system tftp c5350-js-mz.xm.Feb19 171.69.20.20 no boot startup-test no logging buffered logging rate-limit console 10 except errors enable secret 5 $1$ltzj$8lGJ1cGmyZRdXdPXncLAo/ ! ! resource-pool disable ! ! voice-fastpath enable ip subnet-zero no ip finger ip domain-name cisco.com ip name-server 171.69.11.48 ip name-server 171.69.2.132 ip name-server 171.69.2.133 ! no ip dhcp-client network-discovery ! ! fax interface-type modem mta receive maximum-recipients 0 ! ! crypto mib ipsec flowmib history tunnel size 200 crypto mib ipsec flowmib history failure size 200 ! ! controller T1 1/0 framing sf linecode ami ! controller T1 1/1

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

38

Basic Configuration Using the Command-Line Interface Verifying the Final Running Configuration

framing sf linecode ami ! . . . controller T1 1/7 framing sf linecode ami ! ! interface GigabitEthernet0/0 ip address 172.21.101.21 255.255.255.0 no ip route-cache no ip mroute-cache duplex auto speed auto ! interface GigabitEthernet0/1 no ip address no ip route-cache no ip mroute-cache shutdown duplex auto speed auto ! interface Serial0/0 no ip address no ip route-cache no ip mroute-cache shutdown clockrate 2000000 ! interface Serial0/1 no ip address no ip route-cache no ip mroute-cache shutdown clockrate 2000000 ! interface Async4/00 no ip address ! interface Async4/01 no ip address ! interface Async4/02 no ip address ! . . . interface Async4/107 no ip address ! interface Group-Async0 no ip address no ip route-cache no ip mroute-cache no group-range ! ip classless ip route 0.0.0.0 0.0.0.0 172.21.101.1 no ip http server

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

39

Basic Configuration Using the Command-Line Interface Saving Configuration Changes

! ! call rsvp-sync ! ! line con 0 logging synchronous transport input none line aux 0 logging synchronous line vty 0 4 password #1writer login line 4/00 4/107 no flush-at-activation modem InOut ! scheduler allocate 10000 400 end

Saving Configuration Changes

To prevent the loss of the gateway configuration, save it to NVRAM.

Configure

Command

Step 1

AS5400> enable Password: password AS5400#

Purpose Enters enable mode (also called privileged EXEC mode) and enters the password. You are in enable mode when the prompt changes to AS5350# or AS5400#. Saves the configuration changes to NVRAM so that they are not lost during resets, power cycles, or power outages. Returns to enable mode.

Step 2

AS5400# copy running-config startup-config

Step 3

AS5400(config-if)# Ctrl-Z AS5400#

Where to Go Next

At this point you can go to these references:

· ·

Chapter 4, "Continuing Configuration Using the Command-Line Interface," to continue system configuration of basic features. Chapter 5, "Managing and Troubleshooting the Universal Port and Dial-Only Feature Cards," to configure, manage, and troubleshoot universal-port and dial-only feature card connections on your gateway. Chapter 6, "Managing and Troubleshooting the Voice Feature Card," to configure, manage, and troubleshoot voice feature card connections on your gateway. Appendix C, "Comprehensive Configuration Examples."

· ·

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

40

Basic Configuration Using the Command-Line Interface Where to Go Next

·

The Monitoring Voice and Fax Services on the Cisco AS5350 and Cisco AS5400 Universal Gateways publication, available online at http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080080 e60.html. The High-Density Packet Voice Feature Card for Cisco AS5350XM and AS5400XM Universal Gateways document, available online at: http://www.cisco.com/en/US/products/ps6706/products_feature_guide09186a008060df15.html For additional basic configuration information, see the Cisco IOS Dial Technologies Configuration Guide and Cisco IOS Dial Technologies Command Reference publication. For more advanced configuration topics, see the Cisco IOS software configuration guide, feature modules, and command reference publications that pertain to your Cisco IOS software release. For Cisco AAA-based security information, see the Cisco AAA Implementation Case Study publication, available online at http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/secsols/aaasols/ For troubleshooting information, see the System Error Messages and Debug Command Reference publications.

·

·

·

·

CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0812R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. © 2006, 2009 Cisco Systems, Inc. All rights reserved.

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

41

Basic Configuration Using the Command-Line Interface Where to Go Next

Cisco AS5350XM and Cisco AS5400XM Universal Gateways Software Configuration Guide

42

Information

54bas2.mif

42 pages

Report File (DMCA)

Our content is added by our users. We aim to remove reported files within 1 working day. Please use this link to notify us:

Report this file as copyright or inappropriate

700108