show route extensive <route> expanded-nh
構文
show route <IPv4/IPv6 route> extensive expanded-nh
形容
ルーティングオプションの転送テーブルエクスポートポリシーを介して特定のルートにアタッチされたスライスやファイアウォールフィルターを表示します。
詳細な情報
show route extensive expanded-nh
を発行して、ルーティングオプションの転送テーブルエクスポートポリシーを介してすべてのルートにアタッチされたスライスおよび/またはファイアウォールフィルターを表示します。
必要な権限レベル
眺める
出力フィールド
表 1 は、 show route <route> extensive expanded-nh
コマンドの出力フィールドをリストしています。
フィールド名 |
フィールドの説明 |
---|---|
スライスID |
スライスに割り当てられた ID |
gencfg-id |
RPD 内で作成されたスライス gencfg の ID |
フィルター |
エクスポート ルーティング ポリシー アクションを介してルートにアタッチされたファイアウォール フィルター。 |
サンプル出力
show route <IPv4/IPv6 route> extensive expanded-nh
user@host> show route 10.1.1.1 extensive expanded-nh
スライスアクション適用時の出力例
inet.0: 41 destinations, 41 routes (41 active, 0 holddown, 0 hidden) 10.1.1.1/32 (1 entry, 1 announced) Installed-nexthop: Chain (0x8a1f238) Index:599 Slice: Gencfg-id 1, Slice-id 1 Indr Composite (0x8a1e884) 1.1.1.1 Push 10002 Session-ID: 383 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 PNH: 1.1.1.1 Router (0x8a1efb0) Index:580 11.1.1.2 Session-ID: 322 via ge-0/0/0.0 TSI: KRT in-kernel 10.1.1.1/32 -> {Chain 0x8a1eed8 600} *FRR Preference: 105 Next hop type: Indirect, Next hop index: 0 Address: 0x8a1e884 Next-hop reference count: 4, key opaque handle: 0x0 Next hop type: Router, Next hop index: 580 Next hop: 11.1.1.2 via ge-0/0/0.0, selected Session Id: 142 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 State: Age: 6 Metric2: 0 Validation State: unverified Task: MCNH_STUB_TASK Announcement bits (2): 0-KRT 2-Resolve tree 1 AS path: I Route-nexthop: Indr (0x8a1e884) 1.1.1.1 Push 10002 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 Router (0x8a1efb0) Index:580 11.1.1.2 Thread: junos-main Composite next hops: 1 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142 1.1.1.1/32 Originating RIB: inet.0 Node path count: 1 Forwarding nexthops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142
フィルター アクションが適用された場合の出力例
inet.0: 41 destinations, 41 routes (41 active, 0 holddown, 0 hidden) 10.1.1.1/32 (1 entry, 1 announced) Installed-nexthop: Chain (0x8a1eed8) Index:600 Filter: FWF1 Indr Composite (0x8a1e884) 1.1.1.1 Push 10002 Session-ID: 383 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 PNH: 1.1.1.1 Router (0x8a1efb0) Index:580 11.1.1.2 Session-ID: 322 via ge-0/0/0.0 TSI: KRT in-kernel 10.1.1.1/32 -> {Chain 0x8a1eed8 600} *FRR Preference: 105 Next hop type: Indirect, Next hop index: 0 Address: 0x8a1e884 Next-hop reference count: 4, key opaque handle: 0x0 Next hop type: Router, Next hop index: 580 Next hop: 11.1.1.2 via ge-0/0/0.0, selected Session Id: 142 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 State: Age: 6 Metric2: 0 Validation State: unverified Task: MCNH_STUB_TASK Announcement bits (2): 0-KRT 2-Resolve tree 1 AS path: I Route-nexthop: Indr (0x8a1e884) 1.1.1.1 Push 10002 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 Router (0x8a1efb0) Index:580 11.1.1.2 Thread: junos-main Composite next hops: 1 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142 1.1.1.1/32 Originating RIB: inet.0 Node path count: 1 Forwarding nexthops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142
スライスアクションとフィルターアクションを適用した場合の出力例
inet.0: 41 destinations, 41 routes (41 active, 0 holddown, 0 hidden) 10.1.1.1/32 (1 entry, 1 announced) Installed-nexthop: Chain (0x8a1f1cc) Index:601 Slice: Gencfg-id 1, Slice-id 1 Filter: FWF1 Indr Composite (0x8a1e884) 1.1.1.1 Push 10002 Session-ID: 383 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 PNH: 1.1.1.1 Router (0x8a1efb0) Index:580 11.1.1.2 Session-ID: 322 via ge-0/0/0.0 TSI: KRT in-kernel 10.1.1.1/32 -> {Chain 0x8a1f1cc 601} *FRR Preference: 105 Next hop type: Indirect, Next hop index: 0 Address: 0x8a1e884 Next-hop reference count: 4, key opaque handle: 0x0 Next hop type: Router, Next hop index: 580 Next hop: 11.1.1.2 via ge-0/0/0.0, selected Session Id: 142 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 State: Age: 13 Metric2: 0 Validation State: unverified Task: MCNH_STUB_TASK Announcement bits (2): 0-KRT 2-Resolve tree 1 AS path: I Route-nexthop: Indr (0x8a1e884) 1.1.1.1 Push 10002 Krt_cnh (0x6faa554) Index:598 Push 10002 Krt_inh (0x716539c) Index:1048578 Router (0x8a1efb0) Index:580 11.1.1.2 Thread: junos-main Composite next hops: 1 Protocol next hop: 1.1.1.1 Label operation: Push 10002 Label TTL action: prop-ttl Load balance label: Label 10002: None; Composite next hop: 0x6faa554 598 INH Session ID: 383 Indirect next hop: 0x716539c 1048578 INH Session ID: 383 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142 1.1.1.1/32 Originating RIB: inet.0 Node path count: 1 Forwarding nexthops: 1 Next hop type: Router Next hop: 11.1.1.2 via ge-0/0/0.0 Session Id: 142
リリース情報
JUNOS 22.2R1で導入されたコマンド