Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

    VLAN Base Profile Overview

    To configure a dynamic VLAN subinterface over a static VLAN major interface, you must create a base profile. The base profile includes one or more of the following attributes for the VLAN subinterface:

    You can override the base profile assignment for a VLAN or S-VLAN that exists with a profile. For more information, see Overriding VLAN Base Profile Assignments Overview.

    This topic describes the following:

    VLAN Nested Profile Assignments

    The configuration for each dynamic upper-interface encapsulation type might differ, depending on the column type built by the router. To manage these differences, you can include one or more nested profile assignments within the VLAN base profile. A nested profile assignment references another profile that configures attributes for a dynamic upper-interface encapsulation type. You can create different profiles for each upper-interface encapsulation type, or you can create a single profile that includes attributes for multiple encapsulation types.

    For example, the following commands create a base profile named vlanBaseProfile with two nested profile assignments. The first nested profile assignment references an IP profile named vlanProfileIp, and the second nested profile assignment references a PPPoE profile named vlanProfilePppoe.

    host1(config)#profile vlanBaseProfile host1(config-profile)#vlan profile ip vlanProfileIp host1(config-profile)#vlan profile pppoe vlanProfilePppoe

    In this example, vlanProfileIp and vlanProfilePppoe have different IP configurations depending on the dynamic interface column constructed. For an IP over VLAN dynamic interface column, the router uses the IP attributes in vlanProfileIp. For an IP over PPPoE dynamic interface column, the router uses the IP attributes in vlanProfilePppoe.

    For information about creating profiles for upper-interface encapsulation types, see Dynamic Interface Configuration Using a Profile.

    VLAN Additional Profile Characteristics for Upper Interfaces

    In addition to VLAN attributes and nested profile assignments, the base profile for a dynamic VLAN subinterface can also include individual characteristics for several upper-interface encapsulation types, provided that no nested profile assignment for the specified encapsulation type is in the base profile. If, on the other hand, a nested profile assignment for this encapsulation type exists in the base profile, the router obtains all characteristics for that encapsulation type from the nested profile and not from the base profile.

    For lists of the characteristics for each supported upper-interface encapsulation type, see Profile Characteristics.

    Published: 2014-08-14