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 and DHCP relay agent both support interface groups.
To configure an interface group:
- Access the [edit system services dhcp-local-server] hierarchy (for DHCP local server) or the [edit forwarding-options dhcp-relay] hierarchy (for DHCP relay agent), depending on the extended DHCP access method you want to configure. The following steps create a DHCP local server group; the steps are the same for DHCP relay agent.
- Create the group and assign a name.
- [edit system services dhcp-local-server]
- user@host# edit group boston
- 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.
- (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 fe-1/0/1.3 upto fe-1/0/1.9
- (Optional) You can use the exclude option to exclude a specific interface or a specified range of interfaces
from the group. For example:
