Power over Ethernet (PoE) for CX-M Campus Switches: Capabilities and Configuration Guide
1 Introduction

- PSE (Power Sourcing Equipment): PSE devices are network equipment that support PoE technology and serve as a core component of the PoE power supply system. PSE typically comes in two forms: PoE power injectors and PoE switches. Their primary function is to transmit power and data signals through Ethernet cables and provide power to Powered Devices (PD).
-
PD (Powered Device): PD devices are network equipment that require electrical power in a PoE power system, such as IP phones, cameras, wireless access points, etc. PD devices receive power from PSE devices through Ethernet cables and communicate data with PSE devices.
Catergory | PoE | PoE+ | PoE++ | PoE++ |
IEEE Standard | IEEE 802.3af | IEEE 802.3at | IEEE 802.3bt | IEEE 802.3bt |
PoE Type | Type 1 | Type 2 | Type 3 | Type 4 |
PSE Port Power | 15.4W | 30W | 60W | 90W |
PSE Voltage Range | 44-57V | 50-57V | 50-57V | 52-57V |
PD Max Power | 12.95W | 25.5W | 51W | 71W |
PD Voltage Range | 37-57V | 42.5-57V | 42.5-57V | 41.1-57V |
Max Current | 350mA | 600mA | 1.2A | 1.73A |

2 Purpose
2 Purpose
-
Cost Efficiency: By eliminating the need for separate power outlets, PoE reduces the cost and complexity of electrical engineering.
-
Easy Deployment: PoE device installation is more convenient and rapid, especially in locations that are difficult to access or lack power sources.
-
Reliability: PoE technology provides centralized power management, facilitating maintenance and troubleshooting.
-
Flexibility: PoE allows flexible network layout adjustments without concerns about power source locations, effectively handling high-load situations.
3 PoE Power Supply Methods
-
Signal Power Mode: PSE uses wire pairs (1/2, 3/6) that carry data transmission to simultaneously transmit data and DC power to the PD. Wire pair 1/2 forms the negative pole and wire pair 3/6 forms the positive pole, or vice versa. Since DC power and data frequencies do not interfere with each other, current and data can be transmitted simultaneously on the same wire pair. 10BASE-T and 100BASE-TX interfaces use wire pairs 1/2 and 3/6 for data transmission, while 1000BASE-T interfaces use all wire pairs for data transmission.

-
Spare Power Mode: PSE uses wire pairs (4/5, 7/8) to transmit DC power to the PD, where wire pair 4/5 forms the positive pole and wire pair 7/8 forms the negative pole.

4 PoE Power Negotiation
4 PoE Power Negotiation

-
PD Detection: PSE periodically outputs current-limited low voltage at ports to detect PD device presence. If a specific resistance value is detected, it indicates that the cable terminal is connected to a powered device supporting IEEE 802.3af or IEEE 802.3at standards (resistance value between 19kΩ-26.5kΩ, typical low voltage 2.7V-10.1V, detection cycle 2 seconds).
-
Power Capability Negotiation: PSE classifies the PD and negotiates power supply capacity. Power capability negotiation can be achieved not only through analyzing resistance sent by PSE and PD, but also through Link Layer Discovery Protocol (LLDP) for discovering and advertising power capabilities.
-
Power Initiation: During the startup period (typically less than 15μs), PSE begins supplying power to PD from low voltage until providing 48V DC voltage.
-
Normal Power Supply: After voltage reaches 48V, PSE provides stable and reliable 48V DC power to PD, with PD power consumption not exceeding PSE maximum output power.
-
Power Disconnection: During power supply, PSE continuously monitors PD current input. When PD current consumption drops below minimum value or current surges (e.g., device disconnection, PD device power consumption overload, short circuit, exceeding PSE power supply load), PSE disconnects power and repeats the detection process.
4.1 Power Capability Negotiation via LLDP Protocol
4.1 Power Capability Negotiation via LLDP Protocol

Field | Function and Meaning |
MDI power support | Bit 0: Port type 1: PSE port interface, 0: PD port interface |
PoE Type | Bit 1: PSE device MDI power support 1: Support, 0: Not support |
PSE Port Power | Bit 2: PSE device MDI power status 1: Enabled, 0: Not enabled |
PSE Voltage Range | Bit 3: PSE device power pair control capability 1: Pair selection controllable, 0: Pair selection not controllable |
PD Max Power | Bite4-7: Reserved |
PSE power pair | Power class values: 1: Alternative A power mode 2: Alternative B power mode |
Power class | Power class values: 0: Class 0, reference power 15.4W 1: Class 1, reference power 4W 2: Class 2, reference power 7W 3: Class 3, reference power 15.4W 4: Class 4, reference power 30W 5: Class 5, reference power 45W 6: Class 6, reference power 60W 7: Class 7, reference power 60W 8: Class 8, reference power 60W |
Field | Function and Meaning |
Power Type | Power type indication 11: PD not supporting IEEE 802.3at standard 10: PSE not supporting IEEE 802.3at standard 01: PD supporting IEEE 802.3at standard 00: PSE supporting IEEE 802.3at standard |
Power Source | Power source indication: PD 11: PSE and local, 10: Reserved, 01: PSE PSE 11: Reserved, 10: Backup power, 01: Primary power |
Power Priority | Interface power priority 11: Lowest priority 10: Medium-high priority 01: Highest priority Note: This field includes 4 bits, with the upper two bits reserved for system use |
Power Value | Contains PD requested power value and PSE allocated power value fields. When PoE power is sufficient, both are equal. Field value ranges from 1-255, with exchange power = 0.1 x decimal value of this field. For example. When sending a value of 255, it indicates an exchange power of 25.5W |
5 PoE Policies
5 PoE Policies
5.1 Power Supply
5.1 Power Supply

