cc/td/doc/product/lan/cat4000/12_2_13t
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the Data Interfaces

Configuring the Data Interfaces

This chapter describes how to configure the data interfaces on the Cisco Catalyst 4000 Access Gateway Module (AGM).

This chapter contains the following major sections:

About Configuring Data Interfaces

To configure a data interface, you must be in configuration mode. In this mode, you enter Cisco IOS command-line interface (CLI) commands at the Gateway prompt. This chapter describes some of the most commonly used configuration procedures.

For advanced configuration topics, refer to the Cisco IOS configuration guide and command reference publications. These publications are available on the Documentation CD-ROM or on Cisco.com. You can also order printed copies separately.

Configuring the Host Name and Password

One of the first configuration tasks you might want to do is configure the host name and set an encrypted password. Configuring a host name allows you to distinguish multiple AGMs. Setting an encrypted password allows you to prevent unauthorized configuration changes.

To configure the host name and password, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: password

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.


You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# hostname gwy1

gwy1(config)#

Provide the AGM a meaningful name. Substitute your host name for gwy1.

Step 4 

gwy1(config)# enable secret guessme

Substitute your enable secret password for guessme.

This password gives you access to privileged EXEC mode. When you type enable at the EXEC prompt (gateway>), you must enter the enable secret password to gain access to configuration mode.

Step 5 

gwy1(config)# line con 0

gwy1(config-line)#

Enter line configuration mode to configure the console port. When you enter line configuration mode, the prompt changes to gwy1(config-line)#.

Step 6 

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

Enter exec-timeout 0 0 to prevent the AGM's EXEC facility from timing out if you do not type any information on the console screen for an extended period.

Step 7 

gwy1(config-line)# exit

gwy1(config)#

Exit back to global configuration mode.

To verify that you configured the correct host name and password, perform these steps:


Step 1   Enter the show config command:

gwy1# show config Using 1888 out of 126968 bytes ! version XX.X . . . ! hostname gwy1 ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ . . .

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

Step 2   Exit global configuration mode and attempt to reenter it using the new enable password:

gwy1# exit . . . gwy1 con0 is now available Press RETURN to get started. gwy1> enable Password: guessme gwy1#
Tip If you are having trouble, verify that the Caps Lock function is off; passwords are case sensitive.


Configuring the Fast Ethernet Interface

This section describes how to configure the Fast Ethernet interface on the AGM.


TimeSaver Before you begin, disconnect all WAN cables from the AGM to keep it from trying to run the AutoInstall process. The AGM tries to run AutoInstall whenever you bring the module online if there is a WAN connection on both ends and the AGM does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). The AGM can take several minutes to determine that AutoInstall is not connected to a remote TCP/IP host.

To configure the Fast Ethernet interface, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.


You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# interface fastethernet 0/0

gateway(config-if)#

Enter interface configuration mode.

You know you have entered interface configuration mode when the prompt changes to gateway(config-if)#.

Step 5 

gateway(config-if)# ip address 172.16.74.3 255.255.255.0

Assign an IP address and subnet mask to the interface.

Step 6 

gateway(config-if)# exit

Exit back to global configuration mode.

If your AGM has more than one Fast Ethernet interface that you need to configure, repeat Steps 4 through 6.

Step 7 

gateway(config)# Ctrl-Z


gateway#

When you finish configuring interfaces, return to enable mode.
You know you have entered enable mode when the prompt changes to gateway#.

Configuring Asynchronous/Synchronous Serial Interfaces

This section describes how to configure the serial interfaces on your asynchronous/synchronous serial WIC.


Note   The asynchronous/synchronous serial WIC supports synchronous mode only.


TimeSaver Before you begin, disconnect all WAN cables from the AGM to keep it from trying to run the AutoInstall process. The AGM tries to run AutoInstall whenever you bring the module online if there is a WAN connection on both ends and the AGM does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). The AGM can take several minutes to determine that AutoInstall is not connected to a remote TCP/IP host.

To configure the serial interfaces, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.


You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# interface serial 1/0

