Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring a Base Profile for VLAN Subinterface

    This topic includes the following tasks:

    Setting an Advisory Receive Speed for VLAN Subinterfaces

    You can use the vlan advisory-rx-speed command to set an advisory receive speed for VLAN subinterfaces that are created with a VLAN base profile. This setting has no effect on data forwarding. You can use it to indicate the speed of the client interface. When traffic is tunneled with L2TP, the advisory receive speed is sent from the LAC to the LNS. See LAC Configuration Prerequisites for additional information about the advisory receive speed. The range is 0–2147483647 kbps; 0 indicates no advisory speed setting.

    To set an advisory receive speed for VLAN subinterfaces:

    • Issue the vlan advisory-rx-speed command in Profile Configuration mode.
    host1(config-profile)#vlan advisory-rx-speed 2000

    Use the no version to restore the default behavior—the Rx speed is not sent to the LNS.

    Setting an Advisory Connect Speed for VLAN Subinterfaces

    You can use the vlan advisory-tx-speed command to set an advisory connect speed for VLAN subinterfaces that are created with a VLAN base profile..

    This setting has no effect on data forwarding. You can use it to indicate the speed of the client interface. When traffic is tunneled with L2TP, the advisory receive speed is sent from the LAC to the LNS. See LAC Configuration Prerequisites for additional information about the advisory receive speed. The range is 0–2147483647 kbps; 0 indicates no advisory speed setting.

    To set an advisory connect speed for VLAN subinterfaces:

    • Issue the vlan advisory-tx-speed command in Profile Configuration mode.
    host1(config-profile)#vlan advisory-tx-speed 2000

    Use the no version to restore the default behavior—the Tx speed is not sent to the LNS.

    Specifying the Types of Dynamic Upper-Interface Encapsulations that are Accepted or Detected by a Dynamic VLAN Subinterface

    You can use the vlan auto-configure command to specify the types of dynamic upper-interface encapsulations that are accepted or detected by a dynamic VLAN subinterface. You can include this command in the base profile for a dynamic VLAN subinterface.

    You can use the lockout-time keyword to specify the minimum and maximum lockout time range for the encapsulation type. For more information, see Dynamic Encapsulation Type Lockout.

    To specify the types of dynamic upper-interface encapsulations that are accepted or detected by a dynamic VLAN subinterface:

    • Issue the vlan auto-configure command in Profile Configuration mode.
    host1(config-profile)#vlan auto-configure ip

    Use the no version to terminate detection of the specified encapsulation type.

    Creating a VLAN Subinterface that is Based on the Agent-Circuit-ID Information

    You can use the vlan auto-configure agent-circuit-identifier command to create a VLAN subinterface that is based on the agent-circuit-id information in the option 82 field of DHCP messages or in the DSL Forum VSA 26-1 of PPPoE PADR and PADI packets. You can include this command in the base profile for a dynamic VLAN subinterface.

    To create a VLAN subinterface:

    • Issue the vlan auto-configure agent-circuit-identifier command in Profile Configuration mode.
    host1(config-profile)#vlan auto-configure agent-circuit-identifier

    Use the no version to disable creation of VLAN subinterfaces based on agent-circuit-identifier information.

    Assigning Descriptions to VLAN Subinterfaces

    You can use the vlan description command to assign a description to VLAN subinterfaces that are created with a base profile. You can use a maximum of 64 characters for the description or to name the alias.

    To assign a description to VLAN subinterfaces:

    • Issue the vlan description command in Profile Configuration mode.
    host1(config-profile)#vlan description test1

    Use the no version to remove the VLAN description.

    Assigning a VLAN Policy List to a Profile

    You can use the vlan policy command to assign a VLAN policy list to a profile, which then assigns the policy to an interface.

    You can use the input or output keyword to assign the policy list to the ingress or egress of the interface. You can enable or disable the recording of routing statistics for bytes and packets affected by the policy.

    You can use the preserve keyword to save the existing statistics when you attach a policy to an interface that already has a policy attached. This keyword saves the statistics for any classifier-list that is the same for both the new and old policy attachments. Without the preserve keyword, all statistics are deleted when you attach the new policy.

    For example, when you replace a policy attachment that references the original policy-list plOne with a new attachment referencing policy-list plTwo, the existing statistics for the classifier group referencing clOne and the default classifier group are saved.

    Original Policy Attachment

    New Policy Attachment

    Comment

    ip policy-list plOne

    ip policy-list plTwo

    ip classifier-list clOne

    ip classifier-list clOne

    statistics from plOne are saved

    Forward

    Forward

    ip classifier-list clTwo

    ip classifier-list clFour

    Forward

    Forward

    ip classifier-list clThree

    ip classifier-list clFive

    Forward

    Forward

    classifier-list *

    classifier-list *

    statistics from plOne are saved

        Filter

        Filter

    To assign a VLAN policy list to a profile:

    • Issue the vlan policy command in Profile Configuration mode.
    host1(config-profile)#vlan policy input VlanPolicy33 statistics enabled preserve

    Use the no version to remove the policy reference from the profile.

    Adding a Nested Profile Assignment to a Base Profile for a Dynamic VLAN Subinterface

    You can use the vlan profile command to add a nested profile assignment to a base profile for a dynamic VLAN subinterface. A nested profile assignment references another profile that configures attributes for a dynamic upper-interface type over the VLAN subinterface.

    To add a nested profile assignment to a base profile for a dynamic VLAN subinterface:

    • Issue the vlan profile command in Profile Configuration mode.
    host1(config-profile)#vlan profile pppoe vlanProfilePppoe host1(config-profile)#vlan profile ip vlanProfileIP

    Use the no version to remove the profile assignment for the upper-interface encapsulation type.

    Specifying the Available Ethertypes to Create a Dynamic VLAN Subinterface

    You can use the svlan ethertype command to specify the available Ethertypes that a packet must use to create a dynamic VLAN subinterface.

    You can choose one of the following Ethertype values:

    • 8100—Specifies Ethertype value 0x8100, as defined in IEEE Standard 802.1q
    • 88a8—Specifies Ethertype value 0x88a8, as defined in draft IEEE Standard 802.1ad
    • 9100—Specifies Ethertype value 0x9100
    • autoconfig—Specifies that the packet can use any Ethertype to create a dynamic VLAN subinterface

    To specify the available Ethertypes that a packet must use to create a dynamic VLAN subinterface:

    • Issue the svlan ethertype command in Profile Configuration mode.
    host1(config-profile)#svlan ethertype 8100 host1(config-profile)#svlan ethertype autoconfig

    Use the no version to restore the default value, autoconfig.

    Specifying a Service Profile Name for a Dynamic VLAN

    You can use the vlan service-profile command to assign an IP service profile to a VLAN subinterface. Service profiles contain user and password information, and are used in route maps for subscriber management and to authenticate subscribers with RADIUS. You can specify a service profile name with up to 80 alphanumeric characters.

    To assign an IP service profile to a VLAN subinterface:

    • Issue the vlan service-profile command in Profile Configuration mode.
    host1(config-profile)#vlan service-profile ipprofile

    Use the no version removes the IP service profile from the VLAN subinterface.

    Published: 2014-08-14