Example: Configuring PoE on an Individual Interface

This example shows how to configure PoE on an individual device interface.

Requirements

Before you begin, configure Ethernet interfaces. See Example: Creating an Ethernet Interface.

Overview

This example shows how to configure PoE on the ge-0/0/0 interface. Within the example, the power port priority is set to high, the maximum power available to a port is set to 15.4 watts, PoE power consumption logging is enabled with the default telemetries settings, the PoE management mode is set to static, and the reserved power in case of a spike in PoE consumption is set to 15 watts.

Configuration

Step-by-Step Procedure

To configure PoE:

  1. Enable PoE.

    [edit]user@host# edit poe interface ge-0/0/0
  2. Set the power port priority.

    [edit poe interface ge-0/0/0]user@host# set priority high
  3. Set the maximum PoE wattage available for a port.

    [edit poe interface ge-0/0/0]user@host# set maximum power 15.4
  4. Enable logging of PoE power consumption.

    [edit poe interface ge-0/0/0]user@host# set telemetries
  5. Set the PoE management mode.

    [edit]user@host# set poe management static
  6. Reserve power wattage in case of a spike in PoE consumption.

    [edit]user@host# set poe guard-band 15

Verification

To confirm that the configuration is working properly, perform these tasks:

Verifying the Status of PoE Interfaces

Purpose

Verify that the PoE interfaces on the device are enabled and set to the desired priority settings. (The device used here is SRX240 Services Gateway).

Action

From operational mode, enter the show poe interface ge-0/0/1 command.

PoE interface status:
PoE interface                : ge-0/0/1
Administrative status        : Enabled
Operational status           : Powered-up
Power limit on the interface : 15.4 W
Priority                     : High
Power consumed               : 6.6 W
Class of power device        : 0

Meaning

The show poe interface command lists PoE interfaces configured on the SRX Series device, with their status, priority, power consumption, and class. This output shows that the device has four PoE interfaces of which two are enabled with default values. One port has a device connected that is drawing power within expected limits.

Verifying the Telemetry Data (History) for the Specified Interface

Purpose

Verify the PoE interface's power consumption over a specified period.

Action

From operational mode, enter the show poe telemetries interface command.

For all records:

user@host> show poe telemetries interface ge-0/0/1 all
Sl No Timestamp Power Voltage
1 Fri Jan 04 11:41:15 2009 5.1 W 47.3 V
2 Fri Jan 04 11:40:15 2009 5.1 W 47.3 V
3 Fri Jan 04 11:39:15 2009 5.1 W 47.3 V
4 Fri Jan 04 11:38:15 2009 0.0 W 0.0 V
5 Fri Jan 04 11:37:15 2009 0.0 W 0.0 V
6 Fri Jan 04 11:36:15 2009 6.6 W 47.2 V
7 Fri Jan 04 11:35:15 2009 6.6 W 47.2 V

For a specific number of records:

user@host> show poe telemetries interface ge-0/0/1 5
Sl No Timestamp Power Voltage
1 Fri Jan 04 11:31:15 2009 6.6 W 47.2 V
2 Fri Jan 04 11:30:15 2009 6.6 W 47.2 V
3 Fri Jan 04 11:29:15 2009 6.6 W 47.2 V
4 Fri Jan 04 11:28:15 2009 6.6 W 47.2 V
5 Fri Jan 04 11:27:15 2009 6.6 W 47.2 V

Meaning

The telemetry status displays the power consumption history for the specified interface, provided telemetry has been configured for that interface.

Verifying PoE Global Parameters

Purpose

Verify global parameters such as guard band, power limit, and power consumption.

Action

From operational mode, enter the show poe controller command.

Controller  Maximum   Power          Guard band  Management
index       power     consumption
   0        150.0 W    0.0 W         0 W         Static

Meaning

The show poe controller command lists the global parameters configured on the SRX Series device such as controller index, maximum power, power consumption, guard band, and management mode along with their status

Related Topics