group (DHCP Relay Agent)
構文
group group-name { access-profile profile-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; interface-description (device-interface | logical-interface); interface-name interface-name; logical-system-name; mac-address mac-address; relay-agent-interface-id; relay-agent-remote-id; relay-agent-subscriber-id; routing-instance-name; user-prefix user-prefix-string; vlan-tags; } } dynamic-profile profile-name { aggregate-clients (merge | replace); use-primary primary-profile-name; } forward-only { logical-system <current | default | logical-system-name>; routing-instance <current | default | routing-instance-name>; } interface interface-name { access-profile profile-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 { allow-no-end-option; allow-snooped-clients; always-write-giaddr; always-write-option-82; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82 | incoming-interface>; client-negotiation-match incoming-interface; delay-authentication; delete-binding-on-renegotiation; disable-relay; dual-stack dual-stack-group-name; interface-client-limit number; layer2-unicast-replies; no-allow-snooped-clients; no-bind-on-request; proxy-mode; relay-source replace-ip-source-with; send-release-on-delete; trust-option-82; } service-profile dynamic-profile-name; short-cycle-protection <lockout-min-time seconds> <lockout-max-time seconds>; trace; upto upto-interface-name; } interface-tag (DHCP Relay Server) 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; } layer2-liveness-detection { max-consecutive-retries number; transmit-interval interval; } } } overrides { allow-snooped-clients; always-write-giaddr; always-write-option-82; asymmetric-lease-time seconds; asymmetric-prefix-lease-time seconds; client-discover-match <option60-and-option82>; client-negotiation-match incoming-interface; disable-relay; dual-stack dual-stack-group-name; interface-client-limit number; layer2-unicast-replies; no-allow-snooped-clients; no-bind-on-request; proxy-mode; relay-source replace-ip-source-with; send-release-on-delete; trust-option-82; } relay-agent-interface-id { include-irb-and-l2; keep-incoming-interface-id ; no-vlan-interface-name; prefix prefix; use-interface-description (logical | device); use-option-82 <strict>; use-vlan-id; } relay-agent-remote-id { include-irb-and-l2; keep-incoming-remote-id ; no-vlan-interface-name; prefix prefix; use-interface-description (logical | device); use-option-82 <strict>; use-vlan-id; } 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; } remote-id { prefix prefix; use-interface-description (logical | device); } server-id-override } remote-id-mismatch disconnect; route-suppression; service-profile dynamic-profile-name; short-cycle-protection <lockout-min-time seconds> <lockout-max-time seconds>; }
階層レベル
[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 ...]
説明
共通のDHCPまたはDHCPv6リレーエージェント構成を持つインターフェイスグループの名前を指定します。グループには、少なくとも 1 つのインターフェイスが含まれている必要があります。階層レベルで [edit ... dhcpv6]
ステートメントを使用して、DHCPv6サポートを設定します。
オプション
group-name |
共通の DHCP または DHCPv6 リレー エージェント構成を持つインターフェイス グループの名前。 |
残りのステートメントについては、個別に説明します。 詳細については、CLI エクスプローラー でステートメントを検索するか、「構文」セクションでリンクされたステートメントをクリックしてください。
必要な権限レベル
interface—設定でこのステートメントを表示します。
interface-control—設定にこのステートメントを追加します。
リリース情報
Junos OSリリース8.3で導入されたステートメント。
[edit ... dhcpv6]
Junos OSリリース11.4で導入された階層レベルでのサポート。
interface-tag
Junos OSリリース23.2R1で導入されたオプション