- Table of Contents
-
- H3C S3100 Series Ethernet Switches command Manual-Release 21XX Series(V1.06)
- 00-1Cover
- 01-CLI Commands
- 02-Login Commands
- 03-Configuration File Management Commands
- 04-VLAN Commands
- 05-Management VLAN Commands
- 06-IP Address-IP Performance Commands
- 07-Voice VLAN Commands
- 08-GVRP Commands
- 09-Port Basic Configuration Commands
- 10-Link Aggregation Commands
- 11-Port Isolation Commands
- 12-Port Security-Port Binding Commands
- 13-DLDP Commands
- 14-MAC Address Table Management Commands
- 15-MSTP Commands
- 16-Multicast Commands
- 17-802.1x-System Guard Commands
- 18-AAA Commands
- 19-MAC Address Authentication Commands
- 20-ARP Commands
- 21-DHCP Commands
- 22-ACL Commands
- 23-QoS-QoS Profile Commands
- 24-Mirroring Commands
- 25-Stack-Cluster Commands
- 26-PoE-PoE Profile Commands
- 27-SNMP-RMON Commands
- 28-NTP Commands
- 29-SSH Commands
- 30-File System Management Commands
- 31-FTP-SFTP-TFTP Commands
- 32-Information Center Commands
- 33-System Maintenance and Debugging Commands
- 34-VLAN-VPN Commands
- 35-HWPing Commands
- 36-IPv6 Management Commands
- 37-DNS Commands
- 38-Smart Link-Monitor Link Commands
- 39-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
26-PoE-PoE Profile Commands | 69.8 KB |
Table of Contents
display poe temperature-protection
2 PoE Profile Configuration Commands
PoE Profile Configuration Commands
PoE Configuration Commands
display poe interface
Syntax
display poe interface [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Port type and port number.
Description
Use the display poe interface command to view the PoE status of a specific port or all ports 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.
Related commands: poe enable, poe max-power, poe mode, poe power-management, poe priority.
Example
# Display the PoE status of Ethernet 1/0/10.
<Sysname> 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 Legacy PD was detected: A non-standard PD is detected l detection is in process: PDs are being detected |
Port power mode |
PoE mode on the port: signal: PoE through the signal 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.
<Sysname> 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
……
<Omitted>
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 Legacy PD was detected: A non-standard PD is detected l PD detection is in process: PDs are being detected l If the poe enable command is configured on a port, and the port is not connected to a standard PD (for example, a PC), “ non-standard PD connected” will be displayed. |
display poe interface power
Syntax
display poe interface power [ interface-type interface-number ]
View
Any view
Parameter
interface-type interface-number: Port type and port number.
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.
<Sysname> display poe interface power Ethernet1/0/10
Port power :12400 mW
# Display the power information of all ports.
<Sysname> 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
……
<Omitted>
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.
<Sysname> display poe powersupply
Unit 1
PSE ID :0
PSE Legacy Detection :disable
PSE Total Power Consumption :0 mW
PSE Available Power :128000 mW
PSE Peak Value :0 mW
PSE Average Value :0 mW
PSE Software Version :501
PSE Hardware Version :000
PSE CPLD Version :001
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 |
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.
Related commands: poe temperature-protection enable.
Example
# Display the enable/disable status of the PoE over-temperature protection function on the switch.
<Sysname> display poe temperature-protection
The temperature protection is enabled.
poe enable
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.
You can use the display poe interface command to display whether PoE is enabled on a port.
Example
# Enable the PoE feature on Ethernet 1/0/3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] poe enable
poe legacy enable
Syntax
poe legacy enable
undo poe legacy enable
View
System view
Parameter
None
Description
Use the poe legacy enable command to enable the PD compatibility detection function.
Use the undo poe legacy enable command to disable the PD compatibility detection function.
PDs compliant with IEEE 802.3af standards are called standard PDs.
By default, the PD compatibility detection function is disabled.
Example
# Enable the PD compatibility detection function.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] poe legacy enable
Legacy detection is enabled
poe max-power
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 100 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 1 mW. The actual maximum power will be 5% larger than what you have set allowing for the effect of transient peak power.
You can use the display poe interface and display poe interface power commands to display the power supply information of a port.
Example
# Set the maximum power supplied by Ethernet 1/0/3 to 15,000 mW.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] poe max-power 15000
poe mode
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, signal mode is adopted on a port.
Note that the S3100 series switches do not support the spare mode currently.
Example
# Set the PoE mode on Ethernet 1/0/3 to signal.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] poe mode signal
poe power-management
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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] poe power-management auto
Auto Power Management is enabled
poe priority
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.
1) 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 19 W.
2) When the auto PoE management mode is adopted:
l If a PD is plugged into the port with higher priority when the available power of the PSE is less than 19 W, the power supply to the port with the biggest number in the port group with the lowest priority is turned off, so that a part of power is released for the new PD.
l If the available power of the whole switch is less than 19 W and there is no port with low priority, the port with the inserted PD cannot supply power.
Example
# Set the PoE priority of Ethernet 1/0/3 to critical.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/3
[Sysname-Ethernet1/0/3] poe priority critical
poe temperature-protection
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.
You can use the display poe temperature-protection command to display whether PoE over-temperature protection is enabled on the switch.
Example
# Disable PoE over-temperature protection on the switch.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] undo poe temperature-protection enable
The temperature protection is disabled.
poe update
Syntax
poe update { refresh | full } filename
View
System view
Parameter
refresh: The refresh update mode is used when the PSE processing software is available. The refresh update mode is to upgrade the original processing software in the PSE.
full: The full update mode is used when the PSE processing software is damaged. The full update mode is to delete the original damaged software in the PSE completely and then reload the PoE processing software.
filename: Update file name, with a length of 1 to 64 characters and with the extension .s19.
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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] poe update refresh 0400_001.S19
Update PoE board successfully
PoE Profile Configuration Commands
apply poe-profile
Syntax
In system view use the following commands:
apply poe-profile profile-name interface interface-type interface-number [ to interface-type interface-number ]
undo apply poe-profile profile-name interface interface-type interface-number [ to interface-type interface-number ]
In Ethernet port view use the following commands:
apply poe-profile profile-name
undo apply poe-profile profile-name
View
System view, Ethernet port view
Parameter
profile-name: 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: Port type and port number. With this argument provided, you can specify the Ethernet port on which the existing PoE profile configuration is applied in system view.
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 S3100 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 profile is 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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] apply poe-profile profile-test interface Ethernet1/0/1 to Ethernet1/0/9
display poe-profile
Syntax
display poe-profile { all-profile | interface interface-type interface-number | name profile-name }
View
Any view
Parameter
all-profile: Displays all PoE profiles.
interface-type interface-number: Port type and port number. With this argument provided, you can display the created PoE profile on a specified port.
profile-name: 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.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] display poe-profile name profile-test
Poe-profile: profile-test, 3 action
poe enable
poe max-power 5000
poe priority critical
poe-profile
Syntax
poe-profile profile-name
undo poe-profile profile-name
View
System view
Parameter
profile-name: 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 and then enter PoE profile view. If the PoE profile is already created, you will enter PoE profile view directly.
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 S3100 switch is 100.
Example
# Create a PoE profile by the name of profile-test.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] poe-profile profile-test