Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Minimum DHCP Relay Agent Configuration

This example shows the minimum configuration you need to use the extended DHCP relay agent on the router or switch:

[edit forwarding-options]
dhcp-relay {server-group {test 10.0.2.1;}active-server-group test;group all {interface fe-0/0/2.0;}}

Note: The interface type in this topic is just an example. The fe- interface type is not supported by EX Series switches.

This example creates a server group and an active server group named test with IP address 10.0.2.1. The DHCP relay agent configuration is applied to a group named all. Within this group, the DHCP relay agent is enabled on interface fe-0/0/2.0.

Published: 2014-04-23

Supported Platforms

Published: 2014-04-23