cc/td/doc/product/lan/cat4000/inst_nts
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring the Data Interfaces

Configuring the Data Interfaces

This chapter describes how to configure the data interfaces at the Cisco IOS CLI:

Follow the procedures in this chapter to manually configure the Access Gateway module. You can also change the setup command facility configuration (described in Chapter 3).

The chapter describes only a small portion 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 the CCO. 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 Access Gateway modules. Setting an encrypted password allows you to prevent unauthorized configuration changes.

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

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

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

Step 3 

gateway(config)# hostname gwy1

gateway(config)#

Change the name of the Access Gateway module to a meaningful name. Substitute your host name for gateway.

Step 4 

gwy1(config)# enable secret guessme

Enter an enable secret password. This password provides 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. Substitute your enable secret password for guessme.

Step 5 

gwy1(config)# line con 0

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

gwy1(config-line)# exit

gwy1(config)#

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

Prevent the Access Gateway module's EXEC facility from timing out if you do not type any information on the console screen for an extended period.

Exit back to global configuration mode.

To verify that you configured the correct host name and password, follow 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# 

Tips If you are having trouble, check that Caps Lock is off; passwords are case sensitive.


Configuring the Fast Ethernet Interface

To configure the Fast Ethernet interface, use the configuration software (setup command facility) provided with your Access Gateway module. Otherwise, you can use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the Access Gateway module prompt.


Note   Before you begin, disconnect all WAN cables from the Access Gateway module to keep it from trying to run the AutoInstall process. The Access Gateway module tries to run AutoInstall whenever you bring it online if there is a WAN connection on both ends and the Access Gateway module does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). The Access Gateway module 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 tasks:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

Step 3 

gateway# 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 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.

Repeat Step 4 through Step 6 if your Access Gateway module has more than one interface that you need to configure.

Step 7 

gateway(config-if)# Ctrl-z

gateway#

When you finish configuring interfaces, return to enable mode.

Step 8 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Configuring Asynchronous/Synchronous Serial Interfaces

You can manually configure the serial interfaces on your asynchronous/synchronous serial network module or WIC by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest flexibility.


Note   The asynchronous/synchronous serial network modules and WICs support synchronous mode only. Asynchronous mode is not supported at this point.


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

To configure the serial interfaces, perform these tasks:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

Step 3 

gateway# 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 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.

Step 6 

gateway(config-if)#

All serial ports are initially configured as synchronous.

Step 7 

gateway(config-if)# clock rate 7200

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

Step 8 

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 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 9 

gateway(config-if)# invert-txcclock

Access Gateway modules that use 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, inverting the clock using this command can often correct the shift.

Step 10 

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 11 

gateway(config-if)# exit

Exit back to global configuration mode.

Repeat Step 4 through Step 14 if your Access Gateway module has more that one serial interface that you need to configure.

Step 12 

gateway(config)# Ctrl-z

gateway#

When you finish configuring interface, return to enable mode.

Step 13 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 14 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

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


Table 5-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

DCD drop delay

half-duplex timer dcd-drop-delay

100

DCD transmission start delay

half-duplex timer dcd-txstart-delay

100

RTS2 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.
2RTS = Request To Send.

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

Configuring ISDN BRI VIC Interface Cards

You can manually configure the interfaces on your BRI interface card by using the configuration mode.


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

To configure ISDN BRI interfaces, perform these tasks:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

Step 3 

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

Enter an ISDN switch type. See Table 5-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 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.

Repeat Step 5 through Step 7 if your Access Gateway module has more than one BRI interface that you need to configure.

Step 8 

gateway(config-if)# memory-size iomem 40

By default, the Access Gateway module allocates 25 percent of DRAM to shared memory (used for data transmitted or received by network modules and WAN interface cards). This example 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 5-2 lists the supported ISDN switch types by country.


Table 5-2: ISDN Switch Types
Country ISDN Switch Type Descriptoin

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

Obtaining an ISDN BRI Line

Before using a Access Gateway module 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.

Configuring T1 and E1 Interfaces

To configure a T1/E1 multiflex trunk interface, use the configuration software provided with your Access Gateway module, if any. Otherwise, for greatest flexibility use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the Access Gateway module prompt.


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

This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.

Configuring T1 Interfaces

To configure a new T1, CT1/PRI or CT1/PRI-CSU interface or to change the configuration of an existing interface, perform these tasks:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

Step 3 

gateway# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# controller t1 1/0

Select the CT1/PRI interface to configure. 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 framing type.

Step 7 

gateway(config-controller)# linecode b8zs

Specify the line code format.

Step 8 

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

Specify the channel group and time slots to be mapped.

Step 9 

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

Configure each channel group as a virtual serial interface. Specify the T1 interface, unit number, and channel group to modify.

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.

Return to Step 4 if your Access Gateway module has more than one CT1/PRI interface that you need to configure.

Step 12 

gateway(config-if)# 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 tasks:

Command Purpose

Step 1 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Step 2 

gateway# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

gateway(config)#

Enter global configuration mode.

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

Step 3 

gateway# ip routing

Enable routing protocols as required for your global configuration.

Step 4 

gateway(config)# controller e1 1/0

Select the CE1/PRI interface to configure. This example configures an E1 interface in slot 1 and unit 0.

Step 5 

gateway(config-controller)# framing crc4

Specify the framing type.

Step 6 

gateway(config-controller)# linecode hdb3

Specify the line code format.

Step 7 

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

Specify the channel group and time slots to be mapped.

Step 8 

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

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

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.

Return to Step 4 if your Access Gateway module has more than one CE1/PRI interface that you need to configure.

Step 11 

gateway(config-if)# Ctrl-z

gateway#

When you finish configuring interfaces, return to enable mode.

Step 12 

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

Checking 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 Access Gateway module configuration, you need to save it to NVRAM.

To save configuration changes, perform these tasks:

Step Command Purpose
1

gateway> enable

Password: <password>

gateway# 

Enter enable mode.

Enter the password.

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

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.

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 Sep 14 18:37:06 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.