Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Grouping Interfaces with Common DHCP Configurations

    You use the group feature to group together a set of interfaces and then apply a common DHCP configuration to the named interface group. The extended DHCP local server supports interface groups.

    The following steps create a DHCP local server group.

    To configure a DHCP local server interface group:

    1. Specify that you want to configure a DHCP local server.
      [edit system services]
      user@host# edit dhcp-local-server
    2. Create the group and assign a name.
      [edit system services dhcp-local-server]
      user@host# edit group boston

    3. Specify the names of one or more interfaces on which the extended DHCP application is enabled. You can repeat the interface interface-name statement to specify multiple interfaces within the group, but you cannot use the same interface in more than one group.
      [edit system services dhcp-local-server group boston]
      user@host# set interface ge-1/0/1.1
      user@host# set interface ge-1/0/1.2
    4. (Optional) You can use the upto option to specify a range of interfaces for a group.
      [edit system services dhcp-local-server group boston]
      user@host# set interface ge-1/0/1.3 upto ge-1/0/1.9
    5. (Optional) You can use the exclude option to exclude a specific interface or a specified range of interfaces from the group. For example:
      [edit system services dhcp-local-server group boston]
      user@host# set interface ge-1/0/1.1 upto ge-1/0/1.102
      user@host# set interface ge-1/0/1.6 exclude
      user@host# set interface ge-1/0/1.70 upto ge-1/0/1.80 exclude

    Modified: 2017-09-13