Configuring Dynamic VLAN Subscriber Interfaces Based on Agent Circuit Identifier Information
After you define the dynamic agent circuit identifier (ACI) interface set and enable creation of ACI-based dynamic VLAN subscriber interfaces on the underlying VLAN interface, you must complete the configuration by associating the ACI interface set with the PPPoE or IP demultiplexing (IP demux) subscriber interface in the dynamic profile for the subscriber interface.
Before you begin:
Create a dynamic profile that defines the logical subscriber interface.
See the following topics:
To configure a dynamic VLAN subscriber interface based on ACI information:
In the dynamic profile for the PPPoE or IP demux subscriber interface, associate the dynamic ACI interface set with the dynamic VLAN subscriber interface name (
pp0
ordemux0
) and logical unit number.[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 aci-vlan-pppoe-profile associates the dynamic ACI 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 ACI interface set, and$junos-interface-unit
to represent the logical unit number of the subscriber interface.[edit dynamic-profiles aci-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 aci-vlan-demux-profile associates the dynamic ACI interface set (represented by
$junos-interface-set-name
) with thedemux0
(IP demux) logical subscriber interface.[edit dynamic-profiles aci-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 aci-vlan-pppoe-profile for an ACI-based dynamic
PPPoE (pp0
) subscriber interface for use by PPPoE subscribers.
[edit dynamic-profiles aci-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
aci-vlan-demux-profile for an ACI-based dynamic IP demux(demux0
) subscriber interface for use by DHCP subscribers.
[edit dynamic-profiles aci-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; } } } }