0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

JuniperEXのL3とLACPの設定

Last updated at Posted at 2023-07-30

環境情報

  • JuniperEX4300 13.2X51-D26.2

Static Link Aggregation設定

スイッチに設定するLAGの数を定義

# set chassis aggregated-devices ethernet device-count 1

LAGの作成( 設定例:L2アクセスポートとして ae0 の作成 )

# set interfaces ae0 unit 0 family ethernet-switching

LAGに参加させる既存のインターフェースの設定の削除

# delete interfaces ge-0/0/8 unit 0
# delete interfaces ge-0/0/9 unit 0

LAGに参加させるインターフェースの設定

# set interfaces ge-0/0/8 ether-options 802.3ad ae0
# set interfaces ge-0/0/9 ether-options 802.3ad ae0

LAGインターフェースを、全てのVLANトラフィックを転送するL2トランクポートで設定

# set interfaces ae0 unit 0 family ethernet-switching interface-mode trunk vlan members all

ae0のLAGをアクセスポートとしてVLAN10を割り当てる場合

# set interfaces ae0 unit 0 family ethernet-switching interface-mode access
# set interfaces ae0 unit 0 family ethernet-switching vlan members V10

Dynamic Aggregationの設定

LACPとして設定する場合、上記のStatic Link Aggregationの設定に加えて次の設定を追加

# set interfaces ae0 aggregated-ether-options lacp active
# set interfaces ae0 aggregated-ether-options lacp periodic fast

xSTP configuration disallowed on interface ge-0/0/8 as it is part of an aggregate bundleの対処

何故かcommitが出来ない。
内容が「インターフェイス ge-0/0/8 は集約バンドルの一部であるため、xSTP 設定は禁止されています」と書かれてあり、調べてみるとLACP設定したge-0/0/8、ge-0/0/9が排他的になっていることが原因だと分かった。

root@EX4300# commit 
error: xSTP configuration disallowed on interface ge-0/0/8 as it is part of an aggregate bundle
error: configuration check-out failed

稼働中のルーティングプロトコルを確認

# show protocols | display set | match stp set protocols rstp interface ge-0/0/0
set protocols rstp interface ge-0/0/1
set protocols rstp interface ge-0/0/2
set protocols rstp interface ge-0/0/3
set protocols rstp interface ge-0/0/4
set protocols rstp interface ge-0/0/5
set protocols rstp interface ge-0/0/6
set protocols rstp interface ge-0/0/7
set protocols rstp interface ge-0/0/8
set protocols rstp interface ge-0/0/9
set protocols rstp interface ge-0/0/10
set protocols rstp interface ge-0/0/11
set protocols rstp interface ge-0/0/12
set protocols rstp interface ge-0/0/13
set protocols rstp interface ge-0/0/14
set protocols rstp interface ge-0/0/15
set protocols rstp interface ge-0/0/16
set protocols rstp interface ge-0/0/17
set protocols rstp interface ge-0/0/18
set protocols rstp interface ge-0/0/19
set protocols rstp interface ge-0/0/20
set protocols rstp interface ge-0/0/21
set protocols rstp interface ge-0/0/22
set protocols rstp interface ge-0/0/23
set protocols rstp interface ge-0/2/0
set protocols rstp interface xe-0/2/0
set protocols rstp interface ge-0/2/1
set protocols rstp interface xe-0/2/1
set protocols rstp interface ge-0/2/2
set protocols rstp interface xe-0/2/2
set protocols rstp interface ge-0/2/3
set protocols rstp interface xe-0/2/3

{master:0}[edit]

デフォルトで動作していたRSTPを排除

root@EX4300# delete protocols rstp interface ge-0/0/8  

{master:0}[edit]
root@EX4300# delete protocols rstp interface ge-0/0/9    

{master:0}[edit]
root@EX4300# commit 
configuration check succeeds
commit complete
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?