• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C S5500-SI系列以太网交换机 命令手册(V1.01)

33-PoE命令

本章节下载  (172.2 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S5500/S5500-SI/Command/Command_Manual/H3C_S5500-SI_CM(V1.01)/200712/326500_30005_0.htm

33-PoE命令


第1章  PoE配置命令

1.1  PoE配置命令

1.1.1  apply poe-profile

【命令】

apply poe-profile { index index | name profile-name }

undo apply poe-profile { index index | name profile-name }

【视图】

PoE接口视图

【参数】

index index:PoE配置文件的索引,取值范围为1~100。

name profile-name:PoE配置文件的名称,为1~15个字符的字符串。

【描述】

apply poe-profile命令用来将PoE配置文件应用到当前PoE接口。undo apply poe-profile命令用来取消PoE配置文件在当前PoE接口的应用。

需要注意的是,当用命令display this显示PoE接口的配置情况时,会按照PoE配置文件的索引值显示。

相关配置可参考命令display poe-profileapply poe-profile interface

【举例】

# 将名为A20的PoE配置文件应用到PoE接口GigabitEthernet1/0/2。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] apply poe-profile name A20

[Sysname-GigabitEthernet1/0/2] display this

#

interface GigabitEthernet1/0/2

apply poe-profile index 1

#

1.1.2  apply poe-profile interface

【命令】

apply poe-profile { index index | name profile-name } interface interface-range

undo apply poe-profile { index index | name profile-name } interface interface-range

【视图】

系统视图

【参数】

index index:PoE配置文件的索引,取值范围为1~100。

name profile-name:PoE配置文件的名称,为1~15个字符。

interface-range:以太网接口范围,表示多个以太网接口。表示方式为interface-rangeinterface-type interface-number [ to interface-type interface-number ]。其中, interface-type interface-number为接口类型和接口编号。起始接口号要小于结束接口号。接口范围可以任意,如果指定范围内存在不支持PoE的接口,PoE配置文件应用时将忽略这类接口。

【描述】

apply poe-profile interface命令用来将PoE配置文件应用到指定一个或多个PoE接口。undo apply poe-profile interface命令用来取消PoE配置文件在指定PoE接口的应用。

相关配置可参考命令display poe-profile interfaceapply poe-profile

【举例】

# 将名为ABC的PoE配置文件应用到PoE接口GigabitEthernet1/0/2。

<Sysname> system-view

[Sysname] apply poe-profile name ABC interface GigabitEthernet 1/0/2

# 将索引号为5的PoE配置文件应用到PoE接口GigabitEthernet1/0/2至GigabitEthernet1/0/8。

<Sysname> system-view

[Sysname] apply poe-profile index 5 interface GigabitEthernet 1/0/2 to GigabitEthernet 1/0/8

1.1.3  display poe device

【命令】

display poe device

【视图】

任意视图

【参数】

【描述】

display poe device命令用来显示所有PSE(Power Sourcing Equipment,供电设备)的ID和模块及槽位的对应关系。

【举例】

# 显示所有PSE的ID和模块及槽位的对应关系。

<Sysname> display poe device

 PSE ID  SlotNo SubSNo PortNum  MaxPower(W)  State  Model

 1       0      0      48       0            off    LSP1POEA   

表1-1 display poe device命令显示信息描述表

字段

描述

PSE ID

PSE编号

SlotNo

PSE所在槽位号

SubSNo

PSE所在子槽位号

PortNum

PSE上PoE接口的数量

MaxPower(W)

PSE最大供电功率(单位为:瓦)

State

PSE状态:

l      on    PSE正在供电

l      off    PSE停止供电

l      faulty  PSE故障

Model

PSE型号

 

1.1.4  display poe interface

【命令】

display poe interface [ interface-type interfece-number ]

【视图】

任意视图

【参数】

interface-type interfece-number:指定接口类型及接口编号。

【描述】

display poe interface命令用来显示设备指定PoE接口的供电状态。

如果不指定接口,将显示所有PoE接口的供电状态。

【举例】

# 显示PoE接口GigabitEthernet1/0/2的供电状态。

<Sysname> display poe interface GigabitEthernet 1/0/2

 Port Power Enabled               : enable

 Port Power Priority              : critical

 Port Operating Status            : on

 Port IEEE Class                  : 0

 Port Detection Status            : delivering-power

 Port Power Mode                  : signal

 Port Current Power               : 5400     mW

 Port Average Power               : 5490     mW

 Port Peak Power                  : 6500     mW

 Port Max Power                   : 15400    mW

 Port Current                     : 108      mA

 Port Voltage                     : 50.8     V

 Port PD Description              : IP Phone For Room 101

表1-2 display poe interface GigabitEthernet命令显示信息描述表

字段

描述

Port Power Enabled

PoE接口远程供电功能使能/禁用:

l      enable 使能

l      disable 禁用

Port Power Priority

PoE接口供电优先级:

l      critical 最高

l      high   高

l      low    低

Port Operating Status

PoE接口工作状态:

l      off              供电功能禁用

l      on              正在正常供电

l      power-lack       PSE剩余保证功率不够,导致无法对优先级为Critical的PoE接口供电

l      power-deny      拒绝供电,PD要求功率大于配置功率

l      power-itsel      外接设备正在自己供电

l      power-limit      正在受限供电,PD要求功率大于配置功率,PSE仍按配置功率供电

Port IEEE class

PD功率等级:0,1,2,3,4

Port Detection Status

PoE接口检测状态:

l      disabled        PoE接口供电禁止

l      searching       正在搜索PD

l      delivering-power 正在向PD供电

l      fault            错误

l      test            测试状态

l      other-fault      其他错误状态

l      pd-disconnect   PD未连接

Port Power Mode

PoE接口供电方式:signal 信号线供电方式

Port Current Power

PoE接口当前功率

包括PD消耗功率和传输损耗。一般损耗不超过1W

Port Average Power

PoE接口平均功率

Port Peak Power

PoE接口峰值功率

Port Max Power

PoE接口最大功率

Port Current

PoE接口当前电流

Port Voltage

PoE接口当前电压

Port PD Description

PoE接口所连接PD的描述信息,用于辅助用户识别PD的类型和位置等

 

# 显示设备所有PoE接口的供电状态。

<Sysname> display poe interface

 Interface  Enable   Priority  CurPower  Operating   IEEE   Detection

                                  (W)        Status      Class  Status

 GE1/0/1    disable  low       0.0       off         0      disabled

 GE1/0/2    disable  low       0.0       off         0      disabled

 GE1/0/3    disable  low       0.0       off         0      disabled

 GE1/0/4    disable  low       0.0       off         0      disabled

 GE1/0/5    disable  low       0.0       off         0      disabled

 GE1/0/6    disable  low       0.0       off         0      disabled

 GE1/0/7    disable  low       0.0       off         0      disabled

 GE1/0/8    disable  low       0.0       off         0      disabled

 GE1/0/9    disable  low       0.0       off         0      disabled

 GE1/0/10   disable  low       0.0       off         0      disabled

 GE1/0/11   disable  low       0.0       off         0      disabled

 GE1/0/12   disable  low       0.0       off         0      disabled

 GE1/0/13   disable  low       0.0       off         0      disabled

 GE1/0/14   disable  low       0.0       off         0      disabled

 GE1/0/15   enable   low       2.5       on          2      delivering-power

 GE1/0/16   enable   critical  5.6       on          0      delivering-power

 GE1/0/17   disable  low       0.0       off         0      disabled

 GE1/0/18   disable  low       0.0       off         0      disabled

 GE1/0/19   disable  low       0.0       off         0      disabled

 GE1/0/20   disable  low       0.0       off         0      disabled

 GE1/0/21   disable  low       0.0       off         0      disabled

 GE1/0/22   disable  low       0.0       off         0      disabled

 GE1/0/23   disable  low       0.0       off         0      disabled

 GE1/0/24   disable  low       0.0       off         0      disabled

  ---  2 port(s) on,    8.1 (W) consumed,   91.9 (W) remaining ---

表1-3 display poe interface命令显示信息描述表

字段

描述

Interface

PoE接口名称简称

Enable

PoE接口远程供电功能使能/禁用:

l      enable 使能

l      disable 禁用

Priority

PoE接口供电优先级:

l      critical 最高

l      high   高

l      low    低

CurPower

PoE接口当前功率

Operating Status

PoE接口工作状态:

l      off             供电功能禁用

l      on             正在正常供电

l      power-lack PSE 剩余保证功率不够,导致无法给Critical接口供电

l      power-deny     拒绝供电,PD要求功率大于配置功率

l      power-itself     外接设备正在自己供电

l      power-limit      正在受限供电,PD要求功率大于配置功率,PSE仍按配置功率供电

IEEE class

由IEEE所规定的PD功率等级

Detection Status

PoE接口检测状态:

l      disabled         接口供电禁止

l      searching        正在搜索PD

l      delivering-power  正在向PD供电

l      fault             错误

l      test             测试状态

l      other-fault       其他错误状态

l      pd-disconnect   PD未连接

port(s) on

正在供电的PoE接口数量

consumed

当前供电PoE接口消耗的功率

Remaining

系统总剩余功率

 

1.1.5  display poe interface power

【命令】

display poe interface power [ interface-type interface-number ]

【视图】

任意视图

【参数】

interface-type interface-number:指定接口类型及接口编号。

【描述】

display poe interface power命令用来显示PoE接口的功率信息。

如果不指定接口,将显示所有PoE接口的功率信息。

【举例】

# 显示PoE接口GigabitEthernet1/0/2的功率信息。

<Sysname> display poe interface power GigabitEthernet 1/0/2

Interface  CurPower PeakPower MaxPower PD Description

            (W)        (W)        (W)             

 GE1/0/2  15.0       15.3       15.4      Access Point on Room 509 for Peter

# 显示所有PoE接口的功率信息。

<Sysname> display poe interface power

 Interface   CurPower  PeakPower   MaxPower  PD Description

             (W)       (W)         (W)

 GE1/0/1     0.0       0.0         15.4

 GE1/0/2     0.0       0.0         15.4

 GE1/0/3     0.0       0.0         15.4

 GE1/0/4     0.0       0.0         15.4

 GE1/0/5     0.0       0.0         15.4

 GE1/0/6     0.0       0.0         15.4

 GE1/0/7     0.0       0.0         15.4

 GE1/0/8     0.0       0.0         15.4

 GE1/0/9     0.0       0.0         15.4

 GE1/0/10    0.0       0.0         15.4

 GE1/0/11    0.0       0.0         15.4

 GE1/0/12    0.0       0.0         15.4

 GE1/0/13    0.0       0.0         15.4

 GE1/0/14    0.0       0.0         15.4

 GE1/0/15    2.4       2.6         15.4

 GE1/0/16    5.5       6.5         15.4

 GE1/0/17    0.0       0.0         15.4

 GE1/0/18    0.0       0.0         15.4

 GE1/0/19    0.0       0.0         15.4

 GE1/0/20    0.0       0.0         15.4

 GE1/0/21    0.0       0.0         15.4

 GE1/0/22    0.0       0.0         15.4

 GE1/0/23    0.0       0.0         15.4

 GE1/0/24    0.0       0.0         15.4

  ---  2 port(s) on,    7.9 (W) consumed,   92.1 (W) remaining ---

表1-4 display poe interface power命令显示信息描述表

字段

描述

Interface

PoE接口简称

CurPower

PoE接口当前功率

PeakPower

PoE接口峰值功率

MaxPower

PoE接口最大功率

PD Description

PoE接口连接PD描述信息。当显示的字符串长度超过34时,显示30个字符,其后面加“....”

port(s) on

正在供电的PoE接口数量

consumed

所有PoE接口当前消耗功率

Remaining

系统总剩余功率

 

1.1.6  display poe pse

【命令】

display poe pse

【视图】

任意视图

【参数】

【描述】

display poe pse命令用来显示设备的PSE信息。

【举例】

# 显示设备的PSE的信息。

<Sysname> display poe pse

 PSE ID                           : 1

 PSE Slot No                      : 1

 PSE SubSlot No                   : 0

 PSE Model                        : LSP1LTSUC

 PSE Current Power                : 9        W

 PSE Average Power                : 9        W

 PSE Peak Power                   : 10       W

 PSE Max Power                    : 370      W

 PSE Remaining Guaranteed         : 370      W

 PSE CPLD Version                 : -

 PSE Software Version             : 501

 PSE Hardware Version             : 1

 PSE Legacy Detection             : disable

 PSE Utilization-threshold        : 80

 PSE Pd-policy Mode               : disable

 PSE PD Disconnect Detect Mode    : AC

表1-5 display poe pse命令显示信息描述表

字段

描述

PSE ID

PSE编号

PSE Slot No

PSE所在槽号

PSE SubSlot No

PSE所在子槽位号

PSE Model

PSE模块型号

PSE Power Enabled

PSE供电使能状态

PSE Power Preempted

PSE供电抢占状态

l      no 表示该PSE没有被抢占

l      yes 表示该PSE虽然被使能了,但是被其他PSE抢占了,无法供电

PSE Power Priority

PSE供电优先级

PSE Current Power

PSE当前功率

PSE Average Power

PSE平均功率

PSE Peak Power

PSE峰值功率

PSE Max Power

PSE最大功率

PSE Remaining Guaranteed

PSE剩余保证功率=PSE最大功率-该PSE中优先级为Critical的接口最大功率之和

PSE CPLD Version

PSE CPLD版本

PSE Software Version

PSE软件版本

PSE Hardware Version

PSE硬件版本

PSE Legacy Detection

PSE非标准PD检测:

l      enable 使能

l      disable 禁用

PSE Utilization-threshold

PSE功率告警阈值

PSE Pse-policy Mode

PSE功率管理策略模式

PSE Pd-policy Mode

PD功率管理策略模式

PSE PD Disconnect Detect Mode

PD断开检测方式

 

1.1.7  display poe-profile

【命令】

display poe-profile [ index index | name profile-name ]

【视图】

任意视图

【参数】

index index:PoE配置文件的索引,取值范围为1~100。

name profile-name:PoE配置文件的名称,为1~15个字符的字符串。

【描述】

display poe-profile命令用来显示PoE配置文件的配置和应用的所有信息。

如果不指定参数,将显示当前已存在的PoE配置文件的配置和应用的所有信息。

【举例】

# 显示当前的PoE配置文件的配置和应用的所有信息。

<Sysname> display poe-profile

Poe-profile       Index  ApplyNum  Interface   Configuration

 AA3456789012345  1      3           GE1/0/1        poe enable

                                     GE1/0/2        poe priority critical

                                     GE1/0/3

 poe-profileAA    2      1           GE1/0/4       poe enable           

                                                   poe max-power 12300  

 

 poe-profileBB    3      0                         poe enable          

                                                   poe priority critical

                                                   poe max-power 15400 

 

 ---  3 poe-profile(s) created, 4 port(s) applied  --- 

表1-6 display poe-profile命令显示信息描述表

字段

描述

Poe-profile

PoE配置文件的名称

Index

PoE配置文件的索引

ApplyNum

应用到的PoE接口数量

Interface

应用了PoE配置文件的PoE接口名称简称

Configuration

PoE配置文件的配置项

poe-profile(s) created

创建的PoE配置文件数目

port(s) applied

应用PoE配置文件的PoE接口数目

 

# 显示索引为1的PoE配置文件的配置和应用的信息。

<Sysname> display poe-profile index 1

 Poe-profile      Index  ApplyNum  Interface  Configuration

 AA3456789012345  1      2           GE1/0/2       poe enable

                                     GE1/0/4       poe priority critical

                                                   poe max-power 12300

                                          

 ---  2 port(s) applied  ---              

表1-7 display poe-profile index命令显示信息描述表

字段

描述

Poe-profile

PoE配置文件的名称

Index

PoE配置文件的索引

ApplyNum

应用到的PoE接口数量

Interface

应用了PoE配置文件的PoE接口名称简称

Configuration

PoE配置文件的配置项

port(s) applied

所有应用指定PoE配置文件的PoE接口数目

 

# 显示PoE配置文件AA的配置和应用的信息。

<Sysname> display poe-profile name AA

 Poe-profile      Index  ApplyNum  Interface  Configuration

 AA                 1       2          GE1/0/1       poe enable

                                       GE1/0/2       poe priority critical

                                                     poe max-power 12300

---  2 port(s) applied  ---

表1-8 display poe-profile name命令显示信息描述表

字段

描述

Poe-profile

PoE配置文件的名称

Index

PoE配置文件的索引

ApplyNum

应用到的PoE接口数量

Interface

应用了PoE配置文件的PoE接口名称简称

Configuration

PoE配置文件的配置项

port(s) applied

所有应用的PoE接口数目

 

1.1.8  display poe-profile interface

【命令】

display poe-profile interface interface-type interface-number

【视图】

任意视图

【参数】

interface-type interfece-number:指定接口类型及接口编号。

【描述】

display poe-profile interface命令用来显示指定PoE接口当前生效的PoE配置文件配置项和应用的所有信息。

【举例】

# 显示PoE接口GigabitEthernet1/0/2的当前PoE配置文件配置和应用的所有信息。

<Sysname> display poe-profile interface GigabitEthernet 1/0/2

Poe-profile      Index  ApplyNum  Interface  Current Configuration

AA3456789012345  1      2           GE1/0/2    poe enable

                                               poe priority critical

表1-9 display poe-profile interface命令显示信息描述表

字段

描述

Poe-profile

PoE配置文件的名称

Index

PoE配置文件的索引

ApplyNum

应用到的PoE接口数量

Interface

应用了PoE配置文件的PoE接口名称简称

Current Configuration

PoE接口当前生效的PoE配置文件的配置项

 

&  说明:

因为PoE配置文件的配置项(Configuration)可能不是全部应用成功,所以显示的是该接口当前生效的PoE配置文件的配置项(Current Configuration)。

 

1.1.9  poe disconnect

【命令】

poe disconnect { ac | dc }

undo poe disconnect

【视图】

系统视图

【参数】

ac:PD断开检测方式为交流检测方式。

dc:PD断开检测方式为直流检测方式。

【描述】

poe disconnect命令用来配置PD断开检测的方式。undo poe disconnect命令用来恢复缺省情况。

缺省情况下,PD断开检测的方式为AC。

需要注意的是,改变PD断开的检测方式,可能导致连接的PD断电。

【举例】

# 配置PD断开检测的方式直流检测方式。

<Sysname> system-view

[Sysname] poe disconnect dc

1.1.10  poe enable

【命令】

poe enable

undo poe enable

【视图】

PoE接口视图/PoE配置文件视图

【参数】

【描述】

poe enable命令用来使能PoE接口远程供电功能。undo poe enable命令用来禁用PoE接口远程供电功能。

缺省情况下,PoE接口远程供电功能为禁用状态。

  注意:

l      在PoE配置文件视图下配置时,如果该PoE配置文件已经应用到PoE接口,需先取消该PoE配置文件在PoE接口的应用。

l      在接口视图下配置时,若已用PoE配置文件对该PoE接口进行过配置,应先取消PoE配置文件在该PoE接口的应用。

 

【举例】

# 使能PoE接口远程供电功能。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] poe enable

# 通过PoE配置文件使能PoE接口远程供电功能。

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe enable

[Sysname-poe-profile-abc-1] quit

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] apply poe-profile name abc

