[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Configuring a Dialer Interface for USB Modem Dial Backup
The dialer interface (dl) is a logical interface configured
to establish USB modem connectivity. You can configure multiple dialer
interfaces for different functions on the Services Router.
After configuring the dialer interface, you must configure a
backup method—either dialer backup, a dialer filter, or dialer
watch.
For example, suppose you have a branch office router and a head
office router each with a USB modem interface and a dialer interface.
To establish a backup connection between the branch office and head
office routers, you can configure them as described in Table 77.
Table 77: Configuring Branch
Office and Head Office Routers for USB Modem Backup Connectivity
Router Location
|
Configuration Requirement
|
Instructions
|
Branch Office
|
- Configure the logical dialer interface on the
branch office router for USB modem dial backup.
- Configure the dialer interface dl0 in
one of the following ways on the branch office router:
- Configure the dialer interface dl0 as the backup
interface on the branch office router's primary T1 interface t1-1/0/0.
- Configure a dialer filter on the branch office router's
dialer interface.
- Configure a dialer watch on the branch office router's
dialer interface.
|
|
Head Office
|
Configure dial-in on the dialer interface dl0 on the
head office router.
|
To configure dial-in on the head office router, see Configuring Dial-In for a USB Modem Connection.
|
To configure a logical dialer interface for USB modem dial backup:
- Navigate to the top of the interfaces configuration
hierarchy in either the J-Web or CLI configuration editor.
- Perform the configuration tasks described in Table 78.
- To configure a backup method, go on to one of the
following tasks:
Table 78: Adding a Dialer
Interface for USB Modem Dial Backup
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Interfaces level
in the configuration hierarchy.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Interfaces, click Configure or Edit.
|
From the [edit] hierarchy level, enter
edit interfaces
|
Create the new interface—for example, dl0.
Adding a description can differentiate between different dialer
interfaces—for example, USB-modem-backup.
|
- Next to Interface, click Add
new entry.
- In the Interface name box, type dl0.
- In the Description box, type USB-modem-backup.
- Click OK.
|
Create and name the interface:
-
edit dl0
-
set description USB-modem-backup
|
Configure Point-to-Point Protocol (PPP) encapsulation.
Note:
You cannot configure Cisco High-Level Data Link Control (HDLC)
or Multilink PPP (MLPPP) encapsulation on dialer interfaces used in
USB modem connections.
|
- In the Encapsulation column, next to the new
interface, click Edit.
- From the Encapsulation list, select ppp.
|
Enter
set encapsulation ppp
|
Create the logical unit 0.
Note:
You can set the logical unit to 0 only.
|
- Next to Unit, click Add new
entry.
- In the Interface unit number box, type 0.
- Next to Dialer options, select Yes, and then click Configure.
|
Enter
set unit 0
|
Configure dialer options.
-
Activation delay—Number
of seconds to wait before activating the backup USB modem interface
after the primary interface is down—for example, 30. The default value is 0 seconds, and the maximum value
is 60 seconds. Use this option only for dialer backup and
dialer watch.
-
Deactivation delay—Number
of seconds to wait before deactivating the backup USB modem interface
after the primary interface is up—for example, 30.
The default value is 0 seconds, and the maximum value is 60 seconds. Use this option only for dialer backup and dialer
watch.
-
Idle timeout—Number of
seconds a connection is idle before disconnecting—for example, 30. The default value is 120 seconds, and the range
is from 0 to 4294967295.
-
Initial route check—Number
of seconds to wait before checking if the primary interface is up—for
example, 30. The default value is 120 seconds, and
the range is from 1 to 300 seconds.
-
Pool—Name of the dialer
pool to use for USB modem connectivity—for example, usb-modem-dialer-pool.
|
- In the Activation delay box, type 60.
- In the Deactivation delay box, type 30.
- In the Idle timeout box, type 30.
- In the Initial route check box, type 30.
- In the Pool box, type usb-modem-dialer-pool.
|
- Enter
edit unit 0 dialer-options
- Enter
set activation-delay 60
- Enter
set deactivation-delay 30
- Enter
set idle-timeout 30 initial-route-check 30 pool usb-modem-dialer-pool
|
Configure the telephone number of the remote destination to
call if the primary interface goes down—for example, 5551212.
|
- Next to Dial string, click Add new entry.
- In the Dial string box, type 5551212.
- Click OK.
|
Enter
set dial-string 5551212
|
Configure source and destination IP addresses for the dialer
interface—for example, 172.20.10.2 and 172.20.10.1.
Note:
If you configure multiple dialer interfaces, ensure that the
same IP subnet address is not configured on different dialer interfaces.
Configuring the same IP subnet address on multiple dialer interfaces
can result in inconsistency in the route and packet loss. Packets
can be routed through any of the dialer interfaces with the IP subnet
address, instead of being routed through the dialer interface to which
the USB modem call is mapped.
|
- Select Inet under Family,
and click Edit.
- Next to Address, click Add new
entry.
- In the Source box, type 172.20.10.2.
- In the Destination box, type 172.20.10.1.
- Click OK.
|
- From the [edit] hierarchy level, enter
edit interfaces dl0 unit 0
- Enter
set family inet address 172.20.10.2 destination 172.20.10.1
|
Configuring Dial Backup for
a USB Modem Connection
Dial backup allows one or more dialer interfaces to be configured
as the backup link for the primary serial interface. The backup dialer
interfaces are activated only when the primary interface fails. USB
modem backup connectivity is supported on all interfaces except ls-0/0/0.
To configure a primary interface for backup connectivity:
- Navigate to the top of the interfaces configuration
hierarchy in either the J-Web or CLI configuration editor.
- Perform the configuration tasks described in Table 79.
- If you are finished configuring the router, commit
the configuration.
Table 79: Configuring
a Primary Interface for USB Modem Dial Backup
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Interfaces level in the
configuration hierarchy.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Interfaces, click Edit.
|
From the [edit] hierarchy level, enter
edit interfaces t1-1/0/0 unit 0
|
Select the physical interface for USB modem USB modem backup
connectivity—for example, t1–1/0/0.
|
- In the Interface name column, click the physical
interface name.
- Under Unit, in the Interface unit number column,
click 0.
| |
Configure the backup dialer interface—for instance, dl0.0.
|
- Next to Backup options, click Configure.
- In the Interface box, type dl0.0.
- Click OK until you return
to the Interfaces page.
|
Enter
set backup-options interface dl0.0
|
Configuring
a Dialer Filter for USB Modem Dial Backup
This dial-on-demand routing backup method allows a USB modem
connection to be activated only when network traffic configured as
an “interesting packet” arrives on the network. Once the
network traffic is sent, an inactivity timer is triggered and the
connection is closed.
You define an interesting packet using the dialer filter feature
of the Services Router.
To configure dial-on-demand routing backup using a dialer filter,
you first configure the dialer filter and then apply the filter to
the dialer interface.
To configure the dialer filter and apply it to the dialer interface:
- Navigate to the top of the interfaces configuration
hierarchy in either the J-Web or CLI configuration editor.
- Perform the configuration tasks described in Table 80.
- Go on to Table 81.
- When you are finished configuring the router, commit
the configuration.
Table 80: Configuring a Dialer Filter for USB Modem Dial Backup
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Firewall level in the configuration
hierarchy.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Firewall, click Edit.
|
From the [edit] hierarchy level, enter
edit firewall
|
Configure the dialer filter name—for example, interesting-traffic.
|
- Next to Inet, click Configure or Edit.
- Next to Dialer filter, click Add
new entry.
- In the Filter name box, type interesting-traffic.
|
- Enter
edit family inet
- Then enter
edit dialer-filter interesting-traffic
|
Configure the dialer filter rule name—for example, term1.
Configure term behavior. For example, you might want to configure
the dialer filter to allow only traffic between the TGM550 gateway
module installed in the Services Router and the Media Gateway Controller
(MGC) over the backup USB modem connection. In this example, the TGM550
has the IP address 20.20.90.4/32 and the MGC has the IP address 200.200.201.1/32.
To configure the term completely, include both from and then statements.
|
- Next to Term, click Add new
entry.
- In the Rule name box, type term1.
- Next to From, click Configure.
- Next to Source address, click Add
new entry.
- In the Address box, type 20.20.90.4/32.
- Click OK.
- Next to Destination address, click Add new entry.
- In the Address box, type 200.200.201.1/32.
- Click OK until you return
to the Term page.
|
- Enter
edit term term1
- Enter
set from source-address 20.20.90.4/32
- Enter
set from destination-address 200.200.201.1/32
|
Configure the then part of the dialer filter to discard
Telnet traffic between the TGM550 and the MGC.
|
- Next to Then, click Configure.
- From the Designation list, select Note.
- Click OK.
|
Enter
set then note
|
Table 81: Applying the
Dialer Filter to the Dialer Interface
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Interfaces level in the
configuration hierarchy.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Interfaces, click Edit.
|
From the [edit] hierarchy level, enter
edit interfaces dl0 unit 0
|
Select the dialer interface to apply the filter—for example, dl0.
|
- In the Interface name column, click dl0.
- Under Unit, in the Interface unit number column,
click 0.
| |
Apply the dialer filter to the dialer interface.
|
- In the Family section, next to Inet, click Edit.
- Next to Filter, click Configure.
- In the Dialer box, type interesting-traffic, the dialer filter configured in Configuring the Dialer Filter.
- Click OK.
|
- Enter
edit family inet filter
- Enter
set dialer interesting-traffic
|
Configuring
Dialer Watch for USB Modem Dial Backup
Dialer watch is a backup method that integrates backup dialing
with routing capabilities and provides reliable connectivity without
relying on a dialer filter to trigger outgoing USB modem connections.
With dialer watch, the Services Router monitors the existence
of a specified route and if the route disappears, the dialer interface
initiates the USB modem connection as a backup connection.
In this example, you configure dialer watch to enable the Services Router to
monitor the existence of the route to the Media Gateway Controller
(MGC) and initiate USB modem backup connectivity if the route disappears.
To configure dialer watch, you first add a dialer watch interface
and then configure the USB modem interface to participate as a dialer
watch interface.
To configure a dialer watch:
- Navigate to the top of the interfaces configuration
hierarchy in either the J-Web or CLI configuration editor.
- Perform the configuration tasks described in Table 82.
- Go on to Table 83.
- When you are finished configuring the router, commit
the configuration.
Table 82: Adding a Dialer Watch Interface
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Interfaces level in the
configuration hierarchy.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Interfaces, click Edit.
|
From the [edit] hierarchy level, enter
edit interfaces
|
Select a dialer interface—for example, dl0.
Adding a description, such as dialer-watch, can help
you identify one dialer interface from another.
|
- Under Interface name, select dl0.
- In the Description box, type dialer-watch.
|
- Enter
edit dl0
- Enter
set description dialer-watch
|
On a logical interface—for example, 0—configure
the route to the MGC for dialer watch—for example, 200.200.201.1/32.
|
- Under Unit, click the logical unit number 0.
- Next to Dialer options, click Edit.
- Next to Watch list, click Add new
entry.
- In the Prefix box, type 200.200.201.1/32.
- Click OK.
|
- Enter
edit unit 0 dialer-options
- Enter
set watch-list 200.200.201.1/32
|
Configure the name of the dialer pool to use for dialer watch—for
example, dw-pool.
|
- In the Pool box, type dw-pool.
- Click OK.
|
Enter
set pool dw-pool
|
Table 83: Configuring
a USB Modem Interface for Dialer Watch
Task
|
J-Web Configuration Editor
|
CLI Configuration Editor
|
Navigate to the Interfaces level in the
configuration hierarchy, and select the USB modem physical interface umd0.
|
- In the J-Web interface, select Configuration>Edit
Configuration>View and Edit.
- Next to Interfaces, click Edit.
- Under Interface name, click umd0.
|
From the [edit] hierarchy level, enter
edit interfaces umd0 dialer-options pool dw-pool
|
Configure dialer watch options for the USB modem interface
participating in the dialer watch.
The USB modem interface must have the same pool identifier to
participate in dialer watch. Therefore, the dialer pool name dw-pool, for the dialer watch interface configured in Table 82, is used when configuring the
USB modem interface.
|
- Next to Dialer options, click Edit.
- Next to Pool, click Add new entry.
- In the Pool identifier box, type dw-pool.
- Click OK.
| |
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]