gateway(config-if)#

Enter the interface configuration mode.

You know you have entered interface configuration mode when the prompt changes to gateway(config-if)#.

Step 5 

gateway(config-if)# ip address 172.16.74.1 255.255.255.0

Assign the IP address and subnet mask to the interface.

Note   All serial ports are initially configured as synchronous.

Step 6 

gateway(config-if)# clock rate 7200

To use a port in Data Communication Equipment (DCE) mode, connect a DCE cable and set the internal transmit clock signal (TXC) speed in bits per second. (For ports used in Data Terminal Equipment (DTE) mode, the AGM automatically uses the external timing signal.)

Step 7 

gateway(config-if)# dce-terminal-timing-enable

When a port is operating in DCE mode, the default operation is for the DCE to send serial clock transmit (SCT) and serial clock receive (SCR) clock signals to the DTE, and for the DTE to return an serial clock transmit external (SCTE) signal to the DCE.

If the DTE does not return an SCTE signal, enter this command to configure the DCE port to use its own clock signal.

Step 8 

gateway(config-if)# invert-txcclock

An AGM that uses long cables might experience high error rates when operating at higher transmission speeds, because the clock and data signals can shift out of phase.

If a DCE port is reporting a high number of error packets, you can often correct the shift by inverting the clock using this command.

Step 9 

gateway(config-if)# nrzi-encoding

All serial interfaces support both nonreturn to zero (NRZ) and nonreturn to zero inverted (NRZI) formats. NRZ is the default; NRZI is commonly used with EIA/TIA-232 connections in IBM environments. To enable NRZI encoding on an interface, enter this command.

Step 10 

gateway(config-if)# exit

Exit back to global configuration mode.

If your AGM has more that one serial interface that you need to configure, repeat Steps 4 through 14.

Step 11 

gateway(config)# Ctrl-z

gateway#

When you finish configuring the interface, return to enable mode.

Table 4-1 lists the half-duplex timer commands.


Table 4-1: Half-duplex Timer Commands
Timer Syntax Default Setting (Milliseconds)

CTS delay1

half-duplex timer cts-delay

100

CTS drop timeout

half-duplex timer cts-drop-timeout

5000

DCD2 drop delay

half-duplex timer dcd-drop-delay

100

DCD transmission start delay

half-duplex timer dcd-txstart-delay

100

RTS3 drop delay

half-duplex timer rts-drop-delay

100

RTS timeout

half-duplex timer rts-timeout

2000

Transmit delay

half-duplex timer transmit-delay

0

1CTS = Clear To Send.
2DCD = Data Carrier Detect
3RTS = Request To Send.

The following clock rate settings are for 2-port asynchronous/synchronous serial WICs:

Configuring ISDN BRI Interfaces

This section describes how to configure the interfaces on the basic rate interface (BRI) card of your AGM.


Note   Before using a AGM with an ISDN BRI interface, you must order a correctly configured ISDN BRI line from your local telecommunications service provider. ISDN BRI provisioning refers to the types of services provided by the ISDN BRI line. Although provisioning is performed by your ISDN BRI service provider, you must tell the provider what you want.


TimeSaver Before you begin, disconnect all WAN cables from the AGM to keep it from trying to run the AutoInstall process. The AGM tries to run AutoInstall whenever you bring it online, if there is a WAN connection on both ends and the AGM does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). The AGM can take several minutes to determine that AutoInstall is not connected to a remote TCP/IP host.

To configure ISDN BRI interfaces, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.

You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# isdn switch-type switch-type

Enter an ISDN switch type. See Table 4-2 for a list of ISDN switch types.

Note   Switch types configured in interface configuration mode override this setting for the configured interface.

Step 4 

gateway(config)# ip routing

Enable routing protocols as required for your global configuration.

Step 5 

gateway(config)# interface bri 2/0

gateway(config-if)#

Enter the interface configuration mode.

You know you have entered interface configuration mode when the prompt changes to gateway(config-if)#.

Step 6 

gateway(config-if)# ip address 172.16.74.2 255.255.255.0

