カテゴリ一覧
最近の更新
メニュー

2016/02/23 EdgeMAX シリーズのファームウェア v1.8.0 がリリースされました。
詳細はこちら をご覧下さい。

コマンド実行例 > show (operational) > show dhcp

提供: EdgeOS 日本語Wiki [非公式]
移動: 案内検索

このページの概要

当ページは、Operational (操作) モード時の show dhcp コマンドについて、実行例をご紹介します。

show dhcp 実行例

show dhcp client leases

USER@EDGEOS:~ show dhcp client leases <ENTER>
interface  : eth0
ip address : 555.555.555.555    [Active]
subnet mask: 255.255.255.0
router     : 555.555.555.1
name server: 999.999.999.1 999.999.999.2
dhcp server: 999.999.999.3
lease time : 32400
last update: Tue Sep 29 00:21:06 JST 2015
expiry     : Tue Sep 29 09:21:05 JST 2015
reason     : RENEW


show dhcp client leases interface {interface}

USER@EDGEOS:~ show dhcp client leases interface eth0 <ENTER>
interface  : eth0
ip address : 555.555.555.555    [Active]
subnet mask: 255.255.255.0
router     : 555.555.555.1
name server: 999.999.999.1 999.999.999.2
dhcp server: 999.999.999.3
lease time : 32400
last update: Tue Sep 29 00:21:06 JST 2015
expiry     : Tue Sep 29 09:21:05 JST 2015
reason     : RENEW


show dhcp leases

USER@EDGEOS:~ show dhcp leases <ENTER>
IP address      Hardware Address   Lease expiration     Pool       Client Name
----------      ----------------   ----------------     ----       -----------
192.168.NN.117  30:NN:NN:NN:95:6e  2015/09/29 14:20:42  LAN2       android-fdNNNNNNNNNN32b8


show dhcp leases expired

USER@EDGEOS:~ show dhcp leases expired <ENTER>
IP address      Hardware Address   Lease expiration     Pool       Client Name
----------      ----------------   ----------------     ----       -----------
172.NN.NN.2     7c:NN:NN:NN:9e:10  2015/08/10 12:34:58  LAN3            
172.NN.NN.3     00:NN:NN:NN:de:53  2015/09/28 02:09:14  LAN3            
192.168.NN.128  ec:NN:NN:NN:12:5b  2015/09/03 18:49:22  LAN2                 
192.168.NN.129  91:NN:NN:NN:5f:72  2015/09/03 18:49:23  LAN2                 
...


show dhcp leases pool {DHCP-name}

USER@EDGEOS:~ show dhcp leases pool LAN2 <ENTER>
IP address      Hardware Address   Lease expiration     Pool       Client Name
----------      ----------------   ----------------     ----       -----------
192.168.NN.117  30:NN:NN:NN:95:6e  2015/09/29 14:20:42  LAN2       android-fd4063b0ed0332b8


show dhcp leases pool {DHCP-name} expired

USER@EDGEOS:~ show dhcp leases pool LAN2 expired <ENTER>
IP address      Hardware Address   Lease expiration     Pool       Client Name
----------      ----------------   ----------------     ----       -----------
192.168.NN.128  ec:NN:NN:NN:12:5b  2015/09/03 18:49:22  LAN2                 
192.168.NN.129  91:NN:NN:NN:5f:72  2015/09/03 18:49:23  LAN2                 
192.168.NN.130  28:NN:NN:NN:ce:fe  2015/09/11 03:46:43  LAN2 


show dhcp statistics

USER@EDGEOS:~ show dhcp statistics <ENTER>
pool                           pool size  # leased   # avail
----                           ---------  --------   -------
LAN3                                 199         0       199
LAN2                                  51         1        50
LAN1                                 101         0       101
...


show dhcp statistics pool {DHCP-name}

USER@EDGEOS:~ show dhcp statistics pool LAN2 <ENTER>
pool                           pool size  # leased   # avail
----                           ---------  --------   -------
LAN2                                  51         1        50


関連項目

ご意見を共有しましょう