Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

relay-option (DHCP Relay Agent)

Syntax

relay-option {option-number option-number;default-action {drop;forward-only; local-server-group local-server-group;relay-server-group relay-server-group;}equals (ascii ascii-string | hexadecimal hexadecimal-string) {drop;forward-only; local-server-group local-server-group;relay-server-group relay-server-group;}starts-with (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],[edit forwarding-options dhcp-relay dhcpv6],[edit forwarding-options dhcp-relay group group-name],[edit forwarding-options dhcp-relay dhcpv6 group group-name],[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.

Statement introduced in Junos OS Release 12.3 for EX Series switches.

Description

Configure the extended DHCP relay agent selective processing that is based on DHCP options in DHCP client packets and specify the action to perform on client traffic. You can configure support globally or for a named group of interfaces, and for either DHCP or DHCPv6 relay agent.

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-07-05