Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

  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:
      [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
  2. 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

Attaching a Dynamic Profile to a Group of DHCP Subscriber 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:
      [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
  2. 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

Published: 2013-02-11