PoE Profile 目录
目录
第1章 PoE Profile配置...........................................................................................................1-1
1.1 PoE Profile简介..................................................................................................................1-1
1.2 PoE Profile配置..................................................................................................................1-1
1.2.1 PoE Profile配置任务................................................................................................1-1
1.2.2 PoE-Profile配置举例................................................................................................1-3第2章 PoE Profile配置命令....................................................................................................2-1
2.1 PoE Profile配置命令..........................................................................................................2-1
2.1.1 poe-profile...............................................................................................................2-1
2.1.2 apply poe-profile......................................................................................................2-1
2.1.3 display poe-profile...................................................................................................2-2
在用户移动的网络中或大型网络中,为了方便网管人员对交换机PoE (Power over PoE Profile 的特点:
E Profile ,针对不同用户群制定的PoE 策略配置存放在相应z
1.2 PoE Profile 配置
1.2.1 PoE Profile 配置任务
PoE Profile 的配置过程如下:
表1-1 PoE Profile 配置
第1章 PoE Profile 配置
1.1 PoE Profile 简介
Ethernet ,远程供电)特性的管理,S3900系列以太网交换机上提供了PoE Profile 特性。
z
可创建不同的Po 的用户PoE Profile 中,并在用户群使用的端口上应用相应的PoE Profile 。
当用户在应用了PoE Profile 的任意端口上连接PD 设备时,交换机会将此端口对应PoE Profile 中的PoE 配置应用到PD 设备上。
操作
命令
说明
进入系统视图system-view
-
创建PoE Profile
poe-profile profilename
选
的同时进入PoE 必创建PoE Profile Profile 视图
操作命令说明
使能端口远程供
电特性
poe enable必选
配置以太网端口PoE供电方式poe mode { signal | spare }
可选
缺省情况下,端口供
电的方式为采用信
号线供电
配置以太网端口PoE供电优先级poe priority { critical | high | low }
可选
缺省情况下,端口的
供电优先级为low
配置PoE Profile中的相关特性
配置以太网端口最大供电功率poe max-power max-power
可选
缺省情况下,端口的
最大供电功率为
15400毫瓦
退回系统视图quit -
系统视图下,在指定的以太网端口上应用已经存在的PoE Profile的配置apply poe-profile profilename interface interface-type interface-number [ to
interface-type interface-number ]
进入以太网端口视图interface interface-type interface-number
在端口上应用已经存在的PoE Profile的配置apply poe-profile profilename
必选
具体在系统视图下
配置还是在端口视
图下配置,用户可选
(二选一)
显示交换机上已经创建的PoE Profile的详细配置信息display poe-profile { all-profile |
interface interface-type
interface-number | name
profilename }
display命令可以在
任意视图下执行
说明:
一个PoE Profile中可以设置多个PoE特性,使用apply poe-profile命令将PoE Profile应用在一组端口上时:
z只要PoE Profile中有一个PoE特性在某端口上被正确应用,则使用display current-configuration命令查询时就会显示此PoE Profile被该端口正确应用。z若PoE Profile中有一个或多个PoE特性未被端口正确应用,则显示终端上会明确的显示出该PoE Profile中哪个PoE特性在哪个端口上未被正确应用。
注意:
z PoE Profile 中的配置是全局配置,在IRF 系统中始终保持全局同步。
z
当Unit 合并时,将合并生成的新的Fabric 。新生成的Fabric 中Unit ID 号最小的Unit 中的PoE Profile 配置,将作为当前Fabric 中的PoE Profile 配置。
z
当Fabric 分裂时,将分裂生成多个新的Fabric 。各个新生成的Fabric 中Unit 的PoE Profile 配置仍保持分裂前的配置。
1.2.2 PoE-Profile 配置举例
1. 组网需求
S3928P-PWR Ethernent1/0/1~Ethernet1/0/10A 口,A 集团用户需求如下:
交换机上端口为集团用户使用端z 所有使用端口都能提供PoE 远程供电功能; z
z
1/0/5端口的供电优先级为Critical ,Ethernet1/0/6~z
3000mW ,~因此为:
z Ethernet1/0/1~Ethernet1/0/5端口上应用PoE Profile1; z
采用信号线进行供电;Ethernet1/0/1~Ethernet Ethernet1/0/10端口的供电优先级为High ;
Ethernet1/0/1~Ethernet1/0/5端口所需最大功率为Ethernet1/0/6Ethernet1/0/10端口所需最大功率为15400mW 。
A 集团用户制定两个PoE Profile Ethernet1/0/6~Ethernet1/0/10端口上应用PoE Profile2。
图1-1 PoE-Profile 组网示意图
2. 配置步骤
# Profile1PoE Profile
创建,并进入视图。
rofile1
# Profile1A Ethernet1/0/1~Ethernet1/0/5端口制定的PoE [Quidway-poe-profile-Profile1] poe enable nal ical # Profile1
[Quidway] poe-profile profile2
[Quidway] poe-profile P 在中添加为集团用户策略配置。
[Quidway-poe-profile-Profile1] poe mode sig [Quidway-poe-profile-Profile1] poe priority crit [Quidway-poe-profile-Profile1] poe max-power 3000 [Quidway-poe-profile-Profile1] quit
显示已经创建的的详细配置信息[Quidway] display poe-profile name Profile1
# 创建Profile2,并进入poe-profile 视图。
Ethernet1/0/6~Ethernet1/0/10端口制定的PoE -profile-Profile2] poe enable nal 息
le2
0/1~Ethernet1/0/5
hernet1/0/5
1/0/6 to # 在Profile2中添加为A 集团用户策略配置。
[Quidway-poe [Quidway-poe-profile-Profile2] poe mode sig [Quidway-poe-profile-Profile2] poe priority high [Quidway-poe-profile-Profile2] poe max-power 15400[Quidway-poe-profile-Profile2] quit
# 显示已经创建的Profile2的详细配置信[Quidway] display poe-profile name profi # 将配置好的策略Profile1应用到端口Ethernet1/[Quidway] apply poe-profile profile1 interface ethernet1/0/1 to et # 将配置好的策略Profile2应用到端口Ethernet1/0/6~Ethernet1/0/10
[Quidway] apply poe-profile profile2 interface ethernet ethernet1/0/10
2.1.1 poe-profile
【命令】
poe-profile profilename ame
【视图】
系统视图
【参数】
profilename :PoE Profile 名称,为1~15个字符的字符串,以英文字母[a-z,A-Z]开始,并且不能为保留关键字all 、interface 、user 、undo 、mode 。
【描述】
来取消已经创建的PoE Profile 。
S3900系列交换机上最多可配256个PoE Profile 。
【举例】
System View: return to User View with Ctrl+Z. [Quidway] poe-profile profile-test
2.1.2 apply poe-profile
【命令】
系统视图下命令如下:
file profilename interface interface-type interface-number [ to interface-type interface-number ]
undo apply poe-profile profilename interface interface-type interface-number mber ]
第2章 PoE Profile 配置命令
2.1 PoE Profile 配置命令
undo poe-profile profilen poe-profile 命令用来创建一个PoE Profile 。undo poe-profile 命令用# 创建一个名称为profile-test 的PoE Profile 。
apply poe-pro [ to interface-type interface-nu
【视图】
系统视图
【参数】
profilename :PoE profile 名称,名字的取值范围为1~15个字符,并且不能为保留关键字all 、interface 、user 、undo 、mode 。
pe interface-number :interface-type 为端口类型,interface-number 为端口编号。
应用在指定以太网端口上的PoE 口上只能应用一个PoE Profile 。 说明:
以太网端口视图下命令如下: apply poe-profile profilename undo apply poe-profile profilename
interface-ty 【描述】
apply poe-profile 命令用来在指定的以太网端口上应用已经存在的PoE Profile 的配置。undo apply poe-profile 命令用来取消Profile 配置。
每个以太网端一个PoE Profile 中可以设置多个PoE 特性,使用apply poe-profile 命令将PoE figuration 命令查询时就会显示此PoE Profile 被该端口正确应用。 若PoE Profile 中有一个或多个 Profile 应用在一组端口上时:
z 只要PoE Profile 中有一个PoE 特性在某端口上被正确应用,则使用display current-con z PoE 特性未被端口正确应用,则显示终端上会明确的显示出该PoE Profile 中哪个PoE 特性在哪个端口上未被正确应用。
【举例】
Eth System View: return to User View with Ctrl+Z.
Quidway] apply poe-profile profile-test interface ethernet1/0/1 to ethernet1/0/9
2.1.3 display poe-profile
【命令】
# 将已存在的PoE Profile (profile-test )的配置,应用到交换机以太网端口ernet1/0/1~Ethernet1/0/9上。
[
| interface interface-type interface-number | 【视图】
任意视图
【参数】
interface-type interface-number :interface-type 为端口类型,interface-number 为名字的PoE profile ,名字的取值范围为1~15个字符,并且不能为保留关键字all 、interface 、user 、undo 、user-based 、port-based 等。
【描述】
display poe-profile 命令用来显示交换机上已经创建的PoE Profile 的详细配置信息。
【举例】
profile-test 的PoE Profile 的详细配置信息。
[Quidway] display e a o e
display poe-profile { all-profile name profilename }
端口编号。
profilename :显示指定# 显示名称为
System View: return to User View with Ctrl+Z. po -profile n me pr file-t st