Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show fib-streaming

date_range 03-Oct-24

Syntax

content_copy zoom_out_map
show fib-streaming (next-hop-groups | next-hops)
<all>
<index>

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

content_copy zoom_out_map
user@host> show fib-streaming next-hops all
next-hop index : 1
                lspid            : 0
                encap-header     : 5
                programmed-index : 0
                interface        : .local..1
next-hop index : 21
                lspid            : 0
                encap-header     : 5
                programmed-index : 0
                interface        : em1.0
next-hop index : 114
                lspid            : 0
                encap-header     : 1
                programmed-index : 0
                interface        : ip-0/0/10.0

show fib-streaming next-hops index 79

content_copy zoom_out_map
user@host> show fib-streaming next-hops index 79
next-hop index : 79
		lspid            : 5
		lspname          : HL4-01_TO_HL3-01
        programmed-index : 0
		ip-address       : 1.0.0.2
		mac-address      : 2c:6b:f5:78:ef:00
		interface        : ge-0/0/1.0

show fib-streaming next-hop-groups all

content_copy zoom_out_map
user@host> show fib-streaming next-hop-groups all
next-hop-group - id: 1
                        programmed-id: 0
   next-hop   index: 1          weight: 10000
next-hop-group - id: 2
                        programmed-id: 0
   next-hop   index: 2          weight: 10000
next-hop-group - id: 3
                        programmed-id: 0
   next-hop   index: 3          weight: 10000
next-hop-group - id: 4
                        programmed-id: 0
   next-hop   index: 4          weight: 10000
next-hop-group - id: 5
                        programmed-id: 0
   next-hop   index: 5          weight: 10000

show fib-streaming next-hop-groups index 105

content_copy zoom_out_map
user@host> show fib-streaming next-hop-groups index 105
next-hop-group - id: 105     
   next-hop   index: 105        weight: 2500
   next-hop   index: 106        weight: 2500
   next-hop   index: 107        weight: 2500
   next-hop   index: 108        weight: 2500
content_copy zoom_out_map
user@host> show fib-streaming next-hop-groups index 110
next-hop-group - id: 110   
     id: 358         interface:  ge-0/0/0           subinterface: 0        
     id: 359         interface:  ge-0/0/0           subinterface: 1        
     id: 360         interface:  ge-0/0/0           subinterface: 2        
     id: 361         interface:  ge-0/0/0           subinterface: 3        
     id: 362         interface:  ge-0/0/0           subinterface: 4        
     id: 363         interface:  ge-0/0/0           subinterface: 5        
     id: 364         interface:  ge-0/0/0           subinterface: 6        
     id: 365         interface:  ge-0/0/0           subinterface: 7        
     id: 366         interface:  ge-0/0/0           subinterface: 8        
     id: 367         interface:  ge-0/0/0           subinterface: 9        
     id: 368         interface:  ge-0/0/0           subinterface: 10       
     id: 369         interface:  ge-0/0/0           subinterface: 11       
     id: 370         interface:  ge-0/0/0           subinterface: 12       
  
   condition id : 67305485  
                    dscp :  48         
                    dscp :  49         
                    dscp :  50         
                    dscp :  51         
                    dscp :  52         
                    dscp :  53         
                    dscp :  54                 
                    dscp :  55         
                    dscp :  56         
                    dscp :  57         
                    dscp :  58         
                    dscp :  59         
                    dscp :  60         
                    dscp :  61         
                    dscp :  62          
                    dscp :  63         

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

content_copy zoom_out_map
next-hop-group - id: 756
                        programmed-id: 0
                        flags: 0x10         fc_bitmask: 0x0
   next-hop   index: 834        weight: 50.00, Label-Count: 0       , Interface: ge-1/0/0.0
                                         IP-addr: 11.1.1.8
                                         IP-addr: 11.1.1.8
                fc_bitmask: 0x0                      LSP-ID:  0
   next-hop   index: 835        weight: 50.00, Label-Count: 0       , Interface: ge-1/0/0.0
                                         IP-addr: 11.1.1.9
                                         IP-addr: 11.1.1.9
                fc_bitmask: 0x0                      LSP-ID:  0
backup-next-hop-group - id: 757

Release Information

Command introduced in Junos OS Release 20.3R1.

footer-navigation