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

Configuring PAP on Dialer Interfaces (Optional)

You can configure dialer interfaces to support the Password Authentication Protocol (PAP). PAP allows a simple method for a peer to establish its identity using a two-way handshake during initial link establishment. After the link is established, an ID and password pair is repeatedly sent by the peer to the authenticator until authentication is acknowledged or the connection is terminated.

For more information about PAP, see the JUNOS Network Interfaces Configuration Guide.

To configure PAP on the dialer interface, create an access profile and then configure 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 85.
  3. If you are finished configuring the router, commit the configuration.

Table 85: Configuring PAP on Dialer Interfaces

Task

J-Web Configuration Editor

CLI Configuration Editor

Define a PAP access profile—for example, pap-access-profile with a client (username) named pap-access-user and the PAP password my-pap.

  1. On the main Configuration page next to Access, click Configure or Edit.
  2. Next to Profile, click Add new entry.
  3. In the Profile name box, type pap-access-profile.
  4. Next to Client, click Add new entry.
  5. In the Name box, type pap-access-user.
  6. In the Pap-password box, type my-pap.
  7. Click OK until you return to the main Configuration page.

From the [edit] hierarchy level, enter

set access profile pap-access-profile client pap-access-user pap-password my-pap

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

  1. On the main Configuration page next to Interfaces, click Configure or Edit.
  2. In the interface name box, click dl0.
  3. In the Interface unit number box, click 0.

From the [edit] hierarchy level, enter

edit interfaces dl0 unit 0

Configure PAP on the dialer interface and specify the local name and password—for example, pap-access-profile and my-pap.

  1. Next to Ppp options, click Configure.
  2. Next to Pap, click Configure.
  3. In the Local name box, type pap-access-profile.
  4. In the Local password box, type my-pap.
  5. Click OK.

Enter

set ppp-options pap local-name pap-access-user local-password my-pap


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