gateway(config-if)# isdn switch-type basic-5ess

Assign the IP address and subnet mask to the interface.


If you are configuring this interface for voice, enter the switch type instead of an IP address.

Step 7 

gateway(config-if)# exit

Exit back to global configuration mode.

If your AGM has more than one BRI interface that you need to configure, repeat Steps 5 through 7.

Step 8 

gateway(config)# memory-size iomem 40

By default, the AGM allocates 25 percent of DRAM to shared memory (used for data transmitted (or received) by WAN interface cards). Specifying memory-size iomem 40, increases shared memory from 25 percent to 40 percent.

Step 9 

gateway(config)# Ctrl-z

gateway#

When you finish configuring the interface, return to enable mode.

Table 4-2 lists the supported ISDN switch types by country.


Table 4-2: ISDN Switch Types
Region ISDN Switch Type Description

Australia

basic-ts013

Australian TS013 switches

Europe

basic-1tr6

German 1TR6 ISDN switches

basic-nwnet3

Norwegian NET3 ISDN switches (phase 1)

basic-net3

NET3 ISDN switches (UK and others)

vn2

French VN2 ISDN switches

vn3

French VN3 ISDN switches

Japan

ntt

Japanese NTT ISDN switches

New Zealand

basic-nznet3

New Zealand NET3 switches

North America

basic-5ess

AT&T basic rate switches

basic-dms100

NT DMS-100 basic rate switches

basic-nil1

National ISDN-1 switches

Configuring T1 and E1 Interfaces

This section describes how to configure a T1/E1 multiflex trunk interface on your AGM. It describes a basic configuration, including how to enable the interface and to specify IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.


TimeSaver Before you begin, disconnect all WAN cables from the AGM to keep it from trying to run the AutoInstall process. The AGM tries to run AutoInstall whenever you bring it online if there is a WAN connection on both ends and the AGM does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). The AGM can take several minutes to determine that AutoInstall is not connected to a remote TCP/IP host.

Configuring T1 Interfaces

To configure a new T1, Channelized T1 (CT1)/PRI, or CT1/PRI-channel status unit (CSU) interface, or to change the configuration of an existing interface, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.


You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# controller t1 1/0

Enter controller configuration mode for the CT1/PRI interface at the specified slot/port location.

This example configures a T1 interface in slot 1 and unit 0.

Step 5 

gateway(config-controller)# clock source line

Specify which end of the circuit provides clocking.

The clock source should be set to use internal clocking only for testing the network or if the full T1 line is used as the channel group. Only one end of the T1 line should be set to internal.

Step 6 

gateway(config-controller)# framing esf

Specify the T1 framing type. The framing type defines the control bits and data bits. Cisco supports super frame (SF) and extended super frame (ESF) for T1s.

SF is used in channel bank robbed bit signalling (RBS) configurations. SF uses the framing bit to identify the channel and voice-related signaling within the frame. SF is not recommended for PRI configurations.

ESF is required for 64 kb operation on DS0s. ESF requires 2k-framing bits for synchronization. The remaining 6k is used for error detection, CRC, and data link monitoring. ESF is recommended for PRI configurations.

This example uses ESF.

Step 7 

gateway(config-controller)# linecode b8zs

Specify the line code format. This is an encoding method used to allow synchronous data to be transmitted in a compatible format for T1 transmission. Common line codes are RZ (return to zero), NRZ (non-return to zero), binary zero 0 substitution (B8ZS), alternate mark inversion (AMI), and HDB3 (high density bipolar order 3).

B8ZS is the most popular line-code scheme used in North America. To maintain clock synchronization, B8ZS replaces a string of 8 binary 0s with variations. B8ZS is more reliable than AMI, and it should be used with PRI configurations.

Step 8 

gateway(config-controller)# channel-group 0 timeslots 1,3-5,7

Specify the channel group and time slots to be mapped.

When configuring a T1 data line, channel-group numbers can be values from 0 to 23.