1.1.11  poe legacy enable

【命令】

poe legacy enable

undo poe legacy enable

【视图】

系统视图

【参数】

【描述】

poe legacy enable命令用来使能PSE的检测非标准PD功能。undo poe legacy enable命令用来禁用PSE的检测非标准PD功能。

缺省情况下,PSE检测非标准PD功能是禁止状态。

【举例】

# 使能PSE的检测非标准PD功能。

<Sysname> system-view

[Sysname] poe legacy enable

1.1.12  poe max-power

【命令】

poe max-power max-power

undo poe max-power

【视图】

PoE接口视图/PoE配置文件视图

【参数】

max-power:为PoE接口分配的最大供电功率,取值范围为1000~15400,单位为毫瓦。

【描述】

poe max-power命令用来配置PoE接口最大供电功率。undo poe max-power命令用来恢复为缺省情况。

缺省情况下,PoE接口配置了最大供电功率为15400毫瓦。

【举例】

# 配置PoE接口的最大供电功率为12000毫瓦。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] poe max-power 12000

# 通过PoE配置文件配置PoE接口的最大供电功率为12000毫瓦。

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe max-power 12000

[Sysname-poe-profile-abc-1] quit

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc

1.1.13  poe mode

【命令】

poe mode signal

undo poe mode

