Example: Minimum DHCP Relay Agent Configuration
This example shows the minimum configuration you need to use the extended DHCP relay agent on the router:
- [edit forwarding-options]
- dhcp-relay {
-
- server-group {
- test 10.0.2.1;
- }
- active-server-group test;
-
- group all {
- interface fe-0/0/2.0;
- }
- }
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.
