Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

equals (DHCP Relay Agent Option)

Syntax

equals (ascii ascii-string | hexadecimal hexadecimal-string) {drop;forward-only;local-server-group local-server-group;relay-server-group relay-server-group;}

Hierarchy Level

[edit forwarding-options dhcp-relay relay-option],[edit forwarding-options dhcp-relay dhcpv6 relay-option],[edit forwarding-options dhcp-relay group group-name relay-option],[edit forwarding-options dhcp-relay dhcpv6 group group-name relay-option],[edit logical-systems logical-system-name forwarding-options dhcp-relay ...],[edit logical-systems logical-system-name routing-instances routing-instance-name forwarding-options dhcp-relay ...],[edit routing-instances routing-instance-name forwarding-options dhcp-relay ...]

Release Information

Statement introduced in Junos OS Release 12.3.

Description

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.

Options

ascii-string

ASCII string of 1 through 255 alphanumeric characters.

hexadecimal-string

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

The remaining statements are explained separately.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2013-02-11

Supported Platforms

Published: 2013-02-11