Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring PoE (CLI Procedure)

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

This topic describes:

PoE Configurable Options

For EX Series switches that support PoE ports, the factory default configuration enables PoE on the PoE-capable ports, with default settings in effect. You might not have to do any additional configuration if the default settings work for you. Table 1 shows the configurable PoE options and their default settings for the PoE controller and for the PoE interfaces.

Note: On EX8200 switches, the factory default configuration enables PoE on all interfaces starting at Junos OS Release 11.2. Switches that have been upgraded to Release 11.2 from a previous release might not have PoE enabled by default.To enable PoE on all PoE-capable ports on a switch, use the set poe interface all configuration command.

Table 1: Configurable PoE Options and Default Settings

Option

Default

Description

PoE Controller Options

guard-band

0 W

Reserves a specified amount of power from the PoE power budget to be used in the case of a spike in PoE power consumption:

  • Up to 15 W on EX6200 and EX8200 switches
  • Up to 19 W on all other switches

lldp-priority

Not included in default configuration

When included in the configuration, assigns interfaces the power priority provided by the connected powered device by using Link Layer Discovery Protocol (LLDP) power negotiation rather than the power priority configured on the switch interface.

Requires LLDP power negotiation to be enabled.

management

class

Sets the PoE power management mode for the switch or line card. The power management mode determines how power to a PoE interface is allocated:

  • class—In this mode, the power allocated to a PoE interface is determined in one of two ways:
    • If LLDP power negotiation is enabled, the PoE controller allocates PoE power by using LLDP power negotiation, which allows the PoE controller to dynamically allocate power to LLDP-enabled devices based on their power needs. LLDP power negotiation is enabled by default on supported switches when the management option is set to class. For information about configuring LLDP power negotiation, see Configuring LLDP (CLI Procedure).
    • If LLDP power negotiation is disabled or not supported on the powered device or the switch, the maximum power delivered by an interface is determined by the class of the connected powered device. No power is allocated to the interface until a powered device is connected.
  • static—The maximum power delivered by an interface is statically configured and is independent of the class of the connected powered device. The maximum power is allocated to the interface even if a powered device is not connected.

maximum-power

792 W for the EX8200-2XS-40P (40-port PoE+ with 4-port SFP and 2-port SFP+) line card

915 W for the EX8200-48PL (48-port PoE+ 20 Gbps) line card

1440 W for the EX6200-48P (48-port PoE+) line card

(EX6200 and EX8200 switches only) Sets the PoE power budget for the line card:

  • 37 W through 792 W for the EX8200-2XS-40P line card
  • 37 W through 915 W for the EX8200-48PL line card
  • 37 W through 1440 W for the EX6200-48P line card

notification-control

Not included in default configuration

When included in the configuration, enables the PoE controller to send PoE SNMP traps.

Interface Options

af-mode

Not included in default configuration

(EX6200 switches only) When included in the configuration, restricts a PoE interface to supporting IEEE 802.3af only. The maximum power that can be delivered by the PoE interface is 15.4 W.

disable (Power over Ethernet)

Not included in default configuration

When included in the configuration, disables PoE on the interface. The interface maintains network connectivity but no longer supplies power to a connected powered device. Power is not allocated to the interface.

maximum-power (Interface)

30.0 W for interfaces that support PoE+ (IEEE 802.3at)

15.4 W for interfaces that support PoE (IEEE 802.3af)

Sets the maximum power that can be delivered by a PoE interface when the power management mode is static:

  • Up to 30 W for EX2200, EX3300, EX4200, EX6200, and EX8200 switches
  • Up to 18.6 W for EX3200 switches

This setting is ignored if the power management mode is class.

Note: The maximum-power setting permitted by the CLI might be greater than the maximum power a given PoE port can deliver. For example, the CLI permits you to set any port on an EX8200 line card to 30 W; however, only ports 0 through 11 support 30 W. Similarly, the CLI permits you to set any port on an EX4200 switch to 30 W, but some EX4200 models support only 18.6 W per port. If you configure a maximum-power value that is greater than the maximum power supported by a port, the power allocated to the port will be the maximum supported.

priority (Power over Ethernet)

low

Sets an interface’s power priority to either low or high. If power is insufficient for all PoE interfaces, the PoE power to low priority interfaces is shut down before power to high priority interfaces is shut down. Among interfaces that have the same assigned priority, the power priority is determined by port number, with lower-numbered ports having higher priority.

If LLDP power priority is enabled, the switch assigns each interface the power priority provided by the connected LLDP-enabled powered device rather than the interface’s configured priority.

On EX6200 and EX8200 switches, priority determines the interface’s power priority relative to the other interfaces on the line card, not the interfaces on the switch as a whole. If power management cannot provide the line card with its full PoE power budget, PoE power to interfaces with low priority is shut down first.

telemetries

Not included in default configuration

When included in the configuration, enables the logging of power consumption records on an interface. Logging occurs every 5 minutes for 1 hour unless you specify a different value for interval (Power over Ethernet) or duration.

Configuring the PoE Controller on EX2200, EX3200, EX3300, and EX4200 Switches

