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

Configuring CHAP (Optional)

To configure CHAP on the PPPoE 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 31.
  3. If you are finished configuring the network, commit the configuration.
  4. To check the configuration, see Verifying a PPPoE Configuration.

Table 31: Configuring CHAP

Task

J-Web Configuration Editor

CLI Configuration Editor

Define a CHAP access profile—for example, A-ppp-client.

  1. In the configuration editor hierarchy, select Access.
  2. Next to Profile, click Add new entry.
  3. In the Profile name box, type A-ppp-client.
  4. Next to Client, type client1.
  5. In the Chap secret box, type my-secret.
  6. Click OK three times.

Enter

set access profile A-ppp-client client client1 chap-secret my-secret

Navigate to the pp0 unit 0 interface level in the configuration hierarchy.

  1. In the configuration editor hierarchy, select Interfaces.
  2. In the Interface name box, click pp0.
  3. In the Interface unit number box, click 0.

From the top of the configuration hierarchy, enter

edit interfaces pp0 unit 0

Configure CHAP on the PPPoE interface and specify a unique profile name containing a client list and access parameters—for example, A-ppp-client.

  1. Next to Ppp options, click Configure.
  2. Next to Chap, click Configure.
  3. In the Access-profile box, type A-ppp-client.

Enter

set ppp-options chap access-profile A-ppp-client

Specify a unique hostname to be used in CHAP challenge and response packets—for example, A-fe-0/0/1.0 or A-at-2/0/0.0.

In the Local name box, type one of the following:

  • For the Ethernet interface, type A-fe-0/0/1.0.
  • For the ATM interface, type A-at-2/0/0.0.

Enter one of the following:

  • For the Ethernet interface, type set ppp-options chap local-name A-fe–0/0/1.0.
  • For the ATM interface, type set ppp-options chap local-name A-at-2/0/0.0.

Set the passive option to handle incoming CHAP packets only.

  1. In the Passive box, click Yes.
  2. Click OK to apply your entries to the configuration.

Enter

set ppp-options chap passive


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