|
|
This chapter describes how to use the Cisco IOS software command-line interface (CLI) to configure basic router functionality, including:
Follow the procedures in this chapter to configure the router manually or if you want to change the configuration after you have run the setup command facility (described in Chapter 1,"First-Time Configuration").
This chapter does not describe every configuration possible---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 that came with your router, on the World Wide Web from Cisco's home page, or you can order printed copies separately.
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 Cisco routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.
To verify that you configured the correct host name and password:
Router(config)# show config Using 1888 out of 126968 bytes ! version XX.X . . . ! hostname Router ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ . . .
Router# exit . . . Router con0 is now available Press RETURN to get started. Router> enable Password: guessme Router#
![]() | Tips |
If you are having trouble, check the following:
You can configure Ethernet interfaces manually by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest power and flexibility.
![]() | TimeSaver Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. |
Before you begin configuring the Ethernet interface, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign the IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 |
| Exit back to global configuration mode. Repeat Step 4 through Step 6 if your router has more that one LAN interface that you need to configure. |
| 8 | | When you finish configuring interfaces, return to enable mode. |
To configure a Fast Ethernet interface, use the configuration software provided with your router or network module, if any. Otherwise, for greatest power and flexibility use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the router prompt.
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.
Before you begin configuring the interfaces, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign an IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 |
| Exit back to global configuration mode. Repeat Step 4 through Step 6 if your router has more than one interface that you need to configure. |
| 8 | | When you finish configuring interfaces, return to enable mode. |
You can configure the serial interfaces on your asynchronous/synchronous serial network module or WAN interface card manually by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest power and flexibility.
![]() | TimeSaver Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. |
Before you begin configuring the asynchronous/synchronous serial interface, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign the IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 |
| All serial ports are initially configured as synchronous. Enter this command if you want to configure the port as asynchronous. |
| 8 | | Configure asynchronous parameters according to your needs. |
| 9 | | Configure the asynchronous line setting. |
| 10 | | Specify the time that the interface waits in controlled carrier mode. See Table 3-5 for a list of half-duplex timer commands. |
| 11 | | To use a port in DCE mode, connect a DCE cable and set the internal transmit clock signal (TXC) speed in bits per second. See Table 3-6 through Table 3-9 for a list of clock rate settings for your specific interface. (For ports used in DTE mode, the router automatically uses the external timing signal.) |
| 12 |
| 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 a serial clock transmit external (SCTE) signal to the DCE. If the DTE does not return SCTE, enter this command to configure the DCE port to use its own clock signal. |
| 13 |
| Routers 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. |
| 14 |
| 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. |
| 15 |
| Exit back to global configuration mode. Repeat Step 4 through Step 14 if your router has more that one serial interface that you need to configure. |
| 16 | | When you finish configuring interface, return to enable mode. |
| 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. |
1200 bps | 38400 bps | 148000 bps |
|---|---|---|
2400 bps | 56000 bps | 500000 bps |
4800 bps | 57600 bps | 800000 bps |
9600 bps | 64000 bps | 1000000 bps |
14400 bps | 72000 bps | 1300000 bps |
19200 bps | 115200 bps | 2000000 bps |
28800 bps | 125000 bps | 4000000 bps |
32000 bps | 128000 bps | 148000 bps |
1200 bps | 28800 bps | 72000 bps |
|---|---|---|
2400 bps | 32000 bps | 115200 bps |
4800 bps | 38400 bps | 125000 bps |
9600 bps | 56000 bps | 128000 bps |
14400 bps | 57600 bps |
|
19200 bps | 64000 bps |
|
1200 bps | 28800 bps | 72000 bps |
|---|---|---|
2400 bps | 32000 bps | 115200 bps |
4800 bps | 38400 bps | 125000 bps |
9600 bps | 56000 bps | 128000 bps |
14400 bps | 57600 bps |
|
19200 bps | 64000 bps |
|
300 bps | 19200 bps | 64000 bps |
|---|---|---|
1200 bps | 28800 bps | 72000 bps |
2400 bps | 32000 bps | 115200 bps |
4800 bps | 38400 bps | 128000 bps |
9600 bps | 56000 bps |
|
14400 bps | 57600 bps |
|
You can configure the asynchronous interface manually by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest power and flexibility.
![]() | TimeSaver Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. |
Before you begin configuring the asynchronous interface, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter the interface configuration mode and specify the asynchronous interface to configure. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign the IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 |
| Configure asynchronous parameters according to your needs. |
| 8 | | Return to the global configuration mode and repeat Step 4 through Step 7 if your router has more than one interface that you need to configure. |
| 9 | | Return to enable mode. |
You can configure the interfaces on your BRI WAN interface card manually by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest power and flexibility.
![]() | TimeSaver Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. |
Before you begin configuring the BRI interface, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 |
| Enter an ISDN switch type. See Table 3-12 for a list of ISDN switch types. Note Switch types configured in interface configuration mode override this setting for the configured interface. |
| 4 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 5 | | Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 6 | | 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. |
| 7 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. If you are configuring this router for voice, use the |
| 8 |
| Exit back to global configuration mode. Repeat Step 5 through Step 7 if your router has more than one BRI interface that you need to configure. |
| 9 | | By default, the router allocates 25 percent of DRAM to shared memory (used for data transmitted or received by network modules and WAN interface cards). If your router includes 16 or more ISDN BRI interfaces, you must increase the amount of shared memory by entering the memory-size iomem command. This example increases shared memory from 25 percent to |
| 10 | | When you finish configuring interface, return to enable mode. |
| Country | 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 |
Before using a router with an ISDN BRI interface, you must order a correctly configured ISDN BRI line from your local telecommunications service provider.
The ordering process varies from provider to provider and from country to country; however, here are some general guidelines:
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. Table 3-13 lists the provisioning you should order for your router.
| Switch Type | Provisioning |
|---|---|
5ESS Custom BRI | For data only: 2 B channels for data Point to point Terminal type = E 1 directory number (DN) assigned by service provider MTERM = 1 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange |
5ESS Custom BRI | For voice and data: (Use these values only if you have an ISDN telephone connected.) 2 B channels for voice or data Multipoint Terminal type = D 2 directory numbers assigned by service provider 2 service profile (SPIDs) required, assigned by service provider MTERM = 2 Number of cal appearances = 1 Display = No Ringing/idle call appearances = 1 Autohold = no Onetouch = no Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 |
5ESS National ISDN (NI-1) BRI | Terminal type = A 2 B channels for voice or data 2 directory numbers assigned by service provider 2 SPIDs required, assigned by service provider Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 |
DMS-100 BRI | 2 B channels for voice or data 2 directory numbers assigned by service provider 2 SPIDs required, assigned by service provider Functional signaling Dynamic terminal endpoint identifier (TEI) assignment Maximum number of keys = 64 Release key = no, or key number = no Ringing indicator = no EKTS = no PVC = 2 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 |
Some service providers assign service profile identifiers (SPIDs) to define the services to which an ISDN device subscribes. If your service provider requires SPIDs, your ISDN device cannot place or receive calls until it sends a valid SPID to the service provider when initializing the connection. A SPID is usually a seven-digit telephone number plus some optional numbers, but service providers might use different numbering schemes. SPIDs have significance at the local access ISDN interface only; remote routers are never sent the SPID.
Currently, only DMS-100 and NI-1 switch types require SPIDs. Two SPIDs are assigned for the DMS-100 switch type, one for each B channel. The AT&T 5ESS switch type might support SPIDs, but Cisco recommends that you set up that ISDN service without SPIDs.
If your service provider assigns you SPIDs, you must define these SPIDs on the router. To define SPIDs and the local directory number (LDN) on the router for both ISDN BRI B channels, use the following isdn spid commands:
Router (config-if)# isdn spid1 spid-number [ldn] Router (config-if)# isdn spid2 spid-number [ldn]
For further information on configuring ISDN, see the chapters "Configuring ISDN" and "Configuring DDR" in the Wide-Area Networking Configuration Guide publication.
To configure an ISDN PRI interface or T1/E1 multiflex trunk interface, use the configuration software provided with your router or network module, if any. Otherwise, for greatest power and flexibility use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the router prompt.
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.
Before you begin configuring the interfaces, make sure you:
Use the following procedure to configure a new T1, CT1/PRI or CT1/PRI-CSU interface or to change the configuration of an existing interface.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Select the CT1/PRI interface to configure. This example configures a T1 interface in slot 1 and unit 0. |
| 5 | Router(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. |
| 6 | Router(config-controller)# framing esf | Specify the framing type. |
| 7 | Router(config-controller)# linecode b8zs | Specify the line code format. |
| 8 | Router(config-controller)# channel-group 0 timeslots 1,3-5,7 | Specify the channel group and time slots to be mapped. For multiflex trunk interfaces, only channel 0 can be configured. |
| 9 | Router(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. |
| 10 | | Assign an IP address and subnet mask to the interface. |
| 11 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 12 |
| Exit back to global configuration mode. Return to Step 4 if your router has more than one CT1/PRI interface that you need to configure. |
| 13 | | When you finish configuring interfaces, return to enable mode. |
Use the following procedure to configure a new E1 or CE1/PRI interface (balanced or unbalanced) or to change the configuration of an existing interface.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Select the CE1/PRI interface to configure. This example configures an E1 interface in slot 1 and unit 0. |
| 5 | Router(config-controller)# framing crc4 | Specify the framing type. |
| 6 | Router(config-controller)# linecode hdb3 | Specify the line code format. |
| 7 | Router(config-controller)# channel-group 0 timeslots 1,3-5,7 | Specify the channel group and time slots to be mapped. For multiflex trunk interfaces, only channel 0 can be configured. |
| 8 | Router(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. |
| 9 | | Assign an IP address and subnet mask to the interface. |
| 10 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 11 |
| Exit back to global configuration mode. Return to Step 4 if your router has more than one CE1/PRI interface that you need to configure. |
| 12 | | When you finish configuring interfaces, return to enable mode. |
To configure TDM connect, complete the following steps in controller configuration mode:
| Step | Command | Purpose |
|---|---|---|
1 | To configure a TDM channel group, do one of the following: | |
| router(config-controller)# tdm-group
tdm-group-no timeslot timeslot-list [type {e&m |
fxs [loop-start | ground-start] | fxo [loop-start
| ground-start]}]
| Configure a TDM channel group for T1. If configuring cross-connect for data traffic only, do not specify the type option. The type option only applies if the mode cas command is enabled. |
| router(config-controller)# tdm-group
tdm-group-no timeslot timeslot-list [type {e&m |
fxs [loop-start | ground-start] | fxo [loop-start
| ground-start] | fxs-melcas | fxo-melcas |
e&m-melcas}]
| Configure a TDM channel group for E1. The "melcas" options are supported only on E1 and apply to the Mercury Exchange Limited (MEL) Channel Associated Signaling (CAS) standard, used primarily in the United Kingdom. The MEL options help preserve CAS integrity on the line. If configuring cross-connect for data traffic only, do not specify the type option. The type option only applies if the mode cas command is enabled. |
2 | router(config-controller)# exit | Exit controller configuration mode. |
3 | router(config)# connect id controller-1 tdm-group-no-1 controller-2 tdm-group-no-2 | Configure cross-connect pass-through between two controllers. |
The number of channels that an HDV network module can support depends on the number of PVDMs that are installed and the complexity level of the codecs (vocoders) needed to support the required compression method. The HDV network module supports the following number of channels:
Each HDV network module can support only one type of compression complexity (either high or medium), although HDV network modules with different compression complexity types can be installed in the same router.
Use the following procedure to configure the codec (vocoder) complexity on your HDV network module.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Select the voice card to configure. |
| 4 | Router(config-voicecard)# codec complexity {high |medium} | Specify the compression complexity for the voice card.One complexity type is allowed per router. |
| 5 |
| Exit back to global configuration mode. Return to Step 3 if your router has more than one voice card that you need to configure. |
| 6 | | When you finish configuring interfaces, return to enable mode. |
The 1-port T1 and fractional (FT1) WAN interface card includes an integrated data service unit/channel service unit (DSU/CSU) and can be configured either for full T1 service at 1.544 Mbps or for fractionalized T1 service. You can configure the interfaces on your T1 WAN interface card manually by entering Cisco IOS commands on the command line. This method, called configuration mode, provides the greatest power and flexibility.
![]() | TimeSaver Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. |
Before you begin configuring the BRI interface, make sure you:
The Cisco IOS software provides the following default configuration for CSU/DSU- and T1-specific parameters:
service-module t1 clock source lineservice-module t1 data-coding normalservice-module t1 timeslots all speed 64service-module t1 framing esfservice-module t1 lbo noneservice-module t1 linecode b8zsno service-module t1 remote-alarm-enableservice-module t1 remote-loopbackno service-module t1 fdl
To change this configuration, enter commands in configuration mode, as described in the next section. To view the current configuration, enter the show service-module serial slot/port command. For further information about these commands, refer to the Cisco IOS configuration guides and command references.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign the IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 |
| Enter the framing type and linecode type. In this example, the framing type specified is |
| 8 | | If you are using fractional T1 service, enter the time slot range and speed. In this example, the time slot range specified is from 1 to 20, and the speed specified is 64 kbps. |
| 9 |
| Exit back to global configuration mode. Repeat Step 4 through Step 8 if your router has more than one interface that you need to configure. |
| 10 | | When you finish configuring interfaces, return to enable mode. |
To configure an ATM interface, you must use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the router prompt.
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.
To configure the ATM interface with PVCs, follow this procedure:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign an IP address and subnet mask to the interface. |
| 6 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 7 | | Configure a new ATM PVC. Enter interface-ATM-VC configuration mode. The PVC command has the format pvc [name] vpi/vci [ilmi|qsaal] You have entered interface-ATM-VC configuration mode when the prompt changes to |
| 8 | | Map the PVC to an address. |
| 9 |
| Exit back to global configuration mode. Repeat Step 4 through Step 8 if your router has more than one interface that you need to configure. |
| 10 | | When you finish configuring interfaces, return to enable mode. |
To configure the ATM interface with switched virtual circuits (SVCs), follow this procedure:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Configure a signaling channel for the SVC. |
| 6 | | Exit back to interface configuration mode. |
| 7 | | Configure additional signaling channels for the SVC. |
| 8 | | Exit back to interface configuration mode. |
| 9 | | Assign an IP address and subnet mask to the interface. |
| 10 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 11 | Router(config-if)# svc nsap BC.CDEF.01.234567.890A.BCDE.F012.3456.7890.1234.12 | Configure the signaling PVC and the ATM network service access point (NSAP) address. The signaling PVC command has the format svc |
| 12 | | Map the PVC to an address. |
| 13 |
| Exit back to global configuration mode. Repeat Step 4 through Step 12 if your router has more than one interface that you need to configure. |
| 14 | | When you finish configuring interfaces, return to enable mode. |
To configure an inverse multiplexing for ATM (IMA) interface, you must use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the router prompt.
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.
interface atm.
To configure the ATM interface, follow this procedure:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Enter the transmit clock mode for the selected ATM interface. The choices are internal, line, or loop. The default is line. |
| 6 | | For T1 interfaces only, specify the cable length (short or long) followed by the length in feet. You can view the acceptable cable lengths by including the ? option after the long or short commands. |
| 7 | | Specify the loopback type for this ATM interface by entering the loopback command followed by one of the following: line, local, payload, remote. You can view command descriptions by including the ? option after the loopback command |
| 8 | | For E1 interfaces only, specify the impedance value for this ATM interface by entering the impedance command followed by one of the following: 120-ohm, 75-ohm. You can view command descriptions by including the ? option after the impedance command. Note Your response must match the physical cable connected to the ATM port:Enter 75 ohm for coaxial unbalanced cable, or 120 ohm for twisted-pair balanced cable. A response of no impedance selects the default of 120 ohm. |
| 9 | | Enable the ATM interface by canceling the shutdown state. |
| 10 | | When you finish configuring interfaces, return to enable mode. |
To configure the IMA interface, follow this procedure:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to |
| 5 | | Assign the ATM interface to an IMA group (numbered from 0 to 3). The interface is now assigned to a group and ATM functionality is no longer available for the individual link. |
| 6 | | Enable the individual link by canceling the shutdown state. Note The no shutdown command at this point activates the individual ATM link. If this command is omitted, the ATM link is added to the group but is "inhibited" at the IMA protocol level. This would prevent it from carrying network traffic.Repeat Step 4 through Step 6 if your router has more than one interface that you need to configure. |
| 7 | | Create the IMA group interface. Note The group interface is deleted with the no interface atm 2/ima 3 command. |
| 8 | | Select the transmit clock mode for the selected IMA group. The choices are common or independent. |
| 9 | | Enter the maximum differential delay in milliseconds for the selected IMA group. |
| 10 | | Enter the minimum number of links that need to be operational for the selected IMA group. |
| 11 | | Select the test port for the selected IMA group. The link number is one of the physcial ports on the network module. |
| 12 | | Assign an IP address and subnet mask to the interface. |
| 13 | | Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 14 | Router(config-if)# no shutdown | Enable the IMA group by canceling the shutdown state. |
| 15 | | When you finish configuring interfaces, return to enable mode. |
After configuring the new IMA 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. To check other parts of the configuration, refer to the "Checking the Interface Configuration" section.
To configure an analog modem interface, use the configuration software provided with your router or modem network module, if any. Otherwise, use configuration mode (manual configuration). In this mode, you enter Cisco IOS commands at the router prompt.
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.
Before you begin configuring the interfaces, make sure you:
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Enter global configuration mode. You have entered global configuration mode when the prompt changes to |
| 3 | | Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. |
| 4 | | You can configure asynchronous interfaces either individually or as a group. This command selects an individual interface to configure. (To configure a group, see Step 6.) The prompt changes to |
| 5 | | Assign an IP address and subnet mask to the interface. Continue with Step 10. |
| 6 | | Assign asynchronous interfaces to a group so you can configure them together. |
| 7 | | Configure the asynchronous interface group as unnumbered and assign the IP address of the Ethernet interface to the group. |
| 8 | | Define the pool of addresses at the global level. |
| 9 | | Define the group range of the interface. This command defines the range as all modems in slot 0. |
| 10 | | Configure routing protocols on the interface or group. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. |
| 11 | | Configure asynchronous parameters according to your needs. |
| 12 |
| Exit back to global configuration mode. Return to Step 4 if your router has more than one interface that you need to configure. |
| 13 | | Set modem parameters (including encoding) to the correct country. Table 3-24 shows country codes. The default is usa. |
| 14 | | Enter the modem line or range of modem lines to configure. |
| 15 | | Allow all protocols to be used when connecting to the line. |
| 16 | | Enable remote IP users running a PPP application to dial in, bypass the EXEC facility, and connect directly to the network. |
| 17 | | Enable incoming and outgoing calls. |
| 18 | | When you finish configuring interfaces, return to enable mode. |
| Country | Code | Country | Code |
|---|---|---|---|
Argentina | | Japan | |
Australia | | Korea | |
Austria | | Malaysia | |
Belgium | | Mexico | |
Brazil | | Netherlands | |
Canada | | New Zealand | |
Chile | | Norway | |
China | | Peru | |
Columbia | | Philippines | |
Czech/Slovak Republic | | Poland | |
Denmark | | Portugal | |
Finland | | Saudi Arabia | |
France | | Singapore | |
Germany | | South Africa | |
Greece | | Spain | |
Hong Kong | | Sweden | |
Hungary | | Switzerland | |
India | | Taiwan | |
indonesia | | Thailand | |
Ireland | | United Kingdom | |
Israel | | USA | |
Italy | |
|
|
After configuring the new modem 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. To check other parts of the configuration, refer to the following section, "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.
To prevent the loss of the router configuration, save it to NVRAM.
| Step | Command | Purpose |
|---|---|---|
| 1 | | Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to |
| 2 | | Save the configuration changes to NVRAM so that they are not lost during resets, power cycles, or power outages. |
| 3 | | Return to enable mode. This message is normal and does not indicate an error. |
At this point you can proceed to the following:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Jul 9 14:30:23 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.