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:
Enable PPPoE on the interface.
[edit]user@host# set interfaces ge-0/0/1 unit 0 encapsulation ppp-over-etherCommit 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
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Understanding PPPoE Ethernet Interfaces
- Configuring PPPoE in the Junos Network Interfaces Configuration Guide
Hide Navigation Pane
Show Navigation Pane
Download
SHA1