Related Documentation
Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces
This topic describes how to attach a dynamic profile to a DHCP subscriber interface or a DHCP client interface. When a DHCP subscriber or DHCP client 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 or All DHCP Client Interfaces
To attach a dynamic profile to all DHCP subscriber or all DHCP client 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:
- (Routers only) 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 aggregate-clients option does not apply to demux subscriber interfaces. The two options are mutually exclusive.
- To enable multiple subscribers to share the same VLAN
logical interface: [edit system services dhcp-local-server dynamic-profile]user@host# set aggregate-clients merge
- To use the primary dynamic profile:[edit forwarding-options dhcp-relay dynamic-profile]user@host# set use-primary subscriber_profile
- To enable multiple subscribers to share the same VLAN
logical interface:
Attaching a Dynamic Profile to a Group of DHCP Subscriber Interfaces or a Group of DHCP Client Interfaces
Before you begin:
- Configure the interface group.
To attach a dynamic profile to a group of interfaces:
- 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:
- (Routers only) 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 aggregate-clients option does not apply to demux subscriber interfaces. The two options are mutually exclusive.
- To enable multiple subscribers to share the same VLAN
logical interface: [edit system services dhcp-local-server dynamic-profile]user@host# set aggregate-clients merge
- To use the primary dynamic profile:[edit forwarding-options dhcp-relay dynamic-profile]user@host# set use-primary subscriber_profile
- To enable multiple subscribers to share the same VLAN
logical interface: