Example: Configuring PPPoE Encapsulation on an Ethernet Interface

In this example, you configure encapsulation on a logical interface.

Requirements

Before you begin, configure an Ethernet interface. See Example: Creating an Ethernet Interface.

Overview

In this example, you configure PPPoE on the ge-0/0/1 interface.

Configuration

Step-by-Step Procedure

To configure PPPoE:

  1. Enable PPPoE on the interface.

    [edit]user@host# set interfaces ge-0/0/1 unit 0 encapsulation ppp-over-ether
  2. Commit the configuration if you are done configuring the device.

    [edit]user@host# commit

Verification

To confirm that the configuration is working properly, perform this task:

Verifying a PPPoE Configuration for an Ethernet Interface

Purpose

Verify the PPPoE configuration for an Ethernet interface.

Action

Enter the show interfaces command.

[edit]user@host# show interfacesge-3/0/0 {unit 1 {}}pp0 {unit 1 {pppoe-options {underlying-interface ge-3/0/0.0;idle-timeout 123;access-concentrator myac;service-name myserv;auto-reconnect 10;client;}family inet {address 22.2.2.1/32 {destination 22.2.2.2;}}family inet6 {address 3004::1/128 {destination 3004::2;}}}}

Meaning

Verify that the output shows the intended configuration of PPPoE.

Related Topics