動的リスト ネクスト ホップの設定
リモート PE のルーティングテーブルには、マルチホーム PE デバイス向けの複数のネクストホップ要素を持つ、イーサネットセグメント識別子(ESI)ルート用のネクストホップエントリーがあります。EVPN アクティブ/アクティブ マルチホーミング デバイスの場合、ESI ルートは 2 つのネクスト ホップ要素を指します。動的リストのネクストホップの前に、ルーティングプロトコルプロセス(rpd)は、CEデバイスとマルチホームPEデバイス間のリンクがダウンした場合、ESIルートのネクストホップエントリを削除しました。その後、rpd は ESI の新しいネクスト ホップ エントリを作成し、大量の MAC ルートの取り消しと追加を引き起こします。
Junos OS リリース 17.4R1 以降、Junos OS は、EVPN ネットワークで動的リスト ネクストホップ機能をサポートしています。これで、CE デバイスとマルチホーム PE デバイス間のリンクがダウンした場合、ネクストホップ全体を削除して ESI 用の新しいネクストホップを作成するのではなく、rpd は ESI ルートの動的リストのネクストホップエントリから影響を受けたネクストホップ要素を削除します。ダイナミック リスト ネクスト ホップは、大量の MAC ルート取り消しの削減、デバイスのパフォーマンスの向上、およびネットワーク コンバージェンス時間の短縮というメリットを提供します。
動的リストネクストホップ機能を有効にするには、[edit routing-options forwarding-table] 階層にdynamic-list-next-hopステートメントを含めます。
ISSU(統合型稼動中ソフトウェア アップグレード)を実行して、Junos OS リリース 17.4R1 より前の Junos OS リリースからデバイスをアップグレードする場合、動的リスト ネクストホップ機能を有効にする前に、プライマリ ルーティングエンジンとバックアップ ルーティングエンジンの両方をアップグレードする必要があります。
動的リストのネクストホップ機能が有効になっている場合に無効にするには、 delete routing-options forwarding-table dynamic-list-next-hop ステートメントを使用します。
ルーティングエンジンの転送テーブルからネクストホップ要素を表示するには、 show route label コマンドと show route forwarding-table コマンドを使用します。
次の show route label detail コマンドの出力例は、動的リスト ネクストホップ機能が有効になっている ESI の 2 つの間接ネクスト ホップを示しています。
user@host> show route label 299952 detail
mpls.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
299952 (1 entry, 1 announced)
TSI:
KRT in-kernel 299952 /52 -> {Dyn list:indirect(1048577), indirect(1048574)}
*EVPN Preference: 7
Next hop type: Dynamic List, Next hop index: 1048575
Address: 0x13f497fc
Next-hop reference count: 5
Next hop: ELNH Address 0xb7a3d90 uflags EVPN data
Next hop type: Indirect, Next hop index: 0
Address: 0xb7a3d90
Next-hop reference count: 3
Protocol next hop: 10.255.255.2
Label operation: Push 301344
Indirect next hop: 0x135b5c00 1048577 INH Session ID: 0x181
Next hop type: Router, Next hop index: 619
Address: 0xb7a3d30
Next-hop reference count: 4
Next hop: 1.0.0.4 via ge-0/0/1.0
Label operation: Push 301344, Push 299792(top)
Label TTL action: no-prop-ttl, no-prop-ttl(top)
Load balance label: Label 301344: None; Label 299792: None;
Label element ptr: 0xb7a3cc0
Label parent element ptr: 0xb7a34e0
Label element references: 1
Label element child references: 0
Label element lsp id: 0
Next hop: ELNH Address 0xb7a37f0 uflags EVPN data
Next hop type: Indirect, Next hop index: 0
Address: 0xb7a37f0
Next-hop reference count: 3
Protocol next hop: 10.255.255.3
Label operation: Push 301632
Indirect next hop: 0x135b5480 1048574 INH Session ID: 0x180
Next hop type: Router, Next hop index: 600
Address: 0xb7a3790
Next-hop reference count: 4
Next hop: 1.0.0.4 via ge-0/0/1.0
Label operation: Push 301632, Push 299776(top)
Label TTL action: no-prop-ttl, no-prop-ttl(top)
Load balance label: Label 301632: None; Label 299776: None;
Label element ptr: 0xb7a3720
Label parent element ptr: 0xb7a3420
Label element references: 1
Label element child references: 0
Label element lsp id: 0
State: <Active Int>
Age: 1:18
Validation State: unverified
Task: evpn global task
Announcement bits (2): 1-KRT 2-evpn global task
AS path: I
Routing Instance blue, Route Type Egress-MAC, ESI 00:11:22:33:44:55:66:77:88:99
以下の show route forwarding table コマンドの出力例は、マルチホーム ルートを持つ宛先の 2 つのネクストホップ エントリーを示しています。
user@host> show route forwarding-table label 299952 extensive
MPLS:
Destination: 299952
Route type: user
Route reference: 0 Route interface-index: 0
Multicast RPF nh index: 0
P2mpidx: 0
Flags: sent to PFE, rt nh decoupled
Next-hop type: indirect Index: 1048575 Reference: 2
Nexthop:
Next-hop type: composite Index: 601 Reference: 2
Next-hop type: indirect Index: 1048574 Reference: 3
Nexthop: 1.0.0.4
Next-hop type: Push 301632, Push 299776(top) Index: 600 Reference: 2
Load Balance Label: None
Next-hop interface: ge-0/0/1.0
Next-hop type: indirect Index: 1048577 Reference: 3
Nexthop: 1.0.0.4
Next-hop type: Push 301344, Push 299792(top) Index: 619 Reference: 2
Load Balance Label: None
Next-hop interface: ge-0/0/1.0
以下の例は、PE デバイスの 1 つを無効にした後の show route forwarding table コマンド出力を示しています。1 つのネクストホップ要素と 1 つの空のネクストホップ要素が表示されます。
user@host> show route forwarding-table label 299952 extensive
Routing table: default.mpls [Index 0]
MPLS:
Destination: 299952
Route type: user
Route reference: 0 Route interface-index: 0
Multicast RPF nh index: 0
P2mpidx: 0
Flags: sent to PFE, rt nh decoupled
Next-hop type: indirect Index: 1048575 Reference: 2
Nexthop:
Next-hop type: composite Index: 601 Reference: 2
Next-hop type: indirect Index: 1048577 Reference: 3
Nexthop: 1.0.0.4
Next-hop type: Push 301344, Push 299792(top) Index: 619 Reference: 2
Load Balance Label: None
Next-hop interface: ge-0/0/1.0