Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring PoE on ACX2000 Routers

Power over Ethernet (PoE) ports supply electric power over the same ports that are used to connect network devices. These ports allow you to plug in devices that need both network connectivity and electric power, such as voice over IP (VoIP) phones, wireless access points, and IP cameras.

This example shows how to configure PoE to deliver power up to 65 W on ACX2000 interfaces:

Requirements

This example uses the following software and hardware components:

  • Junos OS Release 12.2 or later for ACX Series routers
  • An ACX2000 router that supports PoE

Before you configure PoE, be sure you have:

Overview

This example consists of a router that has eight ports. Only two ports—ge-0/1/3 and ge-0/1/7—support PoE, which means they provide both network connectivity and electric power for powered devices such as VoIP telephones, wireless access points, and IP security cameras that require power up to 65 W. The remaining six ports provide only network connectivity. You use the standard ports to connect devices that have their own power sources, such as desktop and laptop computers, printers, and servers.

Table 1 details the topology used in this configuration example.

Table 1: Components of the PoE Configuration

PropertySettings

Hardware

ACX2000 router with 8 Gigabit Ethernet ports: Two PoE interfaces (ge-0/1/3 and ge-0/1/7) and 6 non-PoE interfaces (ge-0/1/0, ge-0/1/1, ge-0/1/2, ge-0/1/4, ge-0/1/5, ge-0/1/6).

VLAN name

default

Connection to a wireless access point (requires PoE)

ge-0/1/7

Power port priority

high

Maximum power available to PoE port

65 W

PoE management mode

high-power

Direct connections to desktop PCs, file servers, integrated printer/fax/copier machines (no PoE required)

ge-0/1/0 through ge-0/1/2

Unused ports (for future expansion)

ge-0/1/4 through ge-0/1/6

Configuration

To configure PoE on an ACX2000 router:

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

set poe management high-power guard-band 19
set poe interface ge-0/1/3 priority high maximum-power 65 telemetries

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

To configure PoE:

  1. Set the PoE management mode to high-power.
    [edit]user@host# set poe management high-power
    • Set the PoE management mode to high-power only when the power requirement is more than 32 W and up to 65 W. If the power requirement is less than or equal to 32 W, then you do not need to set the PoE management mode to high-power.
    • The default management mode is static. In this mode, the power sourcing equipment can deliver power up to 32 W.
  2. Reserve power wattage in case of a spike in PoE consumption.
    [edit]user@host# set poe guard-band 19
  3. Enable PoE.
    [edit]user@host# edit poe interface ge-0/1/3
  4. Set the power port priority.
    [edit poe interface ge-0/1/3]user@host# set priority high
  5. Set the maximum PoE power for a port.
    [edit poe interface ge-0/1/3]user@host# set maximum-power 65

    Note: Set the maximum PoE power for a port only when the power requirement is more than 32 W and up to 65 W. If the power requirement is less than or equal to 32 W, then you do not need to configure the maximum PoE power.

  6. Enable the logging of PoE power consumption.
    [edit poe interface ge-0/1/3]user@host# set telemetries

Results

In configuration mode, confirm your configuration by entering the show poe interface ge-0/1/3 command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

[edit]user@host# show poe interface ge-0/1/3priority high;maximum-power 65;telemetries;

If you are done configuring the device, enter commit in configuration mode.

Verification

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

Verifying the Status of PoE Interfaces

Purpose

Verify that the PoE interfaces are enabled and set to the desired priority settings.

Action

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

user@host> show poe interface ge-0/1/3
PoE interface status:
PoE interface                : ge-0/1/3
Administrative status        : Enabled
Operational status           : Powered-up
Power limit on the interface : 65 W
Priority                     : High
Power consumed               : 6.6 W
Class of power device        : 0

Meaning

The show poe interface ge-0/1/3 command lists PoE interfaces configured on the ACX2000 router, with their status, priority, power consumption, and class.

Verifying the Telemetry Data (History) for the Specified Interface

Purpose

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

Action

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

For all records:

user@host> show poe telemetries interface ge-0/1/3 all
Interface  Sl No    Timestamp                Power    Voltage
              1     Mon May 14 00:45:05 2012 14.2 W   53.9 V
              2     Mon May 14 00:44:04 2012 14.2 W   53.9 V
              3     Mon May 14 00:43:03 2012 14.2 W   53.9 V

For a specific number of records:

user@host> show poe telemetries interface ge-0/1/3 2
Interface  Sl No    Timestamp                Power    Voltage
              1     Mon May 14 00:45:05 2012 14.2 W   53.9 V
              2     Mon May 14 00:44:04 2012 14.2 W   53.9 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

In operational mode, enter the show poe controller command.

user@host> show poe controller
Controller  Maximum   Power         Guard    Management   Status        Lldp
index       power     consumption   band                                Priority 
   0        130.0 W   14.2 W         0 W      high-power   UP    

Meaning

The show poe controller command lists the global parameters configured on the router.

Published: 2013-01-11

Supported Platforms

Published: 2013-01-11