【视图】

PoE接口视图/PoE配置文件视图

【参数】

【描述】

poe mode signal命令用来配置PoE接口远程供电模式为信号线供电方式。undo poe mode命令用来恢复缺省情况。

缺省情况下,PoE接口远程供电模式为采用信号线供电。

【举例】

# 配置PoE接口远程供电的方式为采用信号线供电。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] poe mode signal

# 通过PoE配置文件配置PoE接口远程供电的方式为采用信号线供电。

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe mode signal

[Sysname-poe-profile-abc-1] quit

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc

1.1.14  poe pd-description

【命令】

poe pd-description string

undo poe pd-description

【视图】

PoE接口视图

【参数】

string:PoE接口连接PD的描述信息,为1~80个字符的字符串。

【描述】

poe pd-description命令用来配置PoE接口连接PD的描述信息。undo poe pd-description命令用来恢复缺省情况。

缺省情况下,PoE接口连接PD的描述信息为空,即没有描述信息。

【举例】

# 配置PoE接口连接PD的描述信息为连接101室的IP电话。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] poe pd-description IP Phone For Room 101

1.1.15  poe pd-policy priority

【命令】

poe pd-policy priority

undo poe pd-policy priority

【视图】

系统视图

【参数】

【描述】

poe pd-policy priority命令用来配置PD功率管理优先级策略。undo poe pd-policy priority命令用来取消配置PD功率管理优先级策略。

