Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

group (DHCP Relay Agent)

Syntax

group group-name {active-server-group server-group-name;authentication {password password-string;username-include {circuit-type;client-id;delimiter delimiter-character;domain-name domain-name-string;logical-system-name;mac-address;option-60;option-82 [circuit-id] [remote-id];relay-agent-interface-id;relay-agent-remote-id;relay-agent-subscriber-id;routing-instance-name;user-prefix user-prefix-string;}}dynamic-profile profile-name {aggregate-clients (merge | replace);use-primary primary-profile-name;}interface interface-name {exclude; liveness-detection {failure-action (clear-binding | clear-binding-if-interface-up | log-only);method {bfd {version (0 | 1 | automatic);minimum-interval milliseconds;minimum-receive-interval milliseconds;multiplier number;no-adaptation;transmit-interval {minimum-interval milliseconds;threshold milliseconds;}detection-time {threshold milliseconds;}session-mode(automatic | multihop | singlehop);holddown-interval milliseconds;}}}overrides {...}service-profile dynamic-profile-name;trace;upto upto-interface-name;}overrides {allow-snooped-clients;always-write-giaddr;always-write-option-82;client-discover-match <option60-and-option82>;disable-relay;interface-client-limit number;layer2-unicast-replies;no-allow-snooped-clients;no-bind-on-request;proxy-mode;replace-ip-source-with;send-release-on-delete;trust-option-82;}relay-agent-interface-id {prefix prefix;use-interface-description (logical | device);use-option-82;}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;}}relay-option-82 {circuit-id {prefix prefix;use-interface-description (logical | device);use-option-82;}}route-suppression;service-profile dynamic-profile-name;}

Hierarchy Level

[edit forwarding-options dhcp-relay],[edit forwarding-options dhcp-relay dhcpv6],[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 8.3.

Support at the [edit ... dhcpv6] hierarchy levels introduced in Junos OS Release 11.4.

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

Description

Specify the name of a group of interfaces that have a common DHCP or DHCPv6 relay agent configuration. A group must contain at least one interface. Use the statement at the [edit ... dhcpv6] hierarchy levels to configure DHCPv6 support.

Options

group-name—Name of a group of interfaces that have a common DHCP or DHCPv6 relay agent configuration.

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: 2014-04-23