To configure a dynamic VLAN subinterface:
These profiles are referenced in the base profile for the dynamic VLAN subinterface as nested profile assignments. For detailed instructions on creating profiles, see Configuring a Dynamic Interface from a Profile in Configuring Dynamic Interfaces.
- host1(config)#profile myIpProfile
- host1(config-profile)#ip inactivity-timer
200
- host1(config-profile)#ip auto-configure ip-subscriber
include-primary
- host1(config)#profile vlanBaseProfile
This command accesses Profile Configuration mode, which enables you to configure attributes in the base profile.
- host1(config-profile)#vlan auto-configure
pppoe
- host1(config-profile)#vlan auto-configure
ip
- host1(config-profile)#svlan ethertype 8100
For example, the following command configures nested profile assignments for the IP upper-interface encapsulation types.
- host1(config-profile)#vlan profile ip myIpProfile
- host1(config)#interface gigabitEthernet 5/0
- host1(config-if)#encapsulation vlan
![]() |
Note: For information about the maximum number of VLAN bulk configurations supported per chassis, see JUNOSe Release Notes, Appendix A, System Maximums. |
For example, the following command creates a VLAN range named myBulkConfig made up of two VLAN subranges.
- host1(config-if)#vlan bulk-config myBulkConfig
vlan-range 0 100
vlan-range
110 200
- host1(config-if)#profile vlan bulk-config
myBulkConfig vlanBaseProfile
- host1(config-if)#auto-configure vlan