|
|
This chapter describes how to configure the Cisco 1700 router to dial into a central-site router over a standard telephone line and provides verification steps and troubleshooting tips.
This chapter contains the following sections:
The configurations in this chapter are based on the following assumptions:
Before you begin configuration, be aware of the following:
In this configuration, a modem is attached to the router serial port and dials into the central-site router over a standard telephone line, which is an asynchronous connection. The Cisco 1700 router is dialing into a central-site router.
These are the major tasks when configuring your router for an asynchronous dial-up connection:
Figure 6-1 illustrates the example configuration used in this chapter.

Use this table to configure some global parameters.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode. | Router# | |||
| Configure the router to show the date and time of all debug messages. This command is optional, but recommended if you use debug commands to troubleshoot your configuration. | Router | |||
| Configure the router to show the date and time of all log messages. This command is optional, but recommended if you use the verification steps described in this guide. This feature is enabled for all the example command output shown in this guide. | Router | |||
| Enable IPX routing and configure the router with an IPX address. | Router | ipx routing 0060.834f.66dd | ||
| Create a script that causes the modem connected to the router to place a call to the central site. | Router | chat-script dialout "atdt\t" timeout 60 connect\c |
Use this table to configure the router with some security measures.
| Step | Task | Router Prompt | Command | ||
| Specify a password to prevent unauthorized access to the router. | Router | enable password <1700user> | ||
| Configure the router with a host name, which is used in prompts and default configuration file names. For PPP authentication, the host name entered with this command must match the username of the central-site router. | Router | hostname 1700 | ||
| Specify the password used during caller identification and CHAP and PAP authentication. For CHAP and PAP authentication, the username entered with this command must match the host name of the central-site router. | | username HQ password <guessme> |
Use this table to configure the Fast Ethernet interface, which connects your router to the local network.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode for the Fast Ethernet interface. | | |||
| Configure this interface with an IP address and a subnet mask. | | ip address 172.16.25.42 255.255.255.224 | ||
| Configure an IPX network address for this interface. | 1700(config-if)# | |||
| Enable the interface and the configuration changes that you have just made on the interface. | | |||
| Exit configuration mode for the interface. | |
Use this table to configure the asynchronous interface, which connects your router to the central-site router over the wide-area network.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode for the serial interface. | | |||
| Specify the mode of this slow-speed serial interface as asynchronous. | | |||
| Configure the asynchronous line for data traffic, not EXEC command line sessions. | | |||
| Configure this interface with an IP address and a subnet mask. | | ip address 192.168.39.41 255.255.255.0 | ||
| Enable IPX routing on this interface. | | ipx network 9876 | ||
| Specify that dial-on-demand routing (DDR) is supported on this interface. | | |||
| Configure a static route to the central-site device. | | |||
| Enable snapshot routing. Because your router is dialing into a central-site router, it is considered the client router. The first number is the amount of "active time" (in minutes) during which routing updates are exchanged between your router and the central-site router. The second number is the amount of "quiet time" (in minutes) during which routing entries are frozen and remain unchanged. | | snapshot client 5 60 | ||
| Assign the dialer interface to a dialer group. | | |||
| Set the encapsulation method on this interface to PPP. | | |||
| Enable CHAP or PAP authentication on this interface. CHAP authentication is attempted first. | | |||
| Enable the interface and the configuration changes that you have just made on the interface. | | |||
| Exit configuration mode for this interface. | | |||
| Enter configuration mode for the serial0 interface. | 1700(config)# | line 1 | ||
| Configure the baud rate for the asynchronous line. | | speed 19200 | ||
| Configure parity on the asynchronous line. | | parity n | ||
| Configure data bits on the asynchronous line. | 1700(config-line)# | datab 8 | ||
| Configure stop bits on the asynchronous line. | 1700(config-line)# | stopb 1 | ||
| Exit line configuration mode. | |
You can verify your configuration to this point by
Step 1 From the privileged EXEC command mode, enter the ping command followed by the IP address of the central-site router:
Step 2 Note the percentage in the "Success rate..." line (shown in bold in the example). A success rate of 60 percent (3/5) or greater means that your router is successfully transferring data to the central-site router.
Step 3 To continue configuration, re-enter global configuration mode.
Step 1 From the privileged EXEC command mode, enter the show interface serial 0 command.
Step 2 Confirm that the lines (shown in bold in the example) appear in the command output:
Step 3 To continue configuration, re-enter global configuration mode.
Step 1 From the privileged EXEC mode, enter the show line command.
Step 2 Confirm that the lines (shown in bold in the example) appear in the command output.
The asynchronous line settings should be the same as those that you configured in the "Configuring the Asynchronous Interface" section earlier in this chapter.
The IP address in the "Line is running" message should be the IP address of the WAN interface of the central-site router.
Use this table to configure how and when the router dials the central-site router.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode for the serial interface. | | |||
| Define a dialer map for snapshot routing. | | dialer map snapshot 1 name HQ | ||
| Configure a dialer map to send IP data over the modem line to the central-site router. | | dialer map ip 192.168.39.40 name HQ modem-script dialout 5552053 | ||
| Configure a dialer map to send IPX data over the modem line to the central-site router. | | dialer map ipx 9876.0000.0c06.ecc6 modem-script dialout 5552053 | ||
| Configure a route to IPX services, such as servers and printers, on the central-site network. | | |||
| Exit configuration mode for this interface. | |
Use this table to configure some parameters that control access to the router.
| Step | Task | Router Prompt | Command | ||
|---|---|---|---|---|---|
| Specify the console terminal line. | | |||
| Set the interval in minutes that the EXEC command interpreter waits until user input is detected. | | |||
| Specify a virtual terminal for remote console access. | | line vty 0 4 | ||
| Specify a password on the line. | | password <lineaccess> | ||
| Enable password checking at terminal session login. | | |||
| Exit configuration mode. | |
This section describes how to configure a Cisco 1700 router with multiple asynchronous interfaces for dial-in connections. In this example, the Cisco 1700 router functions as the central-site router that accepts connections from remote users.
These are the major task when configuring an asynchronous dial-in pool:
Figure 6-2 illustrates the example configuration used in this chapter.

