動的リストネクストホップの設定
リモート PE のルーティングテーブルには、マルチホーム PE デバイス用の複数のネクストホップ要素を持つ ESI(イーサネットセグメント識別子)ルートのネクストホップエントリがあります。EVPN アクティブ-アクティブ マルチホーミング デバイスの場合、ESI ルートは 2 つのネクスト ホップ要素を指します。
動的リストネクストホップの前に、CEデバイスとマルチホームPEデバイス間のリンクがダウンすると、ルーティングプロトコルプロセス(rpd)によりESIルートのネクストホップエントリが削除されました。次に、rpd は ESI の新しいネクスト ホップ エントリーを作成し、大量の MAC ルートの取り消しと追加を引き起こします。
動的リストネクストホップを有効にすると、rpdは、影響を受けていないネクストホップ要素を保持しながら、ESIルートの動的リストネクストホップエントリーから影響を受けるネクストホップ要素を削除し、サービスの継続性を維持します。動的リストネクストホップには、MACルートの大量取り消しを減らし、デバイスのパフォーマンスを向上させ、ネットワークコンバージェンス時間を短縮するというメリットがあります。
動的リストネクストホップ機能を有効にするには、[edit routing-options forwarding-table] 階層にdynamic-list-next-hopステートメントを含めます。
動的リストネクストホップ機能を有効にした場合に無効にするには、 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