Example: Configuring PoE on All Interfaces
This example shows how to configure PoE on all interfaces of the device.
Requirements
Before you begin, configure Ethernet interfaces.
Overview
This example shows how to configure PoE on all interfaces of the device. Within the example, the power port priority is set to low, 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:
Enable PoE.
[edit]user@host# edit poe interface allSet the power port priority.
[edit poe interface all]user@host# set priority lowSet the maximum PoE wattage available for a port.
[edit poe interface all]user@host# set maximum-power 15.4Enable logging of PoE power consumption.
[edit poe interface all]user@host# set telemetriesSet the PoE management mode.
[edit]user@host# set poe management staticReserve 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 command.
Interface Admin status Oper status Max power Priority Power consumption Class ge-0/0/0 Enabled Searching 15.4W Low 0.0W 0 ge-0/0/1 Enabled Powered-up 15.4W High 6.6W 0 ge-0/0/2 Disabled Disabled 15.4W Low 0.0W 0 ge-0/0/3 Disabled Disabled 15.4W Low 0.0W 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 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
- Junos OS Feature Support Reference for SRX Series and J Series Devices
- Understanding Power over Ethernet
- Example: Configuring PoE on an Individual Interface
- Example: Deleting a PoE Interface
Hide Navigation Pane
Show Navigation Pane
Download
SHA1