PoE Commands
Use these commands to configure and view Power over Ethernet (PoE) settings.
poe
M4250
M4350
Use this command to enable the Power over Ethernet (PoE) functionality on a global basis or per interface.
| Default | enabled |
| Format | poe |
| Mode |
Global Config Interface Config |
no poe
Use this command to disable the Power over Ethernet (PoE) functionality on a global basis or per interface.
| Format | no poe |
| Mode |
Global Config Interface Config |
poe detection
M4250
M4350
Use this command to configure the detection type on an interface. Use the command to configure which types of PDs are detected and powered by the switch.
The switch supports the following three detection options:
- 4ptdot3af. 4-point dot3af detection. The port performs a 4-point 802.3af resistive detection.
- 4ptdot3af+legacy. The port performs a 4-point 802.3af resistive detection, and if required, continues with legacy detection.
- legacy. Legacy detection. The port is powered using high-inrush current, which is used by legacy PDs that require more than 15W to power up.
| Default | 4ptdot3af |
| Format | poe detection [4ptdot3af | 4ptdot3af+legacy | legacy] |
| Mode | Interface Config |
no poe detection
Use this command to set the detection mode to the default on an interface.
| Format | no poe detection |
| Mode | Interface Config |
poe power limit user-defined
M4250
M4350
Use this command to configure the PoE power limit in mW on an interface.
The value of power can be from 3000 mW to the maximum supported limit in mW for the switch model.
| Format | poe power limit user-defined [power] |
| Mode | Interface Config |
poe high-power
M4250
M4350
Use this command to manually configure the high-power mode on an interface. This mode is used to power up devices that require more power than 802.3af power (more than 12.95 watts at the PD). These are the options:
- dot3at. The port is powered in the IEEE 802.3at mode and is backward compatible with IEEE 802.3af. In this mode, if the switch detects that the attached PD requests more power than IEEE 802.3af but is not an IEEE 802.3at Class 4 device, the PD does not receive power from the switch. This mode supports LLDP.
- dot3bt. The port is powered in the IEEE 802.3bt mode and is backward compatible with IEEE 802.3at and IEEE 802.3af. In this mode, if the switch detects that the attached PD requests more power than IEEE 802.3at but is not an IEEE 802.3bt device, the PD does not receive power from the switch. This mode supports LLDP.
- dot3bt-type3. The port supports the IEEE 802.3bt Type 3 mode, the IEEE 802.3at mode, and the IEEE 802.3af mode.
- legacy. The port is powered using high-inrush current, which is used by legacy PDs that require more than 15W to power up.
- pre-dot3at. The port is initially powered in the IEEE 802.3af mode and, before 75 msec pass, is switched to the high power IEEE 802.3at mode. Select this mode if the PD does not perform Layer 2 classification or if the switch performs 2-event Layer 1 classification. This mode does not support LLDP.
- pre-dot3bt. The port supports Class 4 devices that use 4-pair PoE (4PPoE) to receive power higher than 30W but that are not compliant with IEEE 802.3bt. The port also supports the IEEE 802.3at and IEEE 802.3af modes. This mode does not support LLDP.
For a switch that supports PoE++:
| Default | dot3bt |
| Format | poe high-power [dot3at | dot3bt | dot3bt-type3 | legacy | pre-dot3at | pre-dot3bt] |
| Mode | Interface Config |
For a switch that supports PoE+:
| Default | dot3at |
| Format | poe high-power [dot3at | legacy | pre-dot3at] |
| Mode | Interface Config |
no poe high-power
Use this command to disable the high-power mode. The port supports 802.3af devices only.
This command works on a per-interface basis.
| Format | no poe high-power |
| Mode | Interface Config |
poe power limit
M4250
M4350
Use this command to configure the type of power limit for a port. If the power limit type is user-defined, the command also allows you to configure a maximum power limit.
There are three options:
- class-based. Allows the port to draw up to the maximum power based on the classification of the device connected.
- none. Allows the port to draw up to Class 0 maximum power if it is in low-power mode and up to Class 4 maximum power if it is in high-power mode.
- user-defined. Allows you to define the maximum power to the port. This can be a value from 3 through 32 watts. Therefore, the range is 3000–32000 mW.
| Default | Class-based |
| Format | poe power limit {class-based | none | user-defined maximum-power} |
| Mode |
Global Config Interface Config |
no poe power limit
Use this command to set the power limit type to the default. It also sets the maximum power limit to the default if the power limit type is user-defined.
| Format | no poe power limit [user-defined] |
| Mode |
Global Config Interface Config |
poe power management (M4250 series switch)
M4250
Use this command to configure the power management mode based on each individual PoE unit or on all PoE units.
Both the power management modes mentioned here will power up a device based on first come, first served. When the available power is less than the power limit defined on a port, no more power will be delivered.
Static and dynamic modes differ in how the available power is calculated, as follows:
-
Static Power Management
Available power = power limit of the source - total allocated power
Where total allocated power is calculated as the power limit configured on the port.
-
Dynamic Power Management
Available power = power limit of the source - total allocated power
Where total allocated power is calculated as the amount of power consumed by the port.
For example:
Assume that the power limit of the source is 300 watts. One port is powered up and is drawing 3 watts of power. The power limit defined on the port is user-defined as 15 watts. In this case, the available power for static and dynamic would be as follows:
-
Static Power Management
Available power = 300 watts - 15 watts = 285 watts
-
Dynamic Power Management
Available power = 300 watts - 3 watts = 297 watts
| Default | dynamic |
| Format | poe power management {dynamic | static} |
| Mode | Global Config |
no poe power management (M4250 series switch)
Use this command to set the power management mode to the default.
| Format | no poe power management |
| Mode | Global Config |
poe power management (M4350 series switch)
M4350
Use this command to configure the power management mode based on each individual PoE unit or on all PoE units.
Both the power management modes mentioned here will power up a device based on first come, first served. When the available power is less than the power limit defined on a port, no more power will be delivered.
Static and dynamic modes differ in how the available power is calculated, as follows:
-
Static Power Management
Available power = power limit of the source - total allocated power
Where total allocated power is calculated as the power limit configured on the port.
-
Dynamic Power Management
Available power = power limit of the source - total allocated power
Where total allocated power is calculated as the amount of power consumed by the port.
For example:
Assume that the power limit of the source is 300 watts. One port is powered up and is drawing 3 watts of power. The power limit defined on the port is user-defined as 15 watts. In this case, the available power for static and dynamic would be as follows:
-
Static Power Management
Available power = 300 watts - 15 watts = 285 watts
-
Dynamic Power Management
Available power = 300 watts - 3 watts = 297 watts
| Default | dynamic |
| Format | poe power management {unit | all} {dynamic | static} |
| Mode | Global Config |
no poe power management (M4350 series switch)
Use this command to set the power management mode to the default.
| Format | no poe power management {unit | all} |
| Mode | Global Config |
poe priority
M4250
M4350
Use this command to configure the priority on a specific port. This is used for power management purposes. The switch might not be able to supply power to all connected devices, so the port priority is used to determine which ports will supply power if adequate power capacity is not available for all enabled ports. For ports that have the same priority level, the lower numbered port will have higher priority.
If a switch delivers peak power to a number of devices and you attach a new device to a high-priority port, the switch can shut down power to a low-priority port before it powers up the new device.
| Default | low |
| Format | poe priority [crit | high | low | medium} |
| Mode | Interface Config |
no poe priority
Use this command to set the priority to the default.
| Format | no poe priority |
| Mode | Interface Config |
poe reset
M4250
M4350
Use this command to reset the PoE state of every port (in global mode) or a specific port (in interface mode). When the PoE port status is shown to be in an error state, this command can be used to reset the PoE port. The command can also reset the power-delivering ports. Note that this command takes effect only once after it is executed and cannot be saved across power cycles.
| Format | poe reset |
| Mode |
Global Config Interface Config |
poe timer schedule
M4250
M4350
Use this command to attach a timer schedule to a PoE port.
You can define a time schedule using the existing time range commands. This schedule has start and stop times. When this timer schedule is applied to a PoE-enabled port, the capability of the port to deliver power is affected. At the scheduled start time, the PoE port is disabled such that it cannot deliver any power. At the scheduled stop time, the PoE port is reenabled so that it can deliver power.
| Format | poe timer schedule name |
| Mode | Interface Config |
no poe timer schedule
Use this command to detach the schedule from the port.
| Format | no poe timer schedule |
| Mode | Interface Config |
poe usagethreshold (M4250 series switch)
M4250
Use this command to set a threshold (as a percentage) for the total amount of power that can be delivered by the switch. For example, if the switch can deliver up to a maximum of 300 watts, a usage threshold of 90 percent ensures that only 270 watts are used for delivering power to devices. This ensures that more power is not drawn than the switch can provide.
When the usage threshold is set, all the PDs are brought down and then brought back up. If the consumed power is less than the threshold power (in the preceding case, 270 watts), then the devices continue to power up. If the consumed power is 269 watts or less, the next device is powered up. The moment consumed power exceeds the threshold power (270 watts), no other devices can power up.
This command allows you to set the usage threshold based on each individual PoE unit or all PoE units.
| Default | 90 |
| Format | poe usagethreshold percentage |
| Mode | Global Config |
no poe usagethreshold (M4250 series switch)
Use this command to set the usage threshold to a default value.
| Format | no poe usagethreshold |
| Mode | Global Config |
poe usagethreshold (M4350 series switch)
M4350
Use this command to set a threshold (as a percentage) for the total amount of power that can be delivered by the switch. For example, if the switch can deliver up to a maximum of 300 watts, a usage threshold of 90 percent ensures that only 270 watts are used for delivering power to devices. This ensures that more power is not drawn than the switch can provide.
When the usage threshold is set, all the PDs are brought down and then brought back up. If the consumed power is less than the threshold power (in the preceding case, 270 watts), then the devices continue to power up. If the consumed power is 269 watts or less, the next device is powered up. The moment consumed power exceeds the threshold power (270 watts), no other devices can power up.
This command allows you to set the usage threshold based on each individual PoE unit or all PoE units.
| Default | 90 |
| Format | poe usagethreshold {unit | all} percentage |
| Mode | Global Config |
no poe usagethreshold (M4350 series switch)
Use this command to set the usage threshold to a default value.
| Format | no poe usagethreshold {unit | all} |
| Mode | Global Config |
poe traps
M4250
M4350
Use this command to enable logging of specific PoE-related events, such as a PoE port powering a device, the threshold being exceeded, and so on.
| Default | Enabled |
| Format | poe traps |
| Mode | Global Config |
no poe traps
Use this command to disable logging the PoE traps.
| Format | no poe traps |
| Mode | Global Config |
show poe
M4250
M4350
Use this command to get global information regarding the PoE status.
| Format | show poe |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Firmware Version | The firmware version of the PoE controller on the switch. |
| PSE Main Operational Status |
Indicates the status of the PoE controller:
|
| Total Power Available | The maximum amount of power that can be delivered. |
| Threshold Power | The switch can power up one port, if consumed power is less than this power. That is, the consumed power can be between the total power and threshold power values. The threshold power value is affected by changing the system usage threshold. |
| Total Power Consumed | The total amount of power being delivered to all the devices plugged into the switch. |
| Usage Threshold | The usage threshold level. |
| Power Management Mode | The management mode used by the PoE controller. |
| Traps | The configured traps. |
Command example:
(NETGEAR Switch) #show poe
Firmware Version............................... 1.2.0.8
PSE Main Operational Status.................... OFF
Total Power Available.......................... 125.0 Watts
Threshold Power................................ 112.5 Watts
Total Power Consumed........................... 0.0 Watts
Usage Threshold................................ 90
Power Management Mode.......................... Dynamic
Traps.......................................... Enable
show poe port configuration
M4250
M4350
Use this command to see how the PoE ports are configured. You can display information based on each individual port or all the ports collectively.
The port corresponds to a physical port:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | show poe port configuration [unit/slot/port | all] |
| Mode |
Privileged EXEC User EXEC |
Command example:
(NETGEAR Switch) #show poe port configuration all
Admin Power Power Limit High Power Detection Timer Schedule
Intf Mode Priority Limit Type Mode Type
(mW)
------ ------- -------- ------ -------------- ------------- --------------------- ---------------
0/1 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/2 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/3 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/4 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/5 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/6 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/7 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
0/8 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
Command example:
(NETGEAR Switch) #show poe port configuration 1/0/2
Admin Power Power Limit High Power Detection Timer Schedule
Intf Mode Priority Limit Type Mode Type
(mW)
------ ------- -------- ------ -------------- ------------- --------------------- ---------------
1/0/2 Enable Low N/A Class Based Dot3at 4Pt-Dot3af None
show poe port info
M4250
M4350
Use this command to get information about the status of the PoE ports. You can display information based on each individual port or all the ports collectively. The command displays only PSE-capable ports. The port corresponds to a physical port:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | show poe port info [unit/slot/port | all] |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Intf | Interface on which PoE is configured. |
| High Power |
Indicates if the port supports high power:
|
| Max Power (mW) | The maximum power allowed in milliwatts. |
| Class | Class of the powered device according to the 802.3af, 802.3at, and–if supported by the switch–802.3bt definition. |
| Power (mW) | The actual power delivered in milliwatts. |
| Output Current (mA) | The current supplied to the powered device (in mA). |
| Output Voltage (V) | The voltage supplied to the powered device (in volts). |
| Status |
The Status field reports the state of power supplied to the port. The possible values are:
When a port begins to deliver power, there is a trap indicating so. When a port stops delivering power, there is a trap indicating so. |
| Fault Status | Indicates if the PoE port is in an error state. |
Command example:
(NETGEAR Switch) #show poe port info all
High Max Output Output
Intf Power Power Class Power Current Voltage Status Fault
(mW) (mW) (mA) (V) Status
------ ------- -------- -------- ------- ------- ------- ----------------- ----------
0/1 Yes 32000 Unknown 0 0 0 Searching No Error
0/2 Yes 32000 4 4000 74 54 Delivering Power No Error
0/3 Yes 32000 Unknown 0 0 0 Searching No Error
0/4 Yes 32000 Unknown 0 0 0 Searching No Error
0/5 Yes 32000 3 3000 56 53 Delivering Power No Error
0/6 Yes 32000 4 3800 72 53 Delivering Power No Error
0/7 Yes 32000 3 1500 28 53 Delivering Power No Error
0/8 Yes 32000 Unknown 0 0 0 Searching No Error
Command example:
(NETGEAR Switch)#show poe port info 0/2
High Max Output Output
Intf Power Power Class Power Current Voltage Status Fault
(mW) (mW) (mA) (V) Status
------ ------- -------- -------- ------- ------- ------- ----------------- -------------
0/2 Yes 32000 4 4200 78 54 Delivering Power No Error
Overload Counter .............................. 0
Short Counter ................................. 0
Power Denied Counter .......................... 0
Absent Counter ................................ 0
Invalid Signature Counter ..................... 0