show dhcpv6 relay binding
構文
show dhcpv6 relay binding
<address>
<brief>
<detail>
<interface interface-name>
<interfaces-vlan>
<interfaces-wildcard>
<logical-system logical-system-name>
<routing-instance routing-instance-name>
<summary>
説明
DHCP(動的ホスト構成プロトコル)クライアントテーブル内のDHCPv6アドレスバインディングを表示します。
オプション
address | (オプション)バインディング状態を表示する DHCPv6 クライアントの以下の識別子のいずれか 1 つ:
|
brief | (オプション)アクティブなクライアント バインディングに関する簡単な情報を表示します。これはデフォルトで、 と同じ出力 |
detail | (オプション)詳細なクライアント バインディング情報を表示します。 |
interface interface-name | (オプション)指定されたインターフェイスでこの操作を実行します。オプションで、VLAN ID と S-VLAN ID でフィルター処理できます。 |
interfaces-vlan | (オプション)バインディング状態情報を表示するインターフェイスVLAN IDまたはS-VLAN IDインターフェイス。 |
interfaces-wildcard | (オプション)バインディング状態情報を表示するインターフェイスのセット。このオプションは、ワイルドカード文字(*)の使用をサポートしています。 |
logical-system logical-system-name | (オプション)指定された論理システムでこの操作を実行します。 |
routing-instance routing-instance-name | (オプション)指定されたルーティング インスタンスでこの操作を実行します。 |
summary | (オプション)DHCPv6 クライアント情報の概要を表示します。 |
必要な権限レベル
ビュー
出力フィールド
表 1 は、 コマンドの出力フィールドを show dhcpv6 relay binding
示しています。出力フィールドは、概して表示される順序で一覧表示されます。
フィールド名 |
フィールドの説明 |
出力レベル |
---|---|---|
|
各状態におけるDHCPv6クライアントの総数とDHCPv6クライアントの数の概要カウント。 |
|
|
DHCPv6 クライアントのプレフィックス。 |
|
|
除外された DHCP クライアントの IPv6 プレフィックス。 |
|
|
クライアントの IPv6 一意識別子(DUID)用 DHCP。 |
|
|
加入者に割り当てられた IPv6 アドレス。 |
|
|
加入者セッションのセッションID。 |
|
|
- リースの期限が切れる秒数。 |
|
|
DHCPv6クライアント上のDHCPv6リレーアドレスバインディングテーブルの状態:
|
|
|
- 受信クライアント インターフェイス。 |
|
|
クライアントの IP アドレス リースの有効期限が切れる日時。 |
|
|
- リースの期限が切れる秒数。 |
|
|
クライアントの IPv6 プレフィックスの有効期限が切れる日付と UTC 時刻。 |
|
|
クライアントの IPv6 プレフィックスの有効期限が切れる秒数。 |
|
|
クライアントの IP アドレス リースが開始された日時。 |
|
|
リース時間違反が発生しました。 |
|
|
クライアントの受信インターフェイス。 |
|
|
DHCPv6 サーバーの IP アドレス。
|
|
|
DHCPv6 サーバーの方向のネクストホップ アドレス。 |
|
|
DHCPv6 サーバーのインターフェイス。 |
|
|
- リレーの IP アドレス。 |
|
|
クライアント リースを許可されたアドレス プール。 |
|
|
クライアント ID の長さ。 |
すべてのレベル |
|
クライアント ID。 |
すべてのレベル |
|
DHCPv6 インターフェイス ID オプション(オプション 18)で生成された回線 ID |
|
|
ジュニパーネットワークスIANAプライベートエンタープライズ番号 |
|
|
DHCPv6 リモート ID オプション(オプション 37)によって生成されたリモート ID |
|
|
DHCPv6 バインディングのデュアルスタック グループの名前。 |
|
|
デュアルスタックDHCPv4ピアのアドレス。 |
|
サンプル出力
- show dhcpv6 relay binding(dhcpv6 リレー バインディングを表示)
- show dhcpv6 リレー バインディング(アドレス)
- show dhcpv6 relay binding detail(クライアントID)
- show dhcpv6 relay binding detail
- show dhcpv6 relay binding detail(デュアルスタック)
- show dhcpv6 relay binding detail(マルチリレー トポロジー)
- show dhcpv6 relay binding(セッションID)
- show dhcpv6 relay binding(複数アドレスを持つ加入者)
- show dhcpv6 relay binding detail(複数アドレスを持つ加入者)
- show dhcpv6 リレー バインディング(インターフェイス VLAN)
- show dhcpv6 リレー バインディング(インターフェイス ワイルドカード)
- show dhcpv6 リレー バインディング(インターフェイス ワイルドカード)
- show dhcpv6 relay binding summary
show dhcpv6 relay binding(dhcpv6 リレー バインディングを表示)
user@host> show dhcpv6 relay binding Prefix Session Id Expires State Interface Client DUID 2001:db8:3c4d:15::/64 1 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 2001:db8:3c4d:16::/64 2 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:02 2001:db8:3c4d:17::/64 3 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:03 2001:db8:3c4d:18::/64 4 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:04 2001:db8:3c4d:19::/64 5 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:05 2001:db8:3c4d:20::/64 6 83720 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:06
show dhcpv6 リレー バインディング(アドレス)
user@host> show dhcp6 relay binding 2001:db8:1111:2222::/64 detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Incoming Client Interface: ge-1/0/0.0 Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001
show dhcpv6 relay binding detail(クライアントID)
user@host> show dhcpv6 relay binding 14/0x00010001/0x4bfa26af/0x00109400/0x0001 detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Lease time violated: yes Incoming Client Interface: ge-1/0/0.0 Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001
show dhcpv6 relay binding detail
user@host> show dhcpv6 relay binding detail Session Id: 1 Client IPv6 Prefix: 2001:db8:3c4d:15::/64 Client DUID: LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01 State: BOUND(RELAY_STATE_BOUND) Lease Expires: 2011-05-25 07:12:09 PDT Lease Expires in: 77115 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-05-24 07:12:09 PDT Lease time violated: yes Incoming Client Interface: ge-1/0/0.0 Server Address: 2001:db8:aaaa:bbbb::1 Server Interface: none Relay Address: 2001:db8:1111:2222:: Client Pool Name: pool-25 Client Id Length: 14 Client Id: /0x00010001/0x4bfa26af/0x00109400/0x0001 Generated Remote ID Enterprise Number: 1411 Generated Remote ID: host:ge-1/0/0:100
show dhcpv6 relay binding detail(デュアルスタック)
user@host> show dhcpv6 relay binding detail Session Id: 2 Client IPv6 Prefix: 2001:db8:ffff:0:4::/64 Client IPv6 Address: 2001:db8:3000:8003::1/128 Client DUID: LL0x1-00:00:64:01:01:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Expires: 2016-10-17 07:39:25 PDT Lease Expires in: 3450 seconds Lease Start: 2016-10-17 06:39:25 PDT Last Packet Received: 2016-10-17 06:39:25 PDT Incoming Client Interface: ae0.3221225472 Client Interface Svlan Id: 2000 Client Interface Vlan Id: 1 Server Ip Address: 2001:db8:3000::2 Server Interface: none Client Profile Name: my-dual-stack Client Id Length: 10 Client Id: /0x00030001/0x00006401/0x0102 Dual Stack Group: group1 Dual Stack Peer Address: 192.0.2.4
show dhcpv6 relay binding detail(マルチリレー トポロジー)
user@host > show dhcpv6 relay binding detail Session Id: 13 Client IPv6 Prefix: 2001:db8:3000:0:8001::5/128 Client DUID: LL0x1-00:00:65:03:01:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Expires: 2011-11-21 06:14:50 PST Lease Expires in: 293 seconds Preferred Lease Expires: 2012-07-24 00:18:14 UTC Preferred Lease Expires in: 600 seconds Lease Start: 2011-11-21 06:09:50 PST Incoming Client Interface: ge-1/0/0.0 Server Address: unknown Next Hop Server Facing Relay: 2001:db8:4000::2 Server Interface: none Client Id Length: 10 Client Id: /0x00030001/0x00006503/0x0102
show dhcpv6 relay binding(セッションID)
user@host> show dhcpv6 relay binding 41 Prefix Session Id Expires State Interface Client DUID 2001:db8:3c4d:15::/64 41 78837 BOUND ge-1/0/0.0 LL_TIME0x1-0x4bfa26af-00:10:94:00:00:01
show dhcpv6 relay binding(複数アドレスを持つ加入者)
user@host> show dhcpv6 relay binding Prefix Session Id Expires State Interface Client DUID 2001:db8:1001::1:24/128 23 593 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:1001::1:1c/128 23 393 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:1001::1:14/128 23 193 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::300/120 23 293 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::200/120 23 193 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02 2001:db8:3001::100/120 23 93 BOUND ge-9/0/9.0 LL_TIME0x1-0x55306754-00:10:94:00:00:02
DHCPv6リレーバインディングがプレフィックス exclude オプションで設定されている場合、以下の出力が得られます。
user@host> show dhcpv6 relay binding detail Session Id: 6 Hardware Address: 00:10:94:00:00:01 Client IPv6 Address: 7001:2:3::d/128 Lease Expires: 2017-12-11 07:45:27 IST Lease Expires in: 9999952 seconds Preferred Lease Expires: 2017-12-11 07:45:27 IST Preferred Lease Expires in: 9999952 seconds Client IPv6 Prefix: 7001::1000:0:0:0/68 Client IPv6 Excluded Prefix: 7001::1fff:ffff:ffff:ff00/120 Lease Expires: 2017-12-11 07:45:27 IST Lease Expires in: 9999952 seconds Preferred Lease Expires: 2017-12-11 07:45:27 IST Preferred Lease Expires in: 9999952 seconds Client DUID: LL_TIME0x1-0x599553b0-00:10:94:00:00:01 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Start: 2017-08-17 13:58:33 IST Last Packet Received: 2017-08-17 13:58:48 IST Incoming Client Interface: ge-0/0/0.100 Client Interface Vlan Id: 100 Server Ip Address: 7002::1 Server Interface: none Client Id Length: 14 Client Id: /0x00010001/0x599553b0/0x00109400/0x0001 Generated Circuit ID: ge-0/0/0:100
show dhcpv6 relay binding detail(複数アドレスを持つ加入者)
user@host> show dhcpv6 relay binding detail Session Id: 3 Client IPv6 Address: 2001:db8:1001::1:2/128 Lease Expires: 2015-05-15 02:34:51 PDT Lease Expires in: 24 seconds Preferred Lease Expires: 2015-05-15 02:34:51 PDT Preferred Lease Expires in: 24 seconds Client IPv6 Address: 2001:db8:1001::1:12/128 Lease Expires: 2015-05-15 02:41:31 PDT Lease Expires in: 424 seconds Preferred Lease Expires: 2015-05-15 02:41:31 PDT Preferred Lease Expires in: 424 seconds Client IPv6 Address: 2001:db8:1001::1:a/128 Lease Expires: 2015-05-15 02:38:11 PDT Lease Expires in: 224 seconds Preferred Lease Expires: 2015-05-15 02:38:11 PDT Preferred Lease Expires in: 224 seconds Client IPv6 Prefix: 2001:db8:3001::/120 Lease Expires: 2015-05-15 02:34:51 PDT Lease Expires in: 24 seconds Preferred Lease Expires: 2015-05-15 02:34:51 PDT Preferred Lease Expires in: 24 seconds Client IPv6 Prefix: 2001:db8:3001::200/120 Lease Expires: 2015-05-15 02:38:11 PDT Lease Expires in: 224 seconds Preferred Lease Expires: 2015-05-15 02:38:11 PDT Preferred Lease Expires in: 224 seconds Client IPv6 Prefix: 2001:db8:3001::100/120 Lease Expires: 2015-05-15 02:36:31 PDT Lease Expires in: 124 seconds Preferred Lease Expires: 2015-05-15 02:36:31 PDT Preferred Lease Expires in: 124 seconds Client DUID: LL_TIME0x1-0x55554c6e-00:10:94:00:00:02 State: BOUND(DHCPV6_RELAY_STATE_BOUND) Lease Start: 2015-05-15 02:34:21 PDT Last Packet Received: 2015-05-15 02:34:22 PDT Incoming Client Interface: ge-9/0/9.0 Client Interface Vlan Id: 111 Demux Interface: demux0.3221225475 Server Ip Address: 2001:db8:5001::1 Server Interface: none Client Profile Name: DHCP-IPDEMUX-PROF Client Id Length: 14 Client Id: /0x00010001/0x55554c6e/0x00109400/0x0002 Generated Circuit ID: ge-9/0/9:111 Generated Remote ID Enterprise Number: 1411 Generated Remote ID: ge-9/0/9:111
show dhcpv6 リレー バインディング(インターフェイス VLAN)
user@host> show dhcpv6 relay binding ge-1/0/0:100-200 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 11 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 12 87583 BOUND ge-1/0/0.1073741827 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 リレー バインディング(インターフェイス ワイルドカード)
user@host> show dhcpv6 relay binding demux0 Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 30 79681 BOUND demux0.1073741824 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 31 79681 BOUND demux0.1073741825 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:C9::/32 32 79681 BOUND demux0.1073741826 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 リレー バインディング(インターフェイス ワイルドカード)
user@host> show dhcpv6 relay binding ge-1/3/* Prefix Session Id Expires State Interface Client DUID 2001:DB8::/32 22 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:19::/32 33 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01 2001:DB8:C9::/32 24 79681 BOUND ge-1/3/0.110 LL_TIME0x1-0x4d5d009f-00:10:94:00:00:01
show dhcpv6 relay binding summary
user@host> show dhcpv6 relay binding summary 5 clients, (0 init, 5 bound, 0 selecting, 0 requesting, 0 renewing, 0 releasing)
リリース情報
Junos OS リリース 11.4 で導入されたコマンド。
Junos OS リリース 12.1 で導入された interfaces-vlan および interfaces-ワイルドカード オプション。