show ip dhcp relay binding
DHCP/BOOTPリレーエージェントのバインディング情報を表示します。
[入力形式]
show ip dhcp relay binding [{<ip address> | interface <interface type> <interface number>}]
[入力モード]
一般ユーザモードおよび装置管理者モード
[パラメータ]
- {<ip address> | interface <interface type> <interface number>}
-
- <ip address>
-
指定したIPアドレスのバインディング情報を表示します。
- interface <interface type> <interface number>
-
指定したインタフェースのバインディング情報を表示します。
<interface type> <interface number>には,次に示すインタフェース種別グループに対応するインタフェース名およびインタフェース番号を指定できます。詳細は,「パラメータに指定できる値」の「■インタフェースの指定方法」を参照してください。
-
イーサネットインタフェース
-
イーサネットサブインタフェース
-
ポートチャネルインタフェース
-
ポートチャネルサブインタフェース
-
VLANインタフェース
-
- 本パラメータ省略時の動作
-
すべてのバインディング情報を表示します。
[実行例]
> show ip dhcp relay binding Date 20XX/04/09 12:00:00 UTC Total : 3 addresses Interface IP address MAC address Lease expiration Eth1/1 172.16.0.1 0012.e240.0001 30s Eth1/2 172.17.0.1 0012.e240.0002 1m30s Eth1/3 172.18.0.1 0012.e240.0003 infinity > |
> show ip dhcp relay binding 172.17.0.1 Date 20XX/04/09 12:00:00 UTC Total : 1 addresses Interface IP address MAC address Lease expiration Eth1/2 172.17.0.1 0012.e240.0002 1m30s > |
> show ip dhcp relay binding interface gigabitethernet 1/3 Date 20XX/04/09 12:00:00 UTC Total : 1 addresses Interface IP address MAC address Lease expiration Eth1/3 172.18.0.1 0012.e240.0003 infinity > |
[表示説明]
表示項目 |
意味 |
表示詳細情報 |
---|---|---|
Total |
エントリ数 |
− |
Interface |
インタフェース名 |
複数ある場合は昇順にソートして表示します(第一優先)。 |
IP address |
DHCPクライアントのIPアドレス |
複数ある場合は昇順にソートして表示します(第二優先)。 |
MAC address |
DHCPクライアントのMACアドレス |
− |
Lease expiration |
リース満了時間 |
リース満了までの残り時間を表示します。
|
[通信への影響]
なし
[応答メッセージ]
メッセージ |
内容 |
---|---|
The command cannot be executed because the DHCP/BOOTP relay agent program is not running. |
DHCP/BOOTPリレーエージェントプログラムが起動していないため,コマンドを実行できません。 |
The command cannot be executed in the standby system. |
コマンドは待機系では実行できません。 |
The command cannot be executed. Try again. |
コマンドを実行できません。再実行してください。 |
The command is not authorized by the RADIUS/TACACS+ server or the configuration. |
このコマンドはRADIUSサーバ,TACACS+サーバ,またはコンフィグレーションで承認されていません。 |
The specified interface does not exist. |
指定されたインタフェースは存在しません。 |
The specified interface type is incorrect. |
指定した<interface type>が不正です。指定パラメータを確認して再実行してください。 |
The specified IP address does not exist. |
指定されたIPアドレスは存在しません。 |
[注意事項]
-
直接収容したDHCP/BOOTPクライアントのバインディング情報だけを表示します。