Timeslots are assigned to channels. One or more timeslots or ranges of timeslots belong to the channel group. The first timeslot is numbered 1. For a T1 controller, the timeslot range is from 1 to 24. For T1 PRI scenarios, all 24 T1 timeslots are assigned as ISDNPRI channels.

The default line speed when configuring a T1 controller is 56 kbps.

In this example, channel-group 0 consists of 5 timeslots and runs at a speed of 56 kbps per timeslot.

Step 9 

gateway(config-controller)# interface serial 1/0:0



gateway(config-if)#

Configure each channel group as a virtual serial interface. Specify the T1 interface (1), unit number (0), and channel group (0) to modify and enter the interface configuration mode.

You know you have entered interface configuration mode when the prompt changes to gateway(config-if)#.

Step 10 

gateway(config-if)# ip address 10.1.15.1 255.255.255.0

Assign an IP address and subnet mask to the interface.

Step 11 

gateway(config-if)# exit

Exit back to global configuration mode.

If your AGM has more than one CT1/PRI interface that you need to configure, repeat Steps 4 through 10.

Step 12 

gateway(config)# Ctrl-z

gateway#

When you finish configuring interfaces, return to enable mode.

Configuring E1 Interfaces

To configure a new E1 interface (balanced or unbalanced) or to change the configuration of an existing interface, perform these steps:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End with Ctrl-Z.

gateway(config)#

Enter global configuration mode.

You know you have entered global configuration mode when the prompt changes to gateway(config)#.

Step 3 

gateway(config)# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# controller e1 1/0

Enter controller configuration mode for the CE1/PRI interface at the specified slot/port location.

This example configures a E1 interface in slot 1 and unit 0.

Step 5 

gateway(config-controller)# framing crc4

Specify the framing type as cyclic redundancy check 4 (CRC4).

Step 6 

gateway(config-controller)# linecode hdb3

Specify the line code format as high-density bipolar 3 (HDB3).

Step 7 

gateway(config-controller)# channel-group 0 timeslots 1,3-5,7

Specify the channel group and time slots to be mapped.

When configuring a E1 data line, channel-group numbers can be values from 0 to 30.

Timeslots are assigned to channels. One or more timeslots or ranges of timeslots belong to the channel group. The first timeslot is numbered 1. For an E1 controller, the timeslot range is from 1 to 31. For E1 PRI scenarios, all 31 T1 timeslots are assigned as ISDNPRI channels.

The default line speed when configuring an E1 controller is 64 kbps.

In this example, channel-group 0 consists of 5 timeslots and runs at a speed of 64 kbps per timeslot.

Step 8 

gateway(config-controller)# interface serial 1/0:0





gateway(config-if)#

Configure each channel group as a virtual serial interface. Specify the E1 interface, unit number, and channel group to modify and enter the interface configuration mode.

You know you have entered interface configuration mode when the prompt changes to gateway(config-if)#.

Step 9 

gateway(config-if)# ip address 10.1.15.1 255.255.255.0

Assign an IP address and subnet mask to the interface.

Step 10 

gateway(config-if)# exit

Exit back to global configuration mode.

If your AGM has more than one CE1/PRI interface that you need to configure, return to Step 4.

Step 11 

gateway(config)# Ctrl-z

gateway#

When you finish configuring interfaces, return to enable mode.

Verifying the Interface Configuration

After configuring the new interface, you can perform the following tests to verify that the new interface is operating correctly:

If an interface is down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, make sure that the new interface is properly connected and configured.

Saving Configuration Changes

To prevent the loss of the AGM configuration, you need to save it to NVRAM.

To save configuration changes, perform these steps:

Command Purpose
Step 1

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

You know you have entered enable mode when the prompt changes to gateway#.

Step 2

gateway# copy running-config startup-config

Save the configuration changes to NVRAM so that they are not lost during resets, power cycles, or power outages.

Step 3

gateway(config-if)# Ctrl-z

gateway#

%SYS-5-CONFIG_I: Configured from console by console

Return to enable mode.

This message is normal and does not indicate an error.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Dec 19 10:06:17 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.