relay-option (DHCP Relay Agent)
Syntax
Hierarchy Level
Release Information
Description
Required Privilege
Level
Related
Documentation
Copyright © 2017, Juniper Networks, Inc.
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;
}
}
[edit forwarding-options dhcp-relay],
[edit forwarding-options
dhcp-relay
[edit forwarding-options dhcp-relay
[edit forwarding-options dhcp-relay dhcpv6
[edit logical-systems logical-system-name forwarding-options
[edit logical-systems logical-system-name routing-instances routing-instance-name
forwarding-options
dhcp-relay
[edit routing-instances routing-instance-name forwarding-options
Statement introduced in Junos OS Release 12.3.
Statement introduced in Junos OS Release 12.3 for EX Series switches.
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. See
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Using DHCP Option Information to Selectively Process DHCP Client Traffic
Chapter 12: Configuration Statements (DHCP and DHCP Relay)
dhcpv6],
group
group-name],
group
group-name],
...],
CLI Explorer
dhcp-relay
...],
dhcp-relay
...]
.
273