Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    dhcp-relay (EX Series Switches only)

    Syntax

    dhcp-relay {group group-name {interface interface-name {overrides {always-write-giaddr;always-write-option-82;client-discover-match <option60-and-option82>;interface-client-limit number;layer2-unicast-replies;no-arp;trust-option-82;}}exclude {overrides {...}trace;upto upto-interface-name;}overrides {...}relay-option {...}}
    server-group {server-group-name {server-ip-address;}}

    Hierarchy Level

    [edit forwarding-options],[edit routing-instances routing-instance-name forwarding-options]

    Release Information

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

    Description

    Configure extended DHCP relay options on the switch and enable the switch to function as a DHCP relay agent. A DHCP relay agent forwards DHCP request and reply packets between a DHCP client and a DHCP server.

    The extended DHCP relay agent options configured with the dhcp-relay statement are incompatible with the DHCP/BOOTP relay agent options configured with the bootp statement. As a result, the extended DHCP relay agent and the DHCP/BOOTP relay agent cannot both be enabled on the switch at the same time. See DHCP/BOOTP Relay for Switches Overview for more information about the DHCP/BOOTP 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.

    Modified: 2016-01-22