Configuring Dynamic VLAN Subinterfaces Based on Agent Circuit Identifier Information

The procedure you use to configure a dynamic VLAN subinterface that is based on agent-circuit-identification information is similar to the procedure described in Configuring Dynamic VLAN Subinterfaces.

Note: S-VLAN Ethertype is not supported for ACI-based subscribers because the S-VLAN tag is not present in received frames from subscribers to validate the Ethertype value.

For ACI-based subscribers, the frames that the router receivers contain only the single-tagged VLAN ID and the ACI value is derived either from DHCP options or from PPPoE. In the interface controller (IC) on the router, the Ethernet application does not update the S-VLAN Ethertype value as a measure of bits of VLAN. As a result, the IC sends an exception for the received frame to the system controller (SC). The frame is not processed and is discarded because the Ethertype value of the frame does not match with the S-VLAN Ethertype of 0x8100 in the profile for ACI-based subscribers. This behavior is expected for ACI-based subscribers for which the configuration of S-VLAN Ethertype in dynamic profiles is not valid.

  1. Configure profiles containing characteristics for the dynamic upper-interface encapsulation types to be created over the dynamic VLAN subinterface.
  2. (Optional) If you want to create a nested profile assignment, create the profile for an upper-interface encapsulation type, and include additional profile characteristics for other encapsulation types as needed.
  3. Create the base profile for the dynamic VLAN subinterface and enter Profile Configuration mode by assigning the profile a name. For more information, see Creating a Base Profile to Configure Attributes for a Dynamic VLAN Subinterface.
    host1(config)#profile vlanMyBaseProfile
  4. Define attributes for the VLAN subinterface in the base profile. For more information, see Configuring a Base Profile for VLAN Subinterface.
    1. Enable autoconfiguration for the PPPoE upper-interface encapsulation type.
      host1(config-profile)#vlan auto-configure pppoe
    2. Enable autoconfiguration for the IP upper-interface encapsulation type.
      host1(config-profile)#vlan auto-configure ip
    3. Enable autoconfiguration of VLANs that are based on agent-circuit-identifier information.
      host1(config-profile)#vlan auto-configure agent-circuit-identifier host1(config-profile)#exithost1(config)#
    4. (Optional) Create nested profile assignments for the upper-interface encapsulation types.
  5. Configure the VLAN major interface. For more information, see Configuring VLAN as the Encapsulation Method for the Interface.
    host1(config)#interface gigabitEthernet 5/0 host1(config-if)#encapsulation vlan
  6. On the VLAN major interface, configure a VLAN range that is based on agent-circuit-identifier information, and assign a name to this range. For more information, see Creating a Bulk-Configured VLAN Range on a Static VLAN Major Interface
    host1(config-if)#vlan bulk-config myNewBulkConfig svlan-range 50 100 agent-circuit-identifier
  7. Assign the base profile configured for the VLAN subinterface to the VLAN range configured on the major VLAN interface. For more information, see Assigning the Base Profile Configured for a Dynamic VLAN Subinterface to the Single-Tagged VLAN IDs or Double-Tagged S-VLAN IDs.
    host1(config-if)#profile vlan bulk-config myNewBulkConfig vlanMyBaseProfile
  8. Configure the VLAN major interface to support autodetection of the VLAN dynamic encapsulation type. For more information, see Configuring the Static VLAN Major Interface to Support Autodetection of a VLAN Dynamic Interface Type.
    host1(config-if)#auto-configure vlan

Related Documentation