In this release, you can use dynamic profiles to configure statically created logical interfaces. Dynamic profiles enable you to dynamically apply configured values (including CoS, IGMP, or filter configuration) to the static interfaces, making them easier to manage.
To configure static interfaces, you must first configure the interfaces on the router to which you expect subscribers to connect.
The subscriber access feature supports the following statically-created interface types in dynamic profiles:
This topic contains the following sections:
This topic describes how to configure a subscriber interface with a static VLAN interface.
After you configure the static VLAN interface, you can reference it in a dynamic profile.
To configure a subscriber interface over a VLAN:
- [edit interfaces]
-
- ge-5/0/0 {
- vlan-tagging;
- }
- unit 1 {
- proxy-arp;
- vlan-id 1;
-
- family inet {
- unnumbered-address lo0.0 preferred-source-address 192.1.1.1;
- }
- }
- unit 2 {
- proxy-arp;
- vlan-id 2;
-
- family inet {
- unnumbered-address lo0.0 preferred-source-address 192.1.1.1;
- }
- }
When configuring the interfaces stanza within a dynamic profile, you use variables to specify the interface name and the logical unit value. When a DHCP subscriber sends a DHCP request to the interface, the dynamic profile replaces the interface-name and unit variables with the actual interface name and logical unit number of the interface that received the DHCP request.
![]() |
Note: Configuration of the interface-name and unit statements within the interfaces stanza is required for a dynamic profile to function. |
To configure the dynamic profile interfaces stanza with interface-name and unit variables:
- user@host# edit dynamic-profiles basic-profile
- [edit dynamic-profiles basic-profile]
- user@host# set interfaces $junos-interface-ifd-name
- [edit dynamic-profiles basic-profile]
- user@host# set unit $junos-underlying-interface-unit