Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show fib-streaming

Syntax

Description

Show information about Forwarding Information Base (FIB) streaming. You can use Junos telemetry interface (JTI) and remote procedure calls (gRPC) services to stream FIB operational state statistics to outside collectors.

Options

next-hops

Show information about next hop entries present in the routing table.

next-hop-groups

Show information about next hop group entries present in the routing table.

all

Show all next hops or next hop groups.

index

Show only the specified next hop or next hop group.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show fib-streaming command.

Table 1: show-fib-streaming Output Fields

Field Name

Field Description

next-hop

For each next hop, shows the following information:

  • index—Interface index.

  • lspid—ID for the label switched path used to reach the next hop.

  • lspname—Name of the label switched path used to reach the next hop.

  • encap-header

    The type of encapsulation performed when forwarding a packet to the specified next hop.
  • programmed-index—The index set by configuration for the next hop.

  • ip-address—IP address.

  • mac-address—MAC address.

  • pushed-mpls-label-stack—The MPLS label stack imposed when forwarding packets to the next-hop. The order of entries is such that the first entry in the list is the label at the bottom of the stack to be pushed.

  • interface—Interface name.

next-hop-group

For each next hop group, shows the following information:

  • next-hop-group - id—ID for the next hop group.

  • programmed-id—The ID set by configuration for each next hop.

  • next-hop index—ID for the next hop.

  • weight—Weight applied to the next hop within the group.

If there are no indexed next hops, such as with CoS-based forwarding, the output will display the following fields:

  • next-hop-group - id—ID for the next hop group.

  • condition-id—Unique ID under the next-hop-group for the condition.

  • dscp—DSCP value.

  • id—IFL index of the interface.

  • interface—Name of the interface.

  • subinterface—Sub-unit of the interface.

If a valid back up path is configured, the backup-next-hop-group - id is displayed.

Sample Output

show fib-streaming next-hops all

show fib-streaming next-hops index 79

show fib-streaming next-hop-groups all

show fib-streaming next-hop-groups index 105

show fib-streaming next-hop-groups index 756 debug

Release Information

Command introduced in Junos OS Release 20.3R1.