lacp (Aggregated Ethernet)
语法(NFX 系列)
lacp (active | passive) { admin-key key; fast-failover; link-protection { disable; (revertive | non-revertive); } periodic interval system-ID mac-address; system-priority priority; force-up; }
语法(EX 系列)
lacp { (active | passive); admin-key key; accept-data; fast-failover; link-protection { disable; (revertive |non-revertive); } periodic interval; system-id mac-address; system-priority priority; }
层次结构级别(EX 系列)
[edit interfaces aex aggregated-ether-options] [edit logical-systems logical-system-name interfaces aeX aggregated-ether-options]
层次结构级别(NFX 系列)
[edit interfaces interface-name aggregated-ether-options]
描述
为接口配置链路聚合控制协议 (LACP) 参数。其余语句将单独解释。
对于 EX 系列,在[edit interfaces aeX aggregated-ether-options lacp]
层级配置accept-data
语句时,如果聚合以太网捆绑包已启动,路由器将处理在成员链路上接收的数据包,而不管该 LAN 状态如何。
在[edit interfaces aeX aggregated-ether-options lacp]
层级配置accept-data
语句时,会发生以下行为:
默认情况下,
accept-data
在启用 LACP 时不会配置语句。当捆绑包中的成员链路启用或禁用时,您可以配置
accept-data
语句来改善融合并减少丢弃的数据包数量。当 LACP 停机且成员链路接收到数据包时,路由器或交换机将不会按照 IEEE 802.1ax 标准中的定义处理数据包。根据此标准,数据包应被丢弃,但是由于已配置语
accept-data
句,因此应将其处理。
QFX10002 交换机上不支持强制语句。
默认
如果未指定 LACP 为 或 active
passive
,LACP 将保持被动。
选项
积极 | 启动 LACP 数据包的传输。 |
管理员密钥 number | 指定路由器或交换机的管理密钥。
注意:
配置时,您还必须配置多机箱链路聚合 (MC-LAG) |
快速故障切换 | 指定覆盖 IEEE 802.3ad 标准,并允许备用链路接收信息流。替代默认行为可促进亚秒级故障转移。 |
被动 | 响应 LACP 数据包。 |
其余语句将单独解释。请参阅 CLI Explorer。
所需权限级别
接口 — 要在配置中查看此语句。
接口控制 — 要将此语句添加到配置中。
发布信息
Junos OS 9.0 版中引入的语句。