5.2 Power Priority
5.2 Power Priority

5.3 Power Scheduling
5.3 Power Scheduling
5.4 Keepalive Detection
5.4 Keepalive Detection
-
Detection: Switch periodically sends ping commands to devices.
-
Judgment: After multiple consecutive non-responses, device failure is determined.
-
Repair: Remote PoE power cycling (turning off then on) simulates “manual unplugging/plugging” operations for device soft restart.
6 Configuration Methods
6 Configuration Methods
6.1 Configuration Commands
6.1 Configuration Commands
Operation | Command | Description |
Enable interface PoE power function | poe enable | - |
Configure PoE function delay startup time | poe-delay <time> | Value range: 0-3600, unit: seconds(s) |
Configure the system maximum PoE power supply | poe max-power {60w|30w|15w|30w-at} | Different hardware models have varying configurable system and interface PoE power limit ranges. Refer to the device's help information for specific configurable power values |
Configure PoE power priority | poe priority {low|high|critical} | When the device's total power supply reaches the limit, interfaces with lower PoE power priority will be disconnected based on their priority levels |
Configure PoE power stop time range | time-range <name> from <date-stop> to <date-start> | Default configuration provides 24-hour power supply |
Configure PoE power stop time | time-range <name> <date-stop> to <date-start> <day> | name: Policy name date-start: Power start time, format: xx:xx date-stop: Power stop time, format: xx:xx day: Policy repeat mode options: Mon/Tue/Wed/Thu/Fri/Sat/Sun - specific day of week daily -repeat daily working-day - all working days off-day - all non-working days |
Apply PoE power policy to specific interface | poe power-off time-range <name> | name: Power policy name |
Enable device PD compatibility | poe legacy-detect enable | Enables PD device compatibility detection functionality, allowing the device to detect and supply power to PD devices that do not comply with 802.3af or 802.3at standards. If PD device compatibility detection is not enabled, the device will not recognize non-standard PD devices and cannot supply power to them |
Initialize PoE function | poe reinitialize | If the device was not PoE-initialized at the factory, this command can be used for manual initialization. After executing this command, no device restart is required, but all PoE enablement will be automatically disabled and re-enabled after initialization is complete |
Enable interface PoE PD keepalive detection | poe pd alive-check enable | - |
Configure PD device IP address | poe pd alive-check ip <ip address> | <ip address>: e.g., 192.168.1.100 (must be in same subnet as interface) |
Configure the delay detection time after PoE enable/restart | poe pd alive-check delay <seconds> | <seconds>: 5-300 (default 60) |
Configure ping detection interval | poe pd alive-check interval <seconds> | <seconds>: 10-300 (default 30) |
Configure the maximum threshold for action execution | poe pd alive-check err-threshold <time> | <times>: 1-10 (default 3) |
Configure action after detection failure | poe pd alive-check action <action> | <action>: -alarm: Send log alarm + write stateDB (default) -reboot: Restart PoE port |
Configure PoE off→on interval during restart | poe pd alive-check reboot-interval <seconds> | <seconds>: 1-180 (default 10) |
6.2 Typical Configuration Examples
6.2 Typical Configuration Examples
6.2.1 Network Requirements
6.2.1 Network Requirements

6.2.2 Configuration Steps
6.2.2 Configuration Steps
-
Configure Global Parameters
sonic(config)# time-range test1 00:00 to 08:00 working-day
sonic(config)# time-range test2 20:00 to 23:59 working-day
sonic(config)# time-range test3 00:00 to 23:59 off-day
-
Configure Eth1 Interface
sonic(config)# interface ethernet 1
sonic(config-if-1)# poe enable
-
Configure Eth2, Eth3, Eth4 Interfaces
sonic(config)# port-group ethernet 2-4
sonic(config-port-group-2-4)# poe enable
sonic(config-port-group-2-4)# poe-delay 300
sonic(config-port-group-2-4)# poe max-power 30
sonic(config-port-group-2-4)# poe priority high
sonic(config-port-group-2-4)# poe legacy-detect disable
-
Configure Eth4, Eth5 Interfaces
sonic(config)# port-group ethernet 4,5
sonic(config-port-group-4,5)# poe pd alive-check enable
sonic(config-port-group-4,5)# poe pd alive-check delay 120
sonic(config-port-group-4,5)# poe pd alive-check interval 60
sonic(config-port-group-4,5)# poe pd alive-check err-threshold 5
sonic(config-port-group-4,5)# poe pd alive-check action reboot
sonic(config-port-group-4,5)#poe pd alive-check reboot-interval 30
sonic(config)# interface ethernet 4
sonic(config-if-4)# poe pd alive-check ip 192.168.10.14
sonic(config)# interface ethernet 5
sonic(config-if-5)# poe enable
sonic(config-if-5)# poe pd alive-check ip 192.168.10.15
7 Display and Maintenance
Operation | Command | Description |
Display interface PoE information | show interface poe | Displays information including: configured maximum power, current power consumption, peak power consumption, and more. |
Display interface PoE initialization information | show interface poe diagnose | Displays information including: PoE hardware version, PoE status, current PoE temperature, alarm temperature, and PoE internal reset count. Note: If "device busy" appears when executing this command, it's normal. The backend is obtaining PoE power; re-execute the command. |
Initialize PoE function | poe reinitialize | Manual initialization command. No device restart is required after execution, but it automatically disables all PoE enabling and re-enables it after initialization completion. |