Juniper Networks J-Series User Manual
Page 60

1.
Navigate to the top of the configuration hierarchy in either the J-Web or CLI
configuration editor.
2.
Perform the configuration tasks described in Table 28 on page 38.
3.
If you are finished configuring the router, commit the configuration.
4.
To verify the CHAP configuration, see “Verifying the USB Modem
Configuration” on page 42.
Table 28: Configuring CHAP on Dialer Interfaces
CLI Configuration Editor
J-Web Configuration Editor
Task
1.
From the
[edit]
hierarchy level,
enter
edit access
2.
Enter
set profile usb-modem-access-profile
client usb-modem-user chap-secret
my-secret
3.
Repeat Step 2 for each client to be
included in the CHAP profile.
1.
In the J-Web interface, select
Configuration>View and
Edit>Edit Configuration.
2.
Next to Access, click Configure or
Edit.
3.
Next to Profile, click Add new
entry.
4.
In the Profile name box, type
usb-modem-access-profile
.
5.
Next to Client, click Add new
entry.
6.
In the Name box, type
usb-modem-user
.
7.
In the Chap secret box, type
my-secret
.
8.
Click OK.
9.
Repeat Steps 5 through 8 for each
client to be included in the CHAP
profile.
10.
Click OK until you return to the
Configuration page.
Define a CHAP access profile—for
example,
usb-modem-access-profile
with
a client (username) named
usb-modem-user
and the secret
(password)
my-secret
.
From the
[edit]
hierarchy level, enter
edit interfaces dl0 unit 0
1.
On the Configuration page next to
Interfaces, click Edit.
2.
In the Interface name column, click
dl0.
3.
Under Unit, in the Interface unit
number column, click 0.
Navigate to the appropriate dialer
interface level in the configuration
hierarchy—for example,
dl0 unit 0
.
Enter
set ppp-options chap access-profile
usb-modem-access-profile
1.
Next to Ppp options, click
Configure.
2.
Next to Chap, click Configure.
3.
In the Access profile box, type
usb-modem-access-profile
.
4.
Click OK.
Configure CHAP on the dialer interface
and specify a unique profile name
containing a client list and access
parameters—for example,
usb-modem-access-profile
.
NOTE: Do not configure the
passive
option from the
[edit interfaces dl0 unit
0 ppp-options chap]
hierarchy level.
38
■
Configuring USB Modem Interfaces with a Configuration Editor
J-series™ Services Router Administration Guide