J-series™ Services Router Administration Guide

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

Task

Define a CHAP access profile—for example, usb-modem-access-profilewith a client (username) named usb-modem-userand the secret (password) my-secret.

Navigate to the appropriate dialer interface level in the configuration hierarchy—for example, dl0 unit 0.

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.

J-Web Configuration Editor

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.

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.

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.

CLI Configuration Editor

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.

From the [edit] hierarchy level, enter

edit interfaces dl0 unit 0

Enter

set ppp-options chap access-profile usb-modem-access-profile

38Configuring USB Modem Interfaces with a Configuration Editor

Page 60
Image 60
Juniper Networks J-Series Configuring Chap on Dialer Interfaces, Ppp-options chap hierarchy level Web Configuration Editor