![Huawei V100R006C00 Скачать руководство пользователя страница 128](http://html.mh-extra.com/html/huawei/v100r006c00/v100r006c00_configuration-manual_169533128.webp)
Data Preparation
To complete the configuration, you need the following data:
l
Number of an interface on which PoE is to be enabled
l
Maximum power consumption of an interface
Configuration Procedure
1.
# Enable PoE on GE 0/0/1 of Switch, and configure the maximum power and the power
supply priority GE 0/0/1.
<Switch>
system-view
[Switch]
interface gigabitethernet 0/0/1
[Switch-GigabitEthernet0/0/1]
poe enable
[Switch-GigabitEthernet0/0/1]
poe power 12000
[Switch-GigabitEthernet0/0/1]
poe priority critical
[Switch-GigabitEthernet0/0/1]
quit
2.
# Enable PoE on GE 0/0/2 of Switch, and set the maximum power consumption of GE 0/0/2
to 20000 mW.
[Switch]
interface gigabitethernet 0/0/2
[Switch-GigabitEthernet0/0/2]
poe enable
[Switch-GigabitEthernet0/0/2]
poe power 20000
[Switch-GigabitEthernet0/0/2]
quit
3.
# Enable PoE on GE 0/0/3 of Switch, and set the maximum power consumption of GE 0/0/3
to 2500 mW.
[Switch]
interface gigabitethernet 0/0/3
[Switch-GigabitEthernet0/0/3]
poe enable
[Switch-GigabitEthernet0/0/3]
poe power 2500
[Switch-GigabitEthernet0/0/3]
quit
4.
# Configure the power supply management of Switch to be in automatic mode.
[Switch]
poe power-management auto
Configuration Files
Configuration file of Switch
#
sysname Switch
#
interface GigabitEthernet0/0/1
poe power 12000
poe priority critical
#
interface GigabitEthernet0/0/2
poe power 20000
#
interface GigabitEthernet0/0/3
poe power 2500
#
interface GigabitEthernet0/0/4
#
return
Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
8 PoE Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
119