Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring a Static PPPoE Subscriber Interface on a Static Underlying VLAN Demux Interface over Aggregated Ethernet

This example shows how you can configure static PPPoE subscriber interfaces over aggregated Ethernet bundles to provide subscriber link redundancy.

Requirements

PPPoE over VLAN demux interfaces over aggregated Ethernet requires the following hardware and software:

  • MX Series 3D Universal Edge Routers
  • MPCs
  • Junos OS Release 11.2 or later

No special configuration beyond device initialization is required before you can configure this feature.

Overview

Aggregated Ethernet bundles enable link redundancy between the router and networking devices connected by Ethernet links. This example describes how to configure link redundancy for static PPPoE subscribers over aggregated Ethernet interface with an intermediate static VLAN demux interface. Sample tasks include configuring a two-member aggregated Ethernet bundle on ae0, configuring a static VLAN demux interface, demux0.100, that underlies the PPPoE subscriber interface, pp0.100, and configuring the PPPoE subscriber interface including characteristics of the PPPoE family.

This example does not show all possible configuration choices.

Configuration

CLI Quick Configuration

To quickly configure link redundancy for static PPPoE subscribers over a static VLAN demux interface over aggregated Ethernet, copy the following commands, paste them in a text file, remove any line breaks, and then copy and paste the commands into the CLI.

[edit]set chassis aggregated-devices ethernet device-count 1 set interfaces ge-5/0/3 gigether-options 802.3ad ae0set interfaces ge-5/0/3 gigether-options 802.3ad primaryset interfaces ge-5/1/2 gigether-options 802.3ad ae0set interfaces ge-5/1/2 gigether-options 802.3ad backupset interfaces ae0 flexible-vlan-taggingset interfaces ae0 aggregated-ether-options link-protectionedit interfaces demux0 unit 100set vlan-id 100set demux-options underlying-interface ae0set family pppoe access-concentrator pppoe-server-1set family pppoe duplicate-protectionset family pppoe max-sessions 16000topedit interfaces pp0 unit 100set pppoe-options underlying-interface demux0.100set pppoe-options serverset family inet unnumbered-address lo0.0top

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode.

To configure link redundancy for static PPPoE subscribers over a static VLAN demux interface over aggregated Ethernet:

  1. Define the number of aggregated Ethernet devices on the router.
    [edit chassis]user@host# set aggregated-devices ethernet device-count 1
  2. Configure a two-link aggregated Ethernet logical interface to serve as the underlying interface for the static VLAN demux subscriber interface. In this example, the LAG bundle is configured for one-to-one active/backup link redundancy. To support link redundancy at the MPC level, the LAG bundle attaches to ports from two different MPCs.
    [edit interfaces]user@host# set ge-5/0/3 gigether-options 802.3ad ae0user@host# set ge-5/0/3 gigether-options 802.3ad primaryuser@host# set ge-5/1/2 gigether-options 802.3ad ae0user@host# set ge-5/1/2 gigether-options 802.3ad backup
  3. Enable link protection on the aggregated Ethernet logical interface and configure support for single and dual (stacked) VLAN tags.
    [edit interfaces]user@host# set ae0 aggregated-ether-options link-protectionuser@host# set ae0 flexible-vlan-tagging
  4. Configure the VLAN demux interface over the aggregated Ethernet logical interface.
    [edit interfaces]user@host# set demux0 unit 100 vlan-id 100user@host# set demux0 unit 100 demux-options underlying-interface ae0
  5. Configure the PPPoE family attributes on the VLAN demux interface.
    [edit interfaces]user@host# set demxu0 unit 100 family pppoe access-concentrator pppoe-server-1user@host# set demux0 unit 100 family pppoe duplicate-protectionuser@host# set demux0 unit 100 family pppoe max-sessions 16000
  6. Configure the VLAN demux interface as the underlying interface on which the PPPoE logical interface is created.
    [edit interfaces]user@host# set pp0 unit 100 pppoe-options underlying-interface demux0.100user@host# set pp0 unit 100 pppoe-options serveruser@host# set pp0 unit 100 family inet unnumbered-address lo0.0

Results

From configuration mode, confirm the aggregated device configuration by entering the show chassis command. Confirm the interface configuration by entering the show interfaces command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

[edit]user@host# show chassis
aggregated-devices {ethernet {device-count 1;}}
[edit]user@host# show interfaces
ge-5/0/3 {gigether-options {802.3ad {ae0;primary;}}}ge-5/1/2 {gigether-options {802.3ad {ae0;backup;}}}ae0 {flexible-vlan-tagging;aggregated-ether-options {link-protection;}}demux0 {unit 100 {vlan-id 100;demux-options {underlying-interface ae0;}family pppoe {access-concentrator pppoe-server-1;duplicate-protection;max-sessions 16000;}}}pp0 {unit 100 {pppoe-options {underlying-interface demux0.100;server;}family inet {unnumbered-address lo0.0;}}}

