Cisco IOS Layer2 – Power Over Ethernetの設定

スポンサーリンク

PoEとはLAN越しに電源を供給する技術でIP電話等でよく使用されます。情シス担当者やコールセンター案件などでは使用する事が多い設定です。

概要

Power Over Ethernetの使い方についてまとめます。実機を入手する事ができなかったため、ここではコマンドのみの紹介とします。

仕様説明

global 設定

以下のコマンドで各ポートが供給する電力をミリワット単位で指定する事ができます。

Switch(config)# power inline consumption default <wattage>

interface 設定

以下コマンドでポートが供給する電力をinterface単位で指定する事ができます。デフォルト設定はautoです。neverを指定すると全く電力が供給されないようになります。

Switch(config)# interface <interface>
Switch(config-if)# power inline {auto [max <max-wattage>] | never | static [<max max-wattage>]}

power over ethernet

状況確認

以下のコマンドで各ポートの電力割り当て状況を確認する事ができます。

Switch#show power inline

Module   Available     Used     Remaining
          (Watts)     (Watts)    (Watts)
------   ---------   --------   ---------
1           370.0      200.2       169.8
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/1   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/2   auto   off        0.0     n/a                 n/a   30.0
Gi1/0/3   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/4   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/5   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/6   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/7   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/8   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/9   auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/10  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/11  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/12  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/13  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/14  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/15  auto   on         15.4    AIR-LAP1142N-P-K9   3     30.0
Gi1/0/16  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/17  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/18  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/19  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/20  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/21  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/22  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/23  auto   off        0.0     n/a                 n/a   30.0
Gi1/0/24  auto   off        0.0     n/a                 n/a   30.0
Switch#

各ポートの電力割り当て上限は以下のコマンドで確認する事ができます。

Switch#show power inline GigabitEthernet 1/0/1
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/1   auto   off        0.0     n/a                 n/a   30.0

Interface  AdminPowerMax   AdminConsumption
             (Watts)           (Watts)
---------- --------------- --------------------

Gi1/0/1               30.0                 30.0
Switch#
タイトルとURLをコピーしました