Attaching Dynamic Profiles to DHCP Subscriber Interfaces
This topic describes how to attach a dynamic profile to a DHCP subscriber interface. When a DHCP subscriber logs in, the specified dynamic profile is instantiated and the services defined in the profile are applied to the interface.
This topic contains the following sections:
Attaching a Dynamic Profile to All DHCP Subscriber Interfaces
To attach a dynamic profile to all DHCP subscriber interfaces:
- At the DHCP configuration hierarchy, use the dynamic-profile statement to specify the name of the dynamic
profile to attach to all interfaces.
- For DHCP local server:
- [edit system services dhcp-local-server]
- user@host# set dynamic-profile vod-profile-22
- For DHCP relay agent:
- [edit forwarding-options dhcp-relay]
- user@host# set dynamic-profile vod-profile-west
- For DHCP local server:
- Optionally, you can configure the attribute
to use when attaching the specified profile.
You can include either the aggregate-clients option to enable multiple DHCP subscribers to share the same VLAN logical interface, or the use-primary option to specify that the primary dynamic profile is used. The two options are mutually exclusive.
- To enable multiple subscribers to share the same VLAN logical interface:
- To use the primary dynamic profile:
Attaching a Dynamic Profile to a Group of DHCP Subscriber Interfaces
To attach a dynamic profile to a group of interfaces:
Before you begin:
- Configure the interface group.
- At the DHCP configuration
hierarchy, specify the name of the interface group and the dynamic
profile to attach to the group.
- For DHCP local server:
- [edit system services dhcp-local-server]
- user@host# set group boston dynamic-profile vod-profile-42
- For DHCP relay agent:
- [edit forwarding-options dhcp-relay]
- user@host# set group quebec dynamic-profile vod-profile-east
- For DHCP local server:
- Optionally, you can configure the attribute
to use when attaching the specified profile.
You can include either the aggregate-clients option to enable multiple DHCP subscribers to share the same VLAN logical interface, or the use-primary option to specify that the primary dynamic profile is used. The two options are mutually exclusive.
- To enable multiple subscribers to share the same VLAN logical interface:
- To use the primary dynamic profile:

