NETWORK ENGINEER BLOG

Tips and Reviews for Engineers

Juniper EX4200 LACP 設定例

以下、VC*1構成の EX4200 における LACP 設定例です。

システム内で作成する論理インターフェース(ae)の最大数の設定及び確認。

root# set chassis aggregated-devices ethernet device-count 1

root# show chassis | display set
set chassis aggregated-devices ethernet device-count 1

802.3ad LACP の設定と確認。

root# set interfaces ae0 unit 0 family ethernet-switching
root# set interfaces ae0 aggregated-ether-options lacp active
root# set interfaces ge-0/0/1 ether-options 802.3ad ae0
root# set interfaces ge-1/0/1 ether-options 802.3ad ae0

root# show interfaces ae0 | display set
set interfaces ae0 aggregated-ether-options lacp active
set interfaces ae0 unit 0 family ethernet-switching

root# show interfaces ge-0/0/1 | display set
set interfaces ge-0/0/1 ether-options 802.3ad ae0

root# show interfaces ge-1/0/1 | display set
set interfaces ge-1/0/1 ether-options 802.3ad ae0

Link Aggregation の状態確認。

root# run show interfaces terse | match ae
ge-0/0/1.0              up    up   aenet    --> ae0.0
ge-1/0/1.0              up    up   aenet    --> ae0.0
ae0                     up    up
ae0.0                   up    up   eth-switch

root# run show interfaces extensive ae0 | find "LACP Statistics"
    LACP Statistics:       LACP Rx     LACP Tx   Unknown Rx   Illegal Rx
      ge-0/0/1.0              5343        1161            0            0
      ge-1/0/1.0              4620        1175            0            0
    Marker Statistics:   Marker Rx     Resp Tx   Unknown Rx   Illegal Rx
      ge-0/0/1.0                 0           0            0            0
      ge-1/0/1.0                 0           0            0            0
    Protocol eth-switch, Generation: 178, Route table: 0
      Flags: Trunk-Mode

*1:Virtual Chassis