Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Dynamic VLAN Subscriber Interfaces Based on Access-Line Identifiers

date_range 06-Dec-23

After you define the dynamic access-line-identifier (ALI) interface set and enable creation of ALI-based dynamic VLAN subscriber interfaces on the underlying VLAN interface, you must complete the configuration by associating the ALI interface set with the PPPoE or IP demultiplexing (IP demux) subscriber interface in the dynamic profile for the subscriber interface.

Before you begin:

To configure a dynamic VLAN subscriber interface based on the ALI:

  • In the dynamic profile for the PPPoE or IP demux subscriber interface, associate the dynamic ALI interface set with the dynamic VLAN subscriber interface name (pp0 or demux0) and logical unit number.

    content_copy zoom_out_map
    [edit dynamic-profiles profile-name]
    user@host# set interfaces interface-set $junos-interface-set-name interface interface-name unit $junos-interface-unit
    

    For example, the following statement in a dynamic profile named ali-vlan-pppoe-profile associates the dynamic ALI interface set with the dynamic pp0 (PPPoE) logical subscriber interface. You must use the predefined dynamic variable $junos-interface-set-name to represent the name of the dynamic ALI interface set, and $junos-interface-unit to represent the logical unit number of the subscriber interface.

    content_copy zoom_out_map
    [edit dynamic-profiles ali-vlan-pppoe-profile]
    user@host# set interfaces interface-set $junos-interface-set-name interface pp0 unit $junos-interface-unit
    

    Similarly, the following statement in a dynamic profile named ali-vlan-demux-profile associates the dynamic ALI interface set (represented by $junos-interface-set-name) with the demux0 (IP demux) logical subscriber interface.

    content_copy zoom_out_map
    [edit dynamic-profiles ali-vlan-demux-profile]
    user@host# set interfaces interface-set $junos-interface-set-name interface demux0 unit $junos-interface-unit
    

The following examples show the dynamic configurations that use each of these statements. The following sample configuration shows a dynamic profile named ali-vlan-pppoe-profile for an ALI-based dynamic PPPoE (pp0) subscriber interface for use by PPPoE subscribers.

content_copy zoom_out_map
[edit dynamic-profiles ali-vlan-pppoe-profile]
interfaces {
    interface-set "$junos-interface-set-name" {
        interface pp0 {
            unit "$junos-interface-unit";
        }
    }
    pp0 {
        unit "$junos-interface-unit" {
            ppp-options {
                chap;
                pap;
            }
            pppoe-options {
                underlying-interface "$junos-underlying-interface";
                server;
            }
            no-keepalives;
            family inet {
                unnumbered-address lo0.0;
            }
        }
    }
}

The following sample configuration shows a dynamic profile named ali-vlan-demux-profile for an ALI-based dynamic IP demux (demux0) subscriber interface for use by DHCP subscribers.

content_copy zoom_out_map
[edit dynamic-profiles ali-vlan-demux-profile]
interfaces {
    interface-set "$junos-interface-set-name" {
        interface demux0 {
            unit "$junos-interface-unit";
        }
    }
    demux0 {
        unit "$junos-interface-unit" {
            demux-options {
                underlying-interface "$junos-underlying-interface";
            }
            family inet {
                demux-source {
                    $junos-subscriber-ip-address;
                }
                unnumbered-address lo0.0 preferred-source-address  198.51.100.202;
            }
        }
    }
}
footer-navigation