To configure the PoE controller on EX2200, EX3200, EX3300, and EX4200 switches:

  • To change the management mode or to configure a guard band setting for a standalone switch or for all members of an EX3300 Virtual Chassis, an EX4200 Virtual Chassis, or a mixed EX4200 and EX4500 Virtual Chassis that supports PoE:
    [edit]
    user@switch# set poe management mode guard-band watts

    For example, to set the management mode to static and to configure a guard band of 15 W:

    [edit]
    user@switch# set poe management static guard-band 15

    Note: If the PoE power budget for the switch is insufficient to provide maximum power to all the PoE ports, we recommend that you do not change the management mode from class to static. If you change the power management mode to static and do not change the other default settings, the PoE controller allocates maximum power to the PoE ports in the order of port number, which means PoE will be disabled on higher-numbered ports when the PoE power budget runs out.

    In class mode, on the other hand, the PoE controller does not allocate power to a port until a powered device is connected. The class of the connected device determines the amount of power allocated. Thus in class mode, any PoE port can be used to power a device and all the PoE ports on the switch can be used as long as the combined power demand does not exceed the PoE power budget.

    Note: On EX3200 and EX4200 switches that support enhanced PoE, you must change the management mode from class mode to static mode to take advantage of the higher per-port power limits of enhanced PoE.

  • To enable PoE SNMP traps on a standalone switch or on an specific member of a Virtual Chassis:
    [edit]
    user@switch# set poe notification-control fpc number 

    For example, to enable PoE SNMP traps on a standalone switch or on member 0 of a Virtual Chassis:

    [edit]
    user@switch# set poe notification-control fpc 0 

Configuring the PoE Controllers on EX6200 and EX8200 Switches

On EX6200 and EX8200 switches, each line card that supports PoE has its own PoE controller. This means that the PoE controller options are configured separately for each line card.

In addition, each line card has its own separate, configurable PoE power budget. The default power budget for a line card is the amount of power needed to supply all PoE ports on the line card with their maximum supported power. Because there might not be enough power available in a switch to supply each PoE line card with the default PoE power budget, you can configure smaller power budgets for one or more line cards, freeing up power for other line cards.

To configure the line card PoE controllers in an EX6200 or EX8200 switch:

  • To configure a guard band setting, to change the management mode, or to configure the PoE power budget for a specific line card:
    [edit]
    user@switch# set poe fpc number  guard-band watts management mode maximum-power watts

    For example, to configure a PoE budget of 350 W and a guard band of 15 W on line card 1:

    [edit]
    user@switch# set poe fpc 1 guard-band 15 maximum-power 350

    Note: If you configure a PoE power budget for a line card that is smaller than the default power budget, we recommend that you do not change the management mode from class to static. If you change the power management mode to static and do not change the interface default settings, the PoE controller allocates maximum power to the PoE ports in the order of port number. As a result, PoE will be disabled on higher-numbered ports when the PoE power budget runs out.

    In class mode, on the other hand, the PoE controller does not allocate power to a port until a powered device is connected. The class of the connected device determines the amount of power allocated. Thus in class mode, any PoE port can be used to power a device and all the PoE ports on the switch can be used as long as the combined power demand does not exceed the PoE power budget.

  • To configure the same guard band value, management mode, or PoE power budget for all line cards in a switch:
    [edit]
    user@switch# set poe fpc all  guard-band watts management mode maximum-power watts

    For example, to configure a PoE budget of 1000 W and static management mode for all line cards in a switch:

    [edit]
    user@switch# set poe fpc all management static maximum-power 1000

    If you configure different settings for a specific line card, those settings override the settings configured with the fpc all statement.

  • To enable PoE SNMP traps on a line card:
    [edit]
    user@switch# set poe notification-control fpc number 

    For example, to enable PoE SNMP traps on line card 7:

    [edit]
    user@switch# set poe notification-control fpc 7 

Configuring PoE Interfaces

To configure the PoE interfaces on a switch that supports PoE:

  • To configure all PoE interfaces with the same setting or settings:
    [edit]
    user@switch# set poe interface all options

    For example, to enable telemetry collection on all interfaces, using the default collection duration and interval:

    [edit]
    user@switch# set poe interface all telemetries

    Note: For PoE to be enabled on all PoE-capable interfaces, the configuration must include the interface all statement in the [edit poe] hierarchy. With the exception of EX8200 switches that were shipped from the factory with a Junos OS release earlier than Release 11.2, the factory default configurations of switches that support PoE include this statement.

  • To configure individual PoE interfaces with different settings:
    [edit]
    user@switch# set poe interface interface-name options

    For example:

    [edit]
    user@switch# set poe interface ge-0/0/0 priority high telemetries duration 24
    
    [edit]
    user@switch# set poe interface ge-0/0/1
    
    [edit]
    user@switch# set  poe interface ge-0/0/5 maximum-power 18.6
    
    [edit]
    user@switch# set poe interface ge-5/0/7 disable

    When you configure an individual interface, its configuration overrides any settings you configure with the set poe interface all command. For example, ge-0/0/1 in the preceding example retains the default settings, regardless of any settings configured with the set poe interface all command.

Published: 2012-12-07