Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


equals (DHCP Relay Agent)


Hierarchy Level


Configure the exact match criteria used with the DHCP relay agent selective processing feature. DHCP relay agent compares the configured match string with the option-specific string received in DHCP client packets. If there is an exact left-to-right match, DHCP performs the action you define for the match criteria.

You can configure an unlimited number of match strings. Match strings do not support wildcard attributes.

The local-server-group option is not supported for DHCPv6 relay agent.



ASCII string of 1 through 255 alphanumeric characters.


Hexadecimal string of 1 through 255 hexadecimal characters (0 through 9, a through f, A through F).

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 12.3.

Statement updated in Junos OS Release 17.4.