- Table of Contents
-
- H3C S3600 Command Manual-Release 1602(V1.02)
- 00-1Cover
- 01-CLI Command
- 02-Login Command
- 03-Configuration File Management Command
- 04-VLAN Command
- 05-IP Address and Performance Command
- 06-Voice VLAN Command
- 07-GVRP Command
- 08-Port Basic Configuration Command
- 09-Link Aggregation Command
- 10-Port Isolation Command
- 11-Port Security-Port Binding Command
- 12-DLDP Command
- 13-MAC Address Table Management Command
- 14-Auto Detect Command
- 15-MSTP Command
- 16-Routing Protocol Command
- 17-Multicast Command
- 18-802.1x and System Guard Command
- 19-AAA Command
- 20-Web Authentication Command
- 21-MAC Address Authentication Command
- 22-VRRP Command
- 23-ARP Command
- 24-DHCP Command
- 25-ACL Command
- 26-QoS-QoS Profile Command
- 27-Web Cache Redirection Command
- 28-Mirroring Command
- 29-IRF Fabric Command
- 30-Cluster Command
- 31-PoE-PoE Profile Command
- 32-UDP Helper Command
- 33-SNMP-RMON Command
- 34-NTP Command
- 35-SSH Command
- 36-File System Management Command
- 37-FTP-SFTP-TFTP Command
- 38-Information Center Command
- 39-System Maintenance and Debugging Command
- 40-VLAN-VPN Command
- 41-HWPing Command
- 42-IPv6 Management Command
- 43-DNS Command
- 44-Smart Link-Monitor Link Command
- 45-Access Management Command
- 46-Appendix
- Related Documents
-
Title | Size | Download |
---|---|---|
31-PoE-PoE Profile Command | 74.9 KB |
Table of Contents
display poe temperature-protection
2 PoE Profile Configuration Commands
PoE Profile Configuration Commands
The newly added function is upgrading the PoE module of the fabric switch remotely. See update fabric for details.
PoE Configuration Commands
display poe interface
Syntax
display poe interface [ interface-type interface-number ]
View
Any view
Parameters
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.
Examples
# 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 display poe interface command output description
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: 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 on enable signal low Standard PD was detected
Ethernet1/0/2 on enable signal low Standard PD was detected
Ethernet1/0/3 off enable signal low detection is in process
Ethernet1/0/4 off enable signal low detection is in process
Ethernet1/0/5 off enable signal low detection is in process
Ethernet1/0/6 off enable signal low detection is in process
Ethernet1/0/7 off enable signal low detection is in process
Ethernet1/0/8 on enable signal critical Standard PD was detected
……
<Omitted>
Table 1-2 display poe interface command output description
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 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
Parameters
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.
Examples
# 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
Parameters
None
Description
Use the display poe powersupply command to view the parameters of the power sourcing equipment (PSE).
Examples
# 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 :300000 mW
PSE Peak Value :0 mW
PSE Average Value :0 mW
PSE Software Version :290
PSE Hardware Version :000
PSE CPLD Version :078
PSE Power-Management mode :auto
Table 1-3 display poe powersupply command output description
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: l 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 l 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
Parameters
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.
Examples
# 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
Parameters
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.
Examples
# 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
Parameters
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. When the PD compatibility detection function is enabled, the switch can detect non-standard PDs.
By default, the PD compatibility detection function is disabled.
Examples
# 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
Parameters
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 15400 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.
You can use the display poe interface and display poe interface power commands to display the power supply information of a port.
Examples
# Set the maximum power supplied by Ethernet 1/0/3 to 15000 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
Parameters
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 S3600 series Ethernet switches do not support the spare mode currently.
Examples
# 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
Parameters
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.
You can use the poe priority command to set the PoE priority of a port.
Examples
# 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
Parameters
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 18.8 W.
2) When the auto PoE management mode is adopted:
l If a PD is plugged into the port with a higher priority when the available power of the PSE is less than 18.8 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 18.8 W and there is no port with low priority, the port with the inserted PD cannot supply power.
Examples
# 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
Parameters
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.
Examples
# 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
Parameters
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.
Examples
# 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
update fabric
Syntax
update fabric { file-url | device-name file-url }
User view
Parameters
file-url: File path + file name of the host software in the flash memory, a string of 1 to 64 characters. The specified PSE processing software is a file with the extension .s19.
device-name: Specified device in the fabric, in the format of unit[NO.]>flash:, which means that the target file is saved in the flash of this device.
Description
Use the update fabric command to upgrade the PSE processing software of the fabric switch remotely on any device in the fabric.
Examples
# Upgrade the PSE processing software poe2046.s19 in the flash of unit 2 to upgrade the PSE processing software of all the units in the fabric.
<Sysname> update fabric unit2>flash:/poe2046.s19
This will update the Fabric. Continue? [Y/N] y
The software is verifying ...
The result of verification is :
Unit ID Free space(bytes) Enough Version comparison
1 2588900 Y Y
2 2591972 Y Y
warning: the verification is completed, start the file transmission? [Y/N] y
The fabric is being updated, 100%
The poe2046.s19 is stored on unit 1 successfully!
The poe2046.s19 is stored on unit 2 successfully!
Do you want to set poe2046.s19 to be running agent next time to boot?[Y/N] y
The poe2046.s19 is configured 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
Parameters
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 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 profile is applied to a port. However, the command cannot be used to query which PoE features in a PoE profile are applied successfully.
Examples
# Apply the existing PoE profile (profile-test) configuration to ports Ethernet 1/0/1 through Ethernet 1/0/9 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
Parameters
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.
Related commands: poe-profile, apply poe-profile.
Examples
# 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
Parameters
profile-name: Name of 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.
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 S3600 switch is 100.
Related commands: display poe-profile, apply poe-profile.
Examples
# 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