缺省情况下,未配置PD功率管理优先级策略。

【举例】

# 配置PD功率管理优先级策略。

<Sysname> system-view

[Sysname] poe pd-policy priority

1.1.16  poe priority

【命令】

poe priority { critical | high | low }

undo poe priority

【视图】

PoE接口视图/PoE配置文件视图

【参数】

critical:配置PoE接口供电优先级为最高,即将该PoE接口置为供电保证模式,插入该接口的PD可以最高优先级得到供电。

high:配置PoE接口供电优先级为高。

low配置PoE接口供电优先级为低。

【描述】

poe priority命令用来配置PoE接口供电优先级。undo poe priority命令用来恢复缺省情况。

缺省情况下,PoE接口供电优先级为low

需要注意的是:

l              当设备对外供电功率不足情况下,优先对供电优先级高的PoE接口进行供电。

l              在PoE配置文件视图下配置时,如果该PoE配置文件已经应用到PoE接口,需先取消该PoE配置文件在PoE接口的应用。

l              在PoE接口视图下配置时,若已用PoE配置文件对该PoE接口进行过配置应先取消PoE配置文件在该PoE接口的应用。

l              如果配置了相同的优先级,编号小的PoE接口的优先级高。

【举例】

# 配置PoE接口供电优先级为Critical。