This example configuration includes multiple interfaces of the same type being configured with the same commands. When entering commands for one of multiple interfaces, you must enter interface configuration mode for the correct interface. The table below describes how the interfaces are numbered in this configuration example.
| Line | Interface Name and Number |
|---|---|
1 | Serial0 |
2 | Serial1 |
3 | Serial2 |
4 | Serial3 |
5 (AUX port) | Async5 |
Use this table to configure some global parameters.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode. | Router# | |||
| Configure the router to show the date and time of all debug messages. This command is optional, but recommended if you use debug commands to troubleshoot your configuration. | Router | |||
| Configure the router to show the date and time of all log messages. This command is optional, but recommended if you use the verification steps described in this guide. This feature is enabled for all the example command output shown in this guide. | Router |
Use this table to configure the router with some security measures.
| Step | Task | Router Prompt | Command | ||
| Configure the router to encrypt passwords. | Router(config)# | |||
| Specify a password to prevent unauthorized access to the router. | Router | enable password <1700user> | ||
| Configure the router with a host name, which is used in prompts and default configuration file names. For PPP authentication, the host name entered with this command must match the username of the central-site router. | Router | hostname 1700 | ||
| Specify the password used during caller identification and CHAP and PAP authentication. For CHAP and PAP authentication, the hostname of every remote router that dials into the Cisco 1700 router must be entered with this command, and the password used to authenticate that router. | | username jason password <foot> |
Use this table to configure the Fast Ethernet interface, which connects the router to your local network.
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode for the Fast Ethernet interface. | | |||
| Configure this interface with an IP address and a subnet mask. | | ip address 192.168.39.1 255.255.255.0 | ||
| Enable the interface and the configuration changes that you have just made on the interface. | | |||
| Exit configuration mode for the interface. | |
Use this table to configure how the four asynchronous interfaces to receive calls from remote routers. The table below describes how to configure one interface (Serial0); however, you can use the same commands to configure any of the serial interfaces and the AUX interface (Async5).
| Step | Task | Router Prompt | Command | ||
| Enter configuration mode for the asynchronous serial interface. | | |||
| Configure the asynchronous interfaces to use the IP address of the FastEthernet interface. | | |||
| Configure the asynchronous interfaces for PPP encapsulation. | | encapsulation ppp | ||
| Configure the asynchronous interfaces for interactive mode, which enables slip and ppp EXEC commands. | | |||
| Configure the remote routers to use the IP address configured with the ip local pool command. | | peer default ip address pool dialin | ||
| Disable Cisco Discovery Protocol (CDP) on the asynchronous interfaces. | | no cdp enable | ||
| Configure the asynchronous interfaces to authenticate the remote routers with CHAP. | | ppp authentication chap | ||
| Enable this interface and the configuration changes you have made. | | no shutdown | ||
| Exit configuration mode for this interface. | | exit | ||
| Configure a local pool of IP addressees that are used when a remote router connects to the one of the asynchronous interfaces. The command defines the range of IP address that can be used with the lowest IP address followed by the highest IP address. If you do not include the highest IP address, the pool contains only the lowest IP address defined in the command. | | ip local pool dialin 192.168.39.239 192.168.39.254 | ||
| Enter configuration mode for the serial0 interface. | 1700(config)# | line 1 | ||
| Configure the baud rate for the asynchronous line. | | speed 19200 | ||
| Configure parity on the asynchronous line. | | parity n | ||
| Configure data bits on the asynchronous line. | 1700(config-line)# | datab 8 | ||
| Configure stop bits on the asynchronous line. | 1700(config-line)# | stopb 1 | ||
| Exit line configuration mode. | |
Use this table to configure some parameters that control access to the router.
| Step | Task | Router Prompt | Command | ||
|---|---|---|---|---|---|
| Specify the console terminal line. | | |||
| Set the interval that the EXEC command interpreter waits until user input is detected. | | |||
| Specify a virtual terminal for remote console access | | line vty 0 4 | ||
| Specify a password on the line. | | password <lineaccess> | ||
| Enable password checking at terminal session login. | | |||
| Exit configuration mode. | |
![]() | Caution If you are not familiar with Cisco IOS debug commands, you should read the "Using Debug Commands" section in the "Cisco IOS Basic Skills" chapter before attempting any debugging. |
|
|