JUNOSe 11.0.x Link Layer Configuration Guide
You can override the base profile assignment for a VLAN or S-VLAN that exists with
a profile. For more information, see "Overriding Base Profile Assignments" on
page 616.
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.
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" on page 513 in "Configuring Dynamic
Interfaces" on page 465.
612
Configuring VLAN Dynamic Subinterfaces
auto-configure agent-circuit-identifier Enables the creation of VLAN subinterfaces
that are based on agent-circuit-identifier information. For information, see "vlan
auto-configure agent-circuit-identifier" on page 627.
description Assigns a description to VLAN subinterfaces that are created with
this profile. For information, see "vlan description" on page 628.
policy Assigns a policy to a VLAN. For information, see "vlan policy" on page 629.
profile Adds a nested profile assignment, which references another profile that
dynamically configures an upper-interface encapsulation type over the VLAN
subinterface. For information, see "vlan profile" on page 630.
service-profile Specifies a service profile name for a VLAN. For information,
see "vlan service-profile" on page 630.
svlan ethertype Specifies that the packet must use this Ethertype to create the
dynamic VLAN subinterface. For more information, see "svlan ethertype" on
page 625.
host1(config)#profile vlanBaseProfile
host1(config-profile)#vlan profile ip vlanProfileIp
host1(config-profile)#vlan profile pppoe vlanProfilePppoe