Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Attaching Dynamic Profiles to DHCP Subscriber Interfaces or DHCP Client Interfaces

date_range 05-Dec-23

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:

  1. 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:

      content_copy zoom_out_map
      [edit system services dhcp-local-server]
      user@host# set dynamic-profile vod-profile-22
      
    • For DHCP relay agent:

      content_copy zoom_out_map
      [edit forwarding-options dhcp-relay]
      user@host# set dynamic-profile vod-profile-west
      
  2. (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:

      content_copy zoom_out_map
      [edit system services dhcp-local-server dynamic-profile]
      user@host# set aggregate-clients merge
      
    • To use the primary dynamic profile:

      content_copy zoom_out_map
      [edit forwarding-options dhcp-relay dynamic-profile]
      user@host# set use-primary subscriber_profile
      

Attaching a Dynamic Profile to a Group of DHCP Subscriber Interfaces or a Group of DHCP Client Interfaces

Before you begin:

To attach a dynamic profile to a group of interfaces:

  1. 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:

      content_copy zoom_out_map
      [edit system services dhcp-local-server]
      user@host# set group boston dynamic-profile vod-profile-42
      
    • For DHCP relay agent:

      content_copy zoom_out_map
      [edit forwarding-options dhcp-relay]
      user@host# set group quebec dynamic-profile vod-profile-east
      
  2. (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:

      content_copy zoom_out_map
      [edit system services dhcp-local-server dynamic-profile]
      user@host# set aggregate-clients merge
      
    • To use the primary dynamic profile:

      content_copy zoom_out_map
      [edit forwarding-options dhcp-relay dynamic-profile]
      user@host# set use-primary subscriber_profile
      
footer-navigation