[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring CHAP on Dialer Interfaces (Optional)

You can optionally configure dialer interfaces to support the PPP Challenge Handshake Authentication Protocol (CHAP). When you enable CHAP on a dialer interface, the device can authenticate the remote locations connecting to the USB modem.

For more information about CHAP, see the JUNOS Software Interfaces and Routing Configuration Guide and the JUNOS Network Interfaces Configuration Guide.

To configure CHAP on the dialer interface:

  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 58.
  3. If you are finished configuring the device, commit the configuration.
  4. To verify the CHAP configuration, see Verifying the USB Modem Configuration.

Table 58: Configuring CHAP on Dialer Interfaces

Task

J-Web Configuration Editor

CLI Configuration Editor

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.

  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. 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.

Navigate to the appropriate dialer interface level in the configuration hierarchy—for example, 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.

From the [edit] hierarchy level, enter

edit interfaces 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.

  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.

Enter

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


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]