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

    option-number (DHCP Relay Agent Option)

    Syntax

    option-number option-number;

    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 ...]

    Release Information

    Statement introduced in Junos OS Release 12.3.

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

    Description

    Specify the DHCP option DHCP relay agent uses for selective processing of client traffic. You can configure support globally or for a named group of interfaces. You can also configure support for the extended DHCP relay agent on a per logical system and per routing instance basis.

    Use the [edit forwarding-options dhcp-relay dhcpv6] hierarchy level to configure the DHCPv6 relay agent support.

    Options

    option-number—The DHCP or DHCPv6 option in the incoming traffic.

    • 15 (DHCPv6 only)—Use DHCPv6 option 15 (User Class Option) in packets
    • 16 (DHCPv6 only)—Use DHCPv6 option 16 (Vendor Class Option) in packets
    • 60 (DHCPv4 only)—(MX Series routers and EX Series switches only) Use DHCP option 60 (Vendor Class Identifier) in DHCP packets
    • 77 (DHCPv4 only)—Use DHCP option 77 (User Class Identifier) in packets

    Required Privilege Level

    interface—To view this statement in the configuration.

    interface-control—To add this statement to the configuration.

    Published: 2013-07-05