To configure the router to create dynamic VLAN subscriber
interfaces for DHCP and PPPoE subscribers based on an access-line
identifier (ALI), you must create a dynamic ALI interface set.
To configure an ALI interface set in a dynamic profile:
- Access the dynamic profile that defines the ALI interface
set.
[edit]
user@host# edit dynamic-profiles profile-name
- Configure the dynamic ALI interface set.
[edit dynamic-profiles profile-name]
user@host# edit interfaces interface-set $junos-interface-set-name
Use the predefined variable $junos-interface-set-name
to represent the name of the ALI interface set. It is replaced with
the actual ALI interface set name generated by the router when the
first subscriber from that household logs in.
- Include the underlying interfaces for the dynamic ALI
interface set.
[edit dynamic-profiles profile-name interfaces interface-set “$junos-interface-set-name”]
user@host# set interface $junos-interface-ifd-name
Use the predefined variable $junos-interface-ifd-name
to represent the name of the interface. The variable is replaced
with the name of the interface on which the subscriber accesses the
BNG.
The unit
statement is not required in the dynamic
profile when you configure an ALI interface set.
- (Optional) For dynamic PPPoE subscriber interfaces, configure
the maximum number of dynamic PPPoE sessions that the router can activate
for the ALI interface set; that is, for the same household.
[edit dynamic-profiles profile-name interfaces interface-set “$junos-interface-set-name”]
user@host# edit pppoe-underlying-options
[edit dynamic-profiles profile-name interfaces interface-set “$junos-interface-set-name” pppoe-underlying-options]
user@host# set max-sessions number
- (Optional) Apply attributes for CoS and interface filters
to all subscriber interfaces belonging to the ALI interface set.
The following example shows the minimum dynamic profile required
to define an ALI interface set named ali-vlan-set-profile
. It uses predefined variables to represent the interface set and
the underlying physical interface.
[edit dynamic-profiles ali-vlan-set-profile]
interfaces {
interface-set "$junos-interface-set-name" {
interface "$junos-interface-ifd-name";
}
}