Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

dhcpv6 (DHCP Relay Agent)

Syntax

dhcpv6 {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;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;}group group-name {active-server-group server-group-name;authentication {...}dynamic-profile 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 {...}relay-agent-interface-id {...}relay-option {...}route-suppression;service-profile dynamic-profile-name;}liveness-detection {...}overrides {allow-snooped-clients;interface-client-limit number;no-allow-snooped-clients;no-bind-on-request;send-release-on-delete;}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; relay-server-group relay-server-group;}equals (ascii ascii-string | hexadecimal hexadecimal-string) {drop;forward-only; relay-server-group relay-server-group;}starts-with (ascii ascii-string | hexadecimal hexadecimal-string) {drop;forward-only; relay-server-group relay-server-group;}}server-group {server-group-name {server-ip-address;}}route-suppression;service-profile dynamic-profile-name;}

Hierarchy Level

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

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

Description

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

The DHCPv6 relay agent server is fully compatible with the extended DHCP local server and DHCP relay agent. However, the options configured with the dhcpv6 statement are incompatible with the DHCP/BOOTP relay agent options configured with the bootp statement. As a result, the DHCPv6 relay agent and the DHCP/BOOTP relay agent cannot be enabled on the router or switch at the same time.

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