Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


dhcp-relay (DHCP Spoofing Prevention)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.4 (MX Series routers only).


Configure Dynamic Host Configuration Protocol (DHCP) snooping on the router. When acting as a snooping agent, the  MX Series router typically is located between the client and the DHCP relay agent. It creates filters by “snooping” DHCP messages and binding DHCP-issued IP addresses to the MAC address of the client. These filters help prevent DHCP spoofing.

Configure DHCP snooping by including the appropriate interfaces in the DHCP relay configuration.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.