|
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 until you return
to the Unit page.
|
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
|