show route extensive <route> expanded-nh
Syntax
show route <IPv4/IPv6 route> extensive expanded-nh
Description
Displays the slice and/or the firewall filter attached to a specific route through routing-options forwarding-table export policy.
Additional Information
Issue show route extensive expanded-nh
to display the slice and/or the
firewall filter attached to all the routes through routing-options forwarding-table export
policy.
Required Privilege Level
view
Output Fields
Table 1
lists the output fields for the show route <route> extensive
expanded-nh
command.
Field Name |
Field Description |
---|---|
slice-id |
ID assigned to the slice |
gencfg-id |
ID of the slice-gencfg created within RPD |
Filter |
The firewall filter attached to the route through export routing policy action. |
Sample Output
show route <IPv4/IPv6 route> extensive expanded-nh
user@host> show route 10.1.1.1 extensive expanded-nh
Sample output when slice action is applied
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
Sample output when filter action is applied
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
Sample output when slice action and filter action is applied
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
Release Information
Command introduced in JUNOS 22.2R1