Configuring a Cisco ISDN Router for CLI Dial-Back
To perform CLI dial-back between a Cisco ISDN router and a device, you must perform the following tasks:
- Enable CHAP authentication.
- Add a user name.
- Set up an IP static route.
- Specify dial-on-demand.
Enabling CHAP Authentication
The Cisco router must have CHAP authentication enabled.
To enable CHAP authentication on the Cisco Router:
- Open a Cisco terminal session.
- At the Cisco router's host name prompt, enter config.
- Enter configuring from terminal.
A config prompt appears.
- Enter the following:
interface BRI0
The config-if prompt appears.
- To enable CHAP authentication on the Cisco router, enter the following:
ppp authentication chap
- To return to the config prompt, enter exit.
- To return to the Cisco host name prompt, enter exit again.
- At the host name prompt, enter write to save the new settings.
!
interface BRI0
ppp authentication chap
Adding a User Name
The next step in configuring the Cisco router is to configure the user name that the Cisco router uses to authenticate itself to the device. This user name corresponds to the user name specified in the device's internal userlist (or RADIUS Userlist). The entry for this user name in the RADIUS (or internal) userlist must have LAN-to-LAN ("/rt") permission.
To add a user name to a Cisco router configuration:
- Open a Cisco terminal session.
- At the Cisco router's host name prompt, enter config.
- Select configuring from terminal.
- Select enter.
A config prompt appears.
- Enter the following:
username <Cisco user name> password <Cisco password>
- To return to the Cisco host name prompt, enter exit.
- At the host name prompt, enter write to save the new settings.
!
username (Cisco user name) password 7 (Cisco password)
Note: Shiva recommends that the host name of the Cisco router be made the same as the user name of the Cisco router (which you just configured). To change the host name to be the same as the user name, enter config at the Cisco host name's prompt and then enter hostname <Cisco user name> and save the setting to the router.
!
hostname (username)
Setting Up an IP Static Route
To set up an IP static route to the device from the Cisco router:
- Open a Cisco terminal session.
- At the Cisco router's host name prompt, enter config.
- Select configuring from terminal.
- Select enter.
A config prompt appears.
- Enter the following:
ip route <net number of net the device is on> <subnet mask of net the device is on> device IP address
ip route <device IP address> 255.255.255.255 BRI0
- Add static routes to any other destinations you may want to reach.
- To return to the Cisco host name prompt, enter exit.
- At the host name prompt, enter write to save the new settings.
!
ip default-network (defined ip address)
ip route (network ip number) (subnetmask) (device IP address)
ip route (device IP address) 255.255.255.255 BRI0
ip route (defined ip address)(defined ip subnetmask) (device IP address)
dialer-list 1 protocol ip permit
Specifying Dial-on-Demand
To specify dial-on-demand:
- Open a Cisco terminal session.
- At the Cisco router's host name prompt, enter config.
- Select configuring from terminal.
- Select enter.
A config prompt appears.
- Enter the following:
interface BRI0
The config-if prompt appears.
- Enter the following:
dialer map ip <device ip address> name <Cisco user name as configured above> <phone number of device at config-if prompt>
- To return to the config prompt, enter exit.
- To return to the Cisco host name prompt, enter exit again.
- At the host name prompt, enter write to save the new settings.
You should now be able to ping the device.
Because of the nature of the CLI dial-back process, the initial ping does not get a reply. Subsequent pings work as normal after establishing the connection.
!
interface BRI0
ip unnumbered Ethernet0
encapsulation ppp
dialer map ip (device IP) name (user name) (PRI number to dial)
Related Information
Example: Configuring a Cisco Router for CLI Dial-Back
Configuring CLI Authentication
Shiva Device Features
Client Tools
[ Top of Page... ]
|