Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Defining Agent Circuit Identifier Interface Sets

To configure the router to create dynamic VLAN subscriber interfaces for DHCP and PPPoE subscribers based on agent circuit identifier (ACI) information, you must create a dynamic ACI interface set. An ACI interface set is a logical collection of subscriber interfaces that originate at the same household or on the same access-loop port.

Because DHCP and PPPoE traffic sent to the router from the same household carries the same ACI value in DHCP and PPPoE control packets, the router groups these subscriber interfaces into a single ACI interface set. Grouping subscriber interfaces into ACI interface sets facilitates application of attributes for PPPoE, class of service (CoS), and interface-shared filters to all of the subscriber interfaces from the same household.

To configure an ACI interface set in a dynamic profile:

  1. Name the dynamic profile that defines the ACI interface set.
    [edit]user@host# edit dynamic-profiles profile-name
  2. Specify that you want to configure the interfaces for the dynamic profile.
    [edit dynamic-profiles profile-name]user@host# edit interfaces
  3. Configure the dynamic ACI interface set.
    [edit dynamic-profiles profile-name interfaces]user@host# edit interface-set $junos-interface-set-name

    You must use the $junos-interface-set-name predefined dynamic variable to represent the name of the ACI interface set. The $junos-interface-set-name variable is dynamically replaced with the actual ACI interface set name generated by the router when the first DHCP or PPPoE subscriber from that household logs in.

  4. Include the interfaces for the dynamic ACI interface set.
    [edit dynamic-profiles profile-name interfaces interface-set “$junos-interface-set-name”]user@host# set interface $junos-interface-ifd-name

    You must use the $junos-interface-ifd-name predefined dynamic variable to represent the name of the ACI interface set. The $junos-interface-ifd-name variable is dynamically replaced with the name of the interface on which the DHCP or PPPoE subscriber accesses the router.

    Note: The unit logical-unit-number statement is not required in the dynamic profile at the [edit dynamic-profiles profile-name interfaces interface-set interface-set-name interface interface-name] hierarchy level when you configure an ACI interface set.

  5. (Optional) For dynamic PPPoE subscriber interfaces, configure the maximum number of dynamic PPPoE sessions that the router can activate for the ACI interface set.
    [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

    Issuing the max-sessions statement in a dynamic profile for an ACI interface set limits the maximum number of dynamic PPPoE sessions at the ACI interface set level from the same household.

  6. (Optional) Apply attributes for CoS and interface filters to all subscriber interfaces belonging to the ACI interface set.

The following example shows the minimum dynamic profile required to define an ACI interface set named aci-vlan-set-profile. The interface-set stanza uses predefined dynamic variables to represent the interface set ($junos-interface-set-name) and the underlying physical interface ($junos-interface-ifd-name).

[edit dynamic-profiles aci-vlan-set-profile]
interfaces {interface-set "$junos-interface-set-name" {interface "$junos-interface-ifd-name";}}

The following example shows a more complex dynamic profile for an ACI interface set named aci-vlan-set-profile-pppoe-cos. In addition to the required interface-set stanza, this profile includes optional attributes for PPPoE (max-sessions statement) and CoS. The router applies these PPPoE and CoS attributes to all subscriber interfaces from the same household, which is represented by the ACI interface set.

[edit dynamic-profiles aci-vlan-set-profile-pppoe-cos]
variables {ds1q1q2DP uid;ef1_dp uid;}interfaces {interface-set "$junos-interface-set-name" {interface "$junos-interface-ifd-name";pppoe-underlying-options {max-sessions 3;}}}class-of-service {traffic-control-profiles {tcp2 {scheduler-map "$ds1q1q2DP";shaping-rate 50m;overhead-accounting bytes -20;guaranteed-rate 30m;}}interfaces {interface-set "$junos-interface-set-name" {output-traffic-control-profile tcp2;}}scheduler-maps {"$ds1q1q2DP" {forwarding-class ef scheduler "$ef1_dp";}}schedulers {"$ef1_dp" {transmit-rate percent 25;priority low;}}}

Published: 2013-02-11