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 Configuring a Dynamic Interface from a Profile in Configuring Dynamic Interfaces.