在 Junos Fusion 中配置以太网供电
PoE 可配置选项
表 1 显示了 Junos Fusion 中可配置的 PoE 选项及其默认设置。
某些 PoE 选项可以全局配置,也可以按接口配置。如果 PoE 接口设置不同于全局 PoE 设置,则会在接口上配置 PoE 接口设置。
选择 |
违约 |
描述 |
---|---|---|
disable (Power over Ethernet) |
不包含在默认配置中。
注意:
默认情况下,Junos Fusion 中的 PoE 端口处于禁用状态。 |
如果启用了 PoE,则禁用接口上的 PoE。该接口保持网络连接,但不再为连接的受电设备供电。电源未分配给接口。 |
guard-band |
0 W |
从 PoE 功率预算中预留指定数量的功率,以应对 PoE 功耗可能的高峰。 在 Junos Fusion 中,保护带可以是 0 到 19 W。 |
management |
class |
设置扩展端口的 PoE 电源管理模式。电源管理模式决定了 PoE 扩展端口的电源分配方式:
|
maximum-power (Interface) |
30.0W (PoE+, IEEE 802.3at) |
设置当电源管理模式为 static时,PoE 接口可提供的最大功率。 在 Junos Fusion 中,所有扩展端口都支持 PoE+,因此最大功率高达 30 W。 如果电源管理模式为 class,则忽略此设置。 |
priority (Power over Ethernet) |
low |
将接口的电源优先级设置为 low 或 high。如果所有 PoE 接口的电源都不足,则在关闭高优先级接口的电源之前,会先关闭低优先级接口的 PoE 电源。在具有相同分配优先级的接口中,电源优先级由端口号决定,编号越低的端口优先级越高。 |
启用 PoE
默认情况下,Junos Fusion 中的所有扩展端口都会禁用 PoE。
要在所有支持 PoE 的接口上启用 PoE,请执行以下作:
[edit] user@aggregation-device# set poe interface all-extended
要在支持 PoE 的特定接口上启用 PoE,请执行以下作:
[edit] user@aggregation-device# set poe interface interface-name
例如,要在扩展端口接口 ge-100/0/24 上启用 PoE:
[edit] user@aggregation-device# set poe interface ge-100/0/24
禁用 PoE
默认情况下,PoE 在 Junos Fusion 中处于禁用状态。使用此过程可在之前启用了 PoE 的 Junos Fusion 中禁用 PoE。
如果 PoE 已全局启用,但在特定接口上禁用,则在指定接口上禁用 PoE。因此,此过程可用于在全局启用 PoE 的情况下单独禁用端口。
如果要在 Junos Fusion 的所有扩展端口接口上禁用 PoE:
[edit] user@aggregation-device# set poe interface all-extended disable
如果要在一个扩展端口接口上禁用 PoE:
[edit] user@aggregation-device# set poe interface interface-name disable
例如,要在 Junos Fusion 的扩展端口 101/0/1 上禁用 PoE:
[edit] user@aggregation-device# set poe interface 101/0/1 disable
如果要在 Junos Fusion 中除 101/0/10 之外的所有 PoE 支持的扩展端口上启用 PoE,请输入以下命令:
[edit] user@aggregation-device# set poe interface all-extendeduser@aggregation-device# set poe interface 101/0/10 disable
设置电源管理模式
Junos Fusion 中的电源管理模式是为 Junos Fusion 中的所有扩展端口设置的。
默认电源管理模式为类。
要将所有 PoE 扩展端口的电源管理模式设置为静态:
[edit] user@aggregation-device# set poe management static
要将所有 PoE 扩展端口的电源管理模式设置回同类:
[edit] user@aggregation-device# set poe management class
设置 PoE 接口可提供的最大功率
要设置当电源管理模式设置为静态时,可使用 PoE 传递给已连接设备的最大功率:
[edit] user@aggregation-device# set poe interface interface-name maximum-power watts
要将所有扩展端口接口配置为相同的最大功率,请以 的身份输入all-extended。interface-name
例如,要将静态电源管理模式下配置的所有 PoE 扩展端口的最大功率更改为 25 瓦:
[edit] user@aggregation-device# set poe interface all-extended maximum-power 25
要将接口 101/0/1 的最大功率更改为 25 瓦:
[edit] user@aggregation-device# set poe interface 101/0/1 maximum-power 25
设置保护带
为 Junos Fusion 中的所有扩展端口配置一个保护带。
要为 Junos Fusion 中的所有扩展端口设置保护带:
[edit] user@aggregation-device# set poe guard-band watts
例如,要将所有 PoE 扩展端口的保护带设置为 19 瓦:
[edit] user@aggregation-device# set poe guard-band 19
设置 PoE 接口优先级
要将 PoE 接口优先级设置为高:
[edit] user@aggregation-device# set poe interface interface-name priority high
例如,要为接口 101/0/1 分配高优先级:
[edit] user@aggregation-device# set poe interface 101/0/1 priority high
要将 PoE 接口优先级设置为低:
[edit] user@aggregation-device# set poe interface interface-name priority low
例如,要为接口 102/0/1 分配低优先级:
[edit] user@aggregation-device# set poe interface 102/0/1 priority low