<Sysname> system-view

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] poe priority critical

# 通过PoE配置文件配置PoE接口供电优先级为Critical。

<Sysname> system-view

[Sysname] poe-profile abc

[Sysname-poe-profile-abc-1] poe priority critical

[Sysname-poe-profile-abc-1] quit

[Sysname] interface GigabitEthernet 1/0/2

[Sysname-GigabitEthernet1/0/2] apply poe-profile name abc

1.1.17  poe update

【命令】

poe update { full | refresh } filename

【视图】

系统视图

【参数】

fullPSE处理软件不可用时使用full升级模式。

refreshPSE处理软件可用时使用refresh升级模式。

filename:升级文件的名称,取值范围为164个字符。该文件必须在设备文件系统的根目录下。升级文件的扩展名为.s19。

【描述】

poe update命令用来在线升级PSE处理软件。

【举例】

# 在线升级PSE处理软件。

<Sysname> system-view

[Sysname] poe update refresh 0400_001.S19

1.1.18  poe utilization-threshold

【命令】

poe utilization-threshold utilization-threshold-value

undo poe utilization-threshold

【视图】

系统视图

【参数】

utilization-threshold-value:功率告警阈值,取值范围为1~99,单位为百分比。

【描述】

poe utilization-threshold命令用来配置PSE的功率告警阈值。undo poe utilization-threshold命令用来恢复PSE的功率告警阈值为缺省值。

