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

Configuring PPPoE Interfaces (Required)

To create and configure a PPPoE interface over the underlying Ethernet and ATM 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 52.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to one of the following procedures:

Table 52: Configuring a PPPoE Interface

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interfaces level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, enter

edit interfaces

Create a PPPoE interface with a logical interface unit 0.

  1. Next to Interface, click Add new entry.
  2. In the Interface name box, type pp0 and click OK.
  3. Under Interface name, click pp0.
  4. Next to Unit, click Add new entry.
  5. In the Interface unit number box, type 0.

Enter

edit pp0 unit 0

Configure an ISDN interface as the backup interface for the PPPoE interface—for example, dl0.0.

  1. Next to Backup options, click Configure.
  2. In the Interface box, type dl0.0.
  3. Click OK.

Enter

set backup-options interface dl0.0

Specify the logical Ethernet interface or the logical ATM interface as the underlying interface for the PPPoE session—for example, ge-0/0/1.0 or at-2/0/0.0.

  1. Next to Pppoe options, click Edit.
  2. In the Underlying Interface box, type one of the following interface names:
    • For a logical Ethernet interface, type ge-0/0/1.0.
    • For a logical ATM interface type, at-2/0/0.0.

Enter one of the following commands:

  • set pppoe-options underlying-interface ge-0/0/1.0.
  • set pppoe-options underlying-interface at-2/0/0.0.

Identify the access concentrator by a unique name—for example, ispl.com.

In the Access concentrator box type ispl.com.

Enter

set pppoe-options access-concentrator ispl.com

Specify the number of seconds (from 1 through 4294967295) to wait before reconnecting after a PPPoE session is terminated—for example, 100. A 0 value (the default) specifies immediate reconnection.

In the Auto reconnect box, type 100.

Enter

set pppoe-options auto-reconnect 100

Specify the number of seconds a session can be idle—for example, 100. A 0 value prevents the session from timing out.

In the Idle timeout box, type 100.

Enter

set pppoe-options idle-timeout 100.

Specify the J-Series Services Router as the client for the PPPoE interface.

In the Client box, Yes.

Enter

set pppoe-options client.

Identify the type of service provided by the access concentrator, such as the name of the Internet service provider (ISP), class, or quality of service—for example, video@ispl.com.

  1. In the Service name box, type video@ispl.com.
  2. Click OK.

Enter

set pppoe-options service-name video@ispl.com

Configure the maximum transmission unit (MTU) of the IPv4, IPv6, or Multiprotocol Label Switching (MPLS) protocol families—for example, 1492.

  1. Select one of the following protocol families:
    • For the IPv4 family, in the Inet box, select Yes and click Configure.
    • For the IPv6 family, in the Inet6 box, select Yes and click Configure.
    • For the MPLS family, in the Mpls box, select Yes and click Configure.
  2. In the Mtu box, type 1492.
  3. Click OK until you return to the Unit page.

Enter one of the following:

  • set family inet mtu 1492
  • set family inet6 mtu 1492
  • set family mpls mtu 1492

Configure the PPPoE logical interface address in one of the following ways:

Do one of the following:

  • Assign IPv4 or IPv6 source and destination addresses—for example:
    • 192.168.1.1/32 and 192.168.1.2 for IPv4
    • 2004:1/128 and 2004:2 for IPv6.
  • Derive the IPv4 source address from a specified interface—for example, the loopback interface, lo0.0—and assign a destination address—for example, 192.168.1.2. The specified interface must include a logical unit number and have a configured IP address.
  • Obtain an IP address by negotiation with the remote end. This method might require the access concentrator to use a RADIUS authentication server.

Select one of the following IP address configurations:

To assign the source and destination addresses:

  1. Next to Address, click Add new entry.
  2. In the Inet Source box, type 192.168.1.1/32, or in the Inet6 Source box, type 2004::1/128.
  3. In the Inet Destination box, type 192.168.1.2, or in the Inet6 Destination box, type 2004::2.
  4. Click OK until you return to the Unit page.

To derive the IPv4 source address and assign the destination address:

  1. Next to Inet, click Edit.
  2. Next to Unnumbered address, select the Yes check box and click Configure.
  3. In the Destination box, type 192.168.1.2.
  4. In the Source box, type lo0.0.
  5. Click OK until you return to the Unit page.

To obtain an IP address from the remote end:

  1. Next to Negotiate address, select the Yes check box.
  2. Click OK until you return to the Unit page.

Do one of the following:

  • To assign source and destination addresses enter one of the following sets of commands:
    • For IPv4 addresses, set family inet address 192.168.1.1/32 destination 192.168.1.2.
    • For IPv6 addresses, set family inet6 address 2004::1/128 destination 2004::2.
  • To derive the IPv4 source address and assign the destination address, enter set family inet unnumbered-address lo0.0 destination 192.168.1.2.
  • To obtain an IP address from the remote end, enter set family inet negotiate-address.

Disable the sending of keepalives on a logical interface.

  1. From the Keepalive choices list, select no keepalives.
  2. Click OK to apply your entries to the configuration.

Enter

set no-keepalives

To clear a PPPoE session on the pp0.0 interface, enter the clear pppoe sessions pp0.0 command. To clear all sessions on the PPPoE inteface, enter the clear pppoe sessions command.


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