If you are done configuring the device, enter commit from configuration mode.

Verification

To confirm that the configuration is working properly, perform these tasks:

Verifying the Aggregated Ethernet Interface Configuration

Purpose

Verify that the interface values match your configuration, the link is up, and traffic is flowing.

Action

From operational mode, enter the show interfaces redundancy command.

user@host> show interfaces redundancy
Interface  State            Last change  Primary      Secondary    Current status
ae0        On primary                    ge-5/0/3     ge-5/1/2     both up

From operational mode, enter the show interfaces ae0 command.

user@host> show interfaces ae0
Physical interface: ae0, Enabled, Physical link is Up
  Interface index: 128, SNMP ifIndex: 606
  Link-level type: Ethernet, MTU: 1522, Speed: 1Gbps, BPDU Error: None,
  MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
  Flow control: Disabled, Minimum links needed: 1, Minimum bandwidth needed: 0
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  Current address: 00:1f:12:b8:ef:c0, Hardware address: 00:1f:12:b8:ef:c0
  Last flapped   : 2011-03-11 13:24:18 PST (2d 03:34 ago)
  Input rate     : 1984 bps (2 pps)
  Output rate    : 0 bps (0 pps)

  Logical interface ae0.32767 (Index 69) (SNMP ifIndex 709)
    Flags: SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Statistics        Packets        pps         Bytes          bps
    Bundle:
        Input :        371259          2      46036116         1984
        Output:             0          0             0            0
    Protocol multiservice, MTU: Unlimited
      Flags: Is-Primary

Meaning

The show interfaces redundancy output shows the redundant link configuration and that both link interfaces are up. The show interfaces ae0 output shows that the aggregated Ethernet interface is up and that traffic is being received on the logical interface.

Verifying the demux0 Interface Configuration

Purpose

Verify that the VLAN demux interface displays the configured PPPoE family attributes and the member links in the aggregated Ethernet bundle.

Action

From operational mode, enter the show interfaces demux0 command.

user@host> show interfaces demux0.100
Logical interface demux0.100 (Index 76) (SNMP ifIndex 61160)
    Flags: SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.100 ]
    Encapsulation: ENET2
    Demux:
      Underlying interface: ae0 (Index 199)
    Link:
      ge-5/0/3
      ge-5/1/2
    Input packets : 2
    Output packets: 18575
    Protocol pppoe
      Dynamic Profile: none,
      Service Name Table: None,
      Max Sessions: 16000, Duplicate Protection: On, 
      AC Name: pppoe-server-1

Alternatively, you can enter show pppoe underlying-interfaces detail to display the state and PPPoE family configuration for all configured underlying interfaces.

Meaning

The output shows the name of the underlying interface, the member links of the aggregated bundle, and the PPPoE family configuration. The output shows packet counts when traffic is present on the logical interface.

Verifying the pp0 Interface Configuration

Purpose

Verify that the interface values match your configuration.

Action

From operational mode, enter the show interfaces pp0 command.

user@host> show interfaces pp0.100
  Logical interface pp0.100 (Index 71) (SNMP ifIndex 710)
    Flags: Point-To-Point SNMP-Traps 0x4000 Encapsulation: PPPoE
    PPPoE:
      State: SessionUp, Session ID: 1,
      Session AC name: pppoe-server-1, Remote MAC address: 00:90:1a:00:18:34,
      Underlying interface: demux0.100 (Index 70)
    Link:
      ge-5/0/3.32767
      ge-5/1/2.32767
    Input packets : 18572
    Output packets: 18572
  Keepalive settings: Interval 10 seconds, Up-count 1, Down-count 3
  Keepalive: Input: 0 (never), Output: 18566 (00:00:02 ago)
  LCP state: Opened
  NCP state: inet: Opened, inet6: Not-configured, iso: Not-configured, mpls:
  Not-configured
  CHAP state: Closed
  PAP state: Success
    Protocol inet, MTU: 1500
      Flags: Sendbcast-pkt-to-re
      Addresses, Flags: Is-Primary
        Local: 45.63.24.1

Meaning

This output shows information about the PPPoE logical interface created on the underlying VLAN demux interface. The output includes the PPPoE family and aggregated Ethernet redundant link information, and shows input and output traffic for the PPPoE interface.

Published: 2013-02-11