default-action (DHCP Relay Agent Option)
Syntax
default-action { 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 ...]
Description
Specify the action DHCP relay agent takes when the option string in client traffic does not satisfy any match criteria or when no match criteria are configured.
The default-action
statement is optional. If the
match criteria are not satisfied or not configured and no default-action
is specified, DHCP relay processes the traffic in the normal manner.
The local-server-group
option is not supported for
DHCPv6 relay agent.
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.