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

    dhcp-relay (EX Series switches only)

    Syntax

    dhcp-relay {active-server-group server-group-name;group group-name {active-server-group server-group-name;interface interface-name {dynamic-profile profile-name {aggregate-clients (merge | replace);use-primary primary-profile-name;}exclude;overrides {...}service-profile dynamic-profile-name;trace;upto upto-interface-name;}overrides {...}relay-option-60 {...}service-profile dynamic-profile-name;}overrides {always-write-giaddr;interface-client-limit number;layer2-unicast-replies;no-arp;}relay-option-60 {vendor-option {(equals | starts-with) (ascii match-string | hexadecimal match-hex) {default-local-server-group local-server-group-name |(default-relay-server-group server-group-name |drop);}default-local-server-group local-server-group-name |(default-relay-server-group server-group-name |drop);}}server-group {server-group-name {server-ip-address;}}service-profile dynamic-profile-name;}

    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 EX Series 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.

    Published: 2012-06-19