forward-only (DHCP Relay Agent Option)
Syntax
forward-only;
Hierarchy Level
[edit forwarding-options dhcp-relay group group-name relay-option (default-action | equals | starts-with)],
[edit forwarding-options dhcp-relay dhcpv6 group group-name relay-option (default-action | equals | starts-with)],
[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
Forward specified DHCP client packets, without creating a new subscriber session, when you use DHCP relay selective processing feature. You can configure the forwarding operation globally or for a group of interfaces, and for either DHCP or DHCPv6 relay agent.
DHCP packets forwarded with the forward-only statement do not consider other configurations except for the trust-option-82 option. The DHCP relay agent ignores all other configured options.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.