缺省情况下,PSE的功率告警阈值为80%。

需要注意的是,功率使用百分比超过告警阈值时,系统将发送Trap告警信息一次。若功率使用百分比一直在告警阈值之上,系统不再告警;而是当功率使用百分比降低到告警阈值之下时,系统产生一个Trap告警信息。

【举例】

# 配置PSE的功率告警阈值为90%。

<Sysname> system-view

[Sysname] poe utilization-threshold 90

1.1.19  poe-profile

【命令】

poe-profile profile-name [ index ]

undo poe-profile { index index | name profile-name }

【视图】

系统视图

【参数】

profile-namePoE配置文件的名称,为115个字符的字符串,以英文字母[a-z,A-Z]开始,并且不能为保留关键字undoallnameinterfaceuserpoedisablemax-powermodepriorityenable等。

indexPoE配置文件的索引,取值范围为1100

【描述】

poe-profile profile-name命令用来创建PoE配置文件,并进入PoE配置文件视图。undo poe-profile命令用来删除指定的PoE配置文件。

如果不指定索引值,系统会为此PoE配置文件都自动分配索引,从1开始。

需要注意的是,如果PoE配置文件已经应用,不允许删除该PoE配置文件。必须先执行undo apply poe-profile,取消PoE配置文件在指定PoE接口的应用后,才能删除该PoE配置文件。

【举例】

# 用指定索引方式创建的PoE配置文件abc,索引号为3

<Sysname> system-view

[Sysname] poe-profile abc 3

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们