1.1 PoE Configuration Commands
Syntax
display poe interface [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Port on the switch. For details, refer to the Port Basic
Configuration module of this manual.
Description
Use the display poe interface command
to view the PoE status of a specific port of the switch. If the interface-type
interface-number argument is not specified, the command displays the PoE
status of all ports of the switch.
Example
# Display the PoE status of Ethernet 1/0/10.
<H3C> display poe interface Ethernet1/0/10
Port power enabled :enable
Port power ON/OFF :on
Port power status
:Standard PD was detected
Port power mode :signal
Port PD class :0
port power priority :low
Port max power :15400
mW
Port current power :460 mW
Port peak power :552 mW
Port average power :547 mW
Port current :10 mA
Port voltage :51 V
Table 1-1 Description on the fields of
the display poe interface command
|
Field
|
Description
|
|
Port power enabled
|
PoE is enabled on the port
|
|
Port power ON/OFF
|
The power on the port is on/off
|
|
Port power status
|
PoE status on the port:
l
user command set port to off: PoE to the port
is turned off by the user
l
Standard PD was detected: A standard PD is detected
l
detection is in process: PDs are being
detected
|
|
Port power mode
|
PoE mode on the port:
l
signal: PoE through the signal cable
l
spare: PoE through the spare cable
|
|
Port PD class
|
Class of power to the PD
|
|
Port power priority
|
PoE priority of the port:
l
critical: The highest
l
high: High
l
low: Low
|
|
Port max power
|
The maximum available power on the port
|
|
Port current power
|
The current power on the port
|
|
Port average power
|
The average power on the port
|
|
Port peak power
|
The peak power on the port
|
|
Port current
|
The current on the port
|
|
Port voltage
|
The voltage on the port
|
# Display the PoE status of all ports.
<H3C> display poe interface
PORT INDEX POWER ENABLE MODE
PRIORITY STATUS
Ethernet1/0/1 off disable signal
low user command set port to off
Ethernet1/0/2 off disable signal
low user command set port to off
Ethernet1/0/3 off disable signal
low user command set port to off
Ethernet1/0/4 off disable signal
low user command set port to off
Ethernet1/0/5 off disable signal
low user command set port to off
Ethernet1/0/6 off disable signal
low user command set port to off
Ethernet1/0/7 off disable signal
low user command set port to off
Ethernet1/0/8 off disable signal
low user command set port to off
Ethernet1/0/9 off disable signal
low user command set port to off
Ethernet1/0/10 off disable signal
low user command set port to off
Ethernet1/0/11 off disable signal
low user command set port to off
Ethernet1/0/12 off disable signal
low user command set port to off
Ethernet1/0/13 off disable signal
low user command set port to off
Ethernet1/0/14 off disable signal
low user command set port to off
Ethernet1/0/15 off disable signal
low user command set port to off
Ethernet1/0/16 off disable signal
low user command set port to off
Ethernet1/0/17 off disable signal
low user command set port to off
Ethernet1/0/18 off disable signal
low user command set port to off
Ethernet1/0/19 off disable signal
low user command set port to off
Ethernet1/0/20 off disable signal
low user command set port to off
Ethernet1/0/21 off disable signal
low user command set port to off
Ethernet1/0/22 off disable signal
low user command set port to off
Ethernet1/0/23 off disable signal
low user command set port to off
Ethernet1/0/24 off disable signal
low user command set port to off
Ethernet1/0/25 off disable signal
low user command set port to off
Ethernet1/0/26 off disable signal
low user command set port to off
Ethernet1/0/27 off disable signal
low user command set port to off
Ethernet1/0/28 off disable signal
low user command set port to off
Ethernet1/0/29 off disable signal
low user command set port to off
Ethernet1/0/30 off disable signal
low user command set port to off
Ethernet1/0/31 off disable signal
low user command set port to off
Ethernet1/0/32 off disable signal
low user command set port to off
Ethernet1/0/33 off disable signal
low user command set port to off
Ethernet1/0/34 off disable signal
low user command set port to off
Ethernet1/0/35 off disable signal
low user command set port to off
Ethernet1/0/36 off disable signal
low user command set port to off
Ethernet1/0/37 off disable signal
low user command set port to off
Ethernet1/0/38 off disable signal
low user command set port to off
Ethernet1/0/39 off disable signal
low user command set port to off
Ethernet1/0/40 off disable signal
low user command set port to off
Ethernet1/0/41 off disable signal
low user command set port to off
Ethernet1/0/42 off disable signal
low user command set port to off
Ethernet1/0/43 off disable signal
low user command set port to off
Ethernet1/0/44 off disable signal
low user command set port to off
Ethernet1/0/45 off disable signal
low user command set port to off
Ethernet1/0/46 off disable signal
low user command set port to off
Ethernet1/0/47 off disable signal
low user command set port to off
Ethernet1/0/48 off disable signal
low user command set port to off
Table 1-2 Description on the fields of
the display poe interface command
|
Field
|
Description
|
|
PORT INDEX
|
Port index
|
|
POWER
|
Power status on the port: ON/OFF
|
|
ENABLE
|
PoE enabled/disabled status on the port
|
|
MODE
|
PoE mode on the port:
l
signal: PoE through the signal cable
l
spare: PoE through the spare cable
|
|
PRIORITY
|
PoE priority of the port:
l
critical: Highest
l
high: High
l
low: Low
|
|
STATUS
|
PoE status on the port:
l
user command set port to off: PoE to the port
is turned off by the user
l
Standard PD was detected: A standard PD is detected
l
PD detection is in process: PDs are being
detected
|
Syntax
display poe interface power [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Port on the switch. Refer to the Port Basic Configuration
module of this manual.
Description
Use the display poe interface power
command to view the power information of a specific port of the switch. If the interface-type
interface-number argument is not specified, the command displays the power
information of all ports of the switch.
Example
# Display the power information of Ethernet
1/0/10.
<H3C> display poe interface
power Ethernet1/0/10
Port power :12400
mW
# Display the power information of all
ports.
<H3C> display poe interface
power
PORT INDEX POWER
(mW) PORT INDEX POWER (mW)
Ethernet1/0/1
0 Ethernet1/0/2 0
Ethernet1/0/3
0 Ethernet1/0/4 0
Ethernet1/0/5
0 Ethernet1/0/6 0
Ethernet1/0/7
0 Ethernet1/0/8 0
Ethernet1/0/9
0 Ethernet1/0/10 12400
Ethernet1/0/11
0 Ethernet1/0/12 0
Ethernet1/0/13
0 Ethernet1/0/14 0
Ethernet1/0/15 0 Ethernet1/0/16
0
Ethernet1/0/17
0 Ethernet1/0/18 0
Ethernet1/0/19
0 Ethernet1/0/20 0
Ethernet1/0/21
0 Ethernet1/0/22 0
Ethernet1/0/23
0 Ethernet1/0/24 0
Ethernet1/0/25
0 Ethernet1/0/26 0
Ethernet1/0/27
0 Ethernet1/0/28 0
Ethernet1/0/29
0 Ethernet1/0/30 0
Ethernet1/0/31
0 Ethernet1/0/32 0
Ethernet1/0/33
0 Ethernet1/0/34 0
Ethernet1/0/35
0 Ethernet1/0/36 0
Ethernet1/0/37 0
Ethernet1/0/38 0
Ethernet1/0/39
0 Ethernet1/0/40 0
Ethernet1/0/41
0 Ethernet1/0/42 0
Ethernet1/0/43
0 Ethernet1/0/44 0
Ethernet1/0/45
0 Ethernet1/0/46 0
Ethernet1/0/47
0 Ethernet1/0/48 0
1.1.3 display poe powersupply
Syntax
display poe powersupply
View
Any view
Parameter
None
Description
Use the display poe powersupply
command to view the parameters of the power sourcing equipment (PSE).
Example
# Display the PSE parameters.
<H3C> display poe powersupply
PSE ID :1
PSE Legacy Detection :disable
PSE Total Power Consumption :12000 mW
PSE Available Power :288000
mW
PSE Peak Value :12000 mW
PSE Average Value :12000 mW
PSE Software Version :290
PSE Hardware Version :000
PSE CPLD Version :021
PSE Power-Management mode :auto
Table 1-3 Description on the fields of
the display poe powersupply command
|
Field
|
Description
|
|
PSE ID
|
Identification of the PSE
|
|
PSE Legacy Detection
|
The enabled/disabled status of the
nonstandard PD detection
|
|
PSE Total Power Consumption
|
Total power consumption of the PSE
|
|
PSE Available Power
|
Available power of the PSE
|
|
Power Peak Value
|
Peak power value of the PSE
|
|
Power Average Value
|
Average power value of the PSE
|
|
Power Software Version
|
Version of the PSE software
|
|
Power Hardware Version
|
Version of the PSE hardware
|
|
PSE CPLD Version
|
Version of the PSE complex programmable
logical device (CPLD)
|
|
PSE Power-Management mode
|
PoE management mode on the port when the
PSE is overloaded:
The auto keyword indicates that
the auto mode is adopted, that is, the PoE management mode based on the PoE
priority of the port is adopted
The manual keyword indicates that
the manual mode is adopted in the PoE management on the port
|
1.1.4 display poe temperature-protection
Syntax
display poe temperature-protection
View
Any view
Parameter
None
Description
Use the display poe
temperature-protection command to display the enable/disable status of the
PoE over-temperature protection function on the switch.
Example
# Display the enable/disable status of the
PoE over-temperature protection function on the switch.
<H3C> display poe
temperature-protection
The temperature protection is
enabled.
Syntax
poe enable
undo poe enable
View
Ethernet port view
Parameter
None
Description
Use the poe enable command to enable
the PoE feature on a port.
Use the undo poe enable command to
disable the PoE feature on a port.
By default, the PoE feature on a port is
enabled by the default configuration file when the device is delivered.
If you delete the default configuration
file without specifying another one, the PoE function on a port will be
disabled after you restart the device.
Example
# Enable the PoE feature on Ethernet 1/0/3.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] interface Ethernet 1/0/3
[H3C-Ethernet1/0/3] poe enable
Port power supply is enabled
# Disable the PoE feature on Ethernet 1/0/3.
[H3C-Ethernet1/0/3]
undo poe enable
Port power supply is disabled
Syntax
poe legacy enable
undo poe legacy enable
View
System view
Parameter
None
Description
Use the poe legacy enable command to
enable the nonstandard-PD detection function.
Use the undo poe legacy enable
command to disable the nonstandard-PD detection function.
PDs compliant with 802.3af standards are
called standard PDs.
By default, the nonstandard-PD detection
function is disabled.
Example
# Enable the nonstandard-PD detection
function.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] poe legacy enable
Legacy detection is enabled
# Disable the nonstandard-PD detection
function.
[H3C] undo poe legacy enable
Legacy detection is disabled
Syntax
poe max-power
max-power
undo poe max-power
View
Ethernet port view
Parameter
max-power:
Maximum power distributed to the port, ranging from 1,000 to 15,400, in mW.
Description
Use the poe max-power command to
configure the maximum power that can be supplied by the current port.
Use the undo poe max-power command
to restore the maximum power supplied by the current port to the default value.
By default, the maximum power that a port
can supply is 15,400 mW.
Note that the unit of the power is mW and
you can set the power in the granularity of 100 mW. The actual maximum power
will be 5% larger than what you have set allowing for the effect of transient
peak power.
Example
# Set the maximum power supplied by Ethernet
1/0/3.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] interface Ethernet 1/0/3
[H3C-Ethernet1/0/3] poe max-power
15000
# Restore the default maximum power on Ethernet
1/0/3.
[H3C-Ethernet1/0/3] undo poe max-power
Syntax
poe mode { signal
| spare }
undo poe mode
View
Ethernet port view
Parameter
signal: Supplies
power through a signal cable.
spare: Supplies
power through a spare cable.
Description
Use the poe mode command to
configure the PoE mode on the current port.
Use the undo poe mode command to
restore the PoE mode on the current port to the default mode.
By default, the port is powered through a signal
cable.
Note that the S3600 series switches do not
support the spare mode currently.
Example
# Set the PoE mode on Ethernet 1/0/3 to signal.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] interface Ethernet 1/0/3
[H3C-Ethernet1/0/3] poe mode signal
Syntax
poe power-management { auto| manual }
undo poe power-management
View
System view
Parameter
auto: Adopts
the auto mode, namely, a PoE management mode based on PoE priority of
the port.
manual: Adopts
the manual mode.
Description
Use the poe power-management command
to configure the PoE management mode of port used in the case of power
overloading.
Use the undo poe power-management
command to restore the default mode.
By default, the PoE management mode on port
is auto.
Example
# Configure the PoE management mode on a port
to auto, that is, adopt the PoE management mode based on the PoE
priority of the port.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] poe power-management auto
Auto Power Management is enabled
# Restore the default management mode.
[H3C] undo poe power-management
Auto Power Management is enabled
Syntax
poe priority { critical | high | low }
undo poe priority
View
Ethernet port view
Parameter
critical:
Sets the port priority to critical.
high: Sets
the port priority to high.
low: Sets
the port priority to low.
Description
Use the poe priority command to
configure the PoE priority of a port.
Use the undo poe priority
command to restore the default PoE priority.
By default, the PoE priority of a port is low.
When the available power of the PSE is too
small, the PoE priority and the PoE management mode are used together to
determine how to allocate PoE power for the new PDs.
When the manual PoE management mode is
adopted:
The switch will not supply power to the new
PDs if the available power of the PSE is less than 18.8 W.
When the auto PoE management mode is
adopted:
If a PD is plugged into the port with
higher priority when the available power of the PSE is less than 18.8 W, the
power supply to the port with the smallest number in the port group with the
lowest priority is turned off, so that a part of power is released for the new
PD.
If the available power of the whole switch
is less than 18.8 W and there is no port with low priority, the port with the
inserted PD cannot supply power.
Example
# Set the port priority to critical.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] interface Ethernet 1/0/3
[H3C-Ethernet1/0/3] poe priority
critical
# Restore the default PoE priority.
[H3C-Ethernet1/0/3] undo poe priority
Syntax
poe temperature-protection enable
undo poe temperature-protection enable
View
System view
Parameter
None
Description
Use the poe temperature-protection
enable command to enable PoE over-temperature protection on the switch.
Use the undo poe temperature-protection
enable command to disable PoE over-temperature protection on the switch.
The PoE over-temperature protection
operates as follows: The switch disables the PoE feature on all ports when its
internal temperature exceeds 65°C (149°F) for self-protect, and restores the
PoE feature settings on all its ports when the temperature drops below 60°C
(140°F).
By default, PoE over-temperature protection
is enabled on the switch.
Example
# Disable PoE over-temperature protection
on the switch.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] undo poe temperature-protection
enable
The temperature protection is disabled.
Syntax
poe update {
refresh | full } filename
View
System view
Parameter
refresh: The
refresh update mode is used when the PSE processing software is valid. The
refresh update mode is to upgrade the valid software in the PSE.
full: The full
update mode is used when the PSE has no valid processing software. The full
update mode is to delete the invalid software in the PSE completely and then
reload the valid software.
filename:
Update file name, with a length of 1 to 64 characters.
Description
Use the poe update command to update
the PSE processing software online.
l
Use the full mode only when the refresh
mode fails. In normal cases, use the refresh mode.
l
When the PSE processing software is damaged
(that is, all the PoE commands cannot be successfully executed), you can use
the full mode to update and restore the software.
l
When the online upgrading procedure is
interrupted for some unexpected reason, for example, the device is restarted
due to some errors. If the upgrade in full mode fails after restart, you
must upgrade in full mode after power-off and restart of the device, and
then restart the device manually. In this way, the former PoE configuration is
restored.
Example
# Update the PSE processing software
online.
<H3C>system-view
System View: return to User View with
Ctrl+Z.
[H3C] poe update refresh 0400_001.S19
Update PoE board successfully
2.1 PoE Profile
Configuration Commands
Syntax
In system view use the following commands:
apply poe-profile profilename interface interface-type interface-number
[ to interface-type interface-number ]
undo apply poe-profile profilename interface interface-type interface-number
[ to interface-type interface-number ]
In Ethernet port view use the following
commands:
apply poe-profile profilename
undo apply poe-profile profilename`
View
System view
Parameter
profilename:
Name of a PoE profile, a string of 1 to 15 characters. It starts with a letter
from a to z or from A to Z, and it cannot be any of reserved keywords like all,
interface, user, undo, and mode.
interface-type interface-number: interface-type indicates the type of the interface, interface-number
specifies the port ID.
Description
Use the apply poe-profile command
to apply the existing PoE profile configuration to the specified Ethernet port.
Use the undo apply poe-profile
command to cancel the PoE profile configuration for the specified Ethernet
port.
Only one PoE profile can be in use at any
time for each Ethernet port.
PoE profile is a set of PoE configurations. One PoE profile can
contain multiple PoE features. When the apply poe-profile command is
used to apply a PoE profile to a port, some PoE features can be applied
successfully while some cannot. PoE profiles are applied to S3600 series
Ethernet switches according to the following rules:
l
When the apply poe-profile command is used
to apply a PoE profile to a port, the PoE profile is applied successfully only
if one PoE feature in the PoE profile is applied properly. When the display
current-configuration command is used for query, it is displayed that the
PoE profile is applied properly to the port.
l
If one or more features in the PoE profile are
not applied properly on a port, the switch will prompt explicitly which PoE
features in the PoE profile are not applied properly on which ports.
l
The display current-configuration command
can be used to query which PoE profiles are applied to a port. However, the
command cannot be used to query which PoE features in a PoE profile are applied
successfully.
Example
# Apply the existing PoE profile
(profile-test) configuration to Ethernet1/0/1 through Ethernet1/0/9 ports of
the switch.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] apply poe-profile profile-test
interface ethernet1/0/1 to ethernet1/0/9
Syntax
display poe-profile { all-profile | interface interface-type
interface-number | name profilename }
View
Any view
Parameter
all-profile:
Displays all PoE profiles.
interface-type interface-number: Port type and port number
profilename:
Name of a specified PoE profile.
Description
Use the display poe-profile command
to display detailed configuration information of the created PoE profile for a
switch.
Example
# Display detailed configuration
information for the PoE profile by the name of profile-test.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] display poe-profile name
profile-test
Syntax
poe-profile profilename
undo poe-profile profilename
View
System view
Parameter
profilename:
Name of PoE profile, a string with 1 to 15 characters. It starts with a letter
from a to z or from A to Z, and it cannot be any of reserved keywords like all,
interface, user, undo, and mode.
Description
Use the poe-profile command to
create a PoE profile.
Use the undo poe-profile
command to delete an existing PoE profile.
The following PoE features can be
configured in the PoE profile mode:
poe enable
poe mode { signal
| spare }
poe priority { critical | high | low }
poe max-power max-power
The maximum number of PoE profiles that can
be configured for an S3600 switch is 100.
Example
# Create a PoE profile by the name of
profile-test.
<H3C> system-view
System View: return to User View with
Ctrl+Z.
[H3C] poe-profile profile-test