display fib slot

Function

The display fib slot command displays IPv4 FIB entries on a specified interface board.

Format

display fib slot slotid [ vpn-instance vpnname ] [ verbose ]

display fib slot slotid [ vpn-instance vpnname ] destip [ destipmasklen | destipmask ] [ verbose ]

Parameters

Parameter Description Value
slotid

Specifies a slot ID.

The maximum number of IPv4 FIB entries that can be displayed using this command depends on board specifications. Given that the maximum number of IPv4 FIB entries displayed is within board specifications, the number of IPv4 FIB entries displayed on the interface board on each slot is the same.

vpn-instance vpnname

Displays private IPv4 FIB statistics based on the VPN.

If vpn-instance vpn-name is not set, public IPv4 FIB entries are displayed.

The value is a string of 1 to 31 case-sensitive characters.

verbose

Displays detailed information about FIB entries.

If verbose is not set, brief information about IPv4 FIB entries is displayed.

-

destip

Displays IPv4 FIB entries based on the destination IP address.

If no destination IP address is configured, IPv4 FIB entries of all destination IP addresses are displayed.

It is an IPv4 address in dotted decimal notation.

destipmasklen

Specifies the subnet mask length of the destination IP address.

If neither destipmasklen nor destipmask is set, IPv4 FIB entries of all subnet masks are displayed.

The value is an integer ranging from 0 to 32.

destipmask

Specifies the subnet mask of the destination IP address.

If neither destipmasklen nor destipmask is set, IPv4 FIB entries of all subnet masks are displayed.

The value is an IPv4 address in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
forwarding read

Usage Guidelines

Usage Scenario

To identify a faulty routing module, run the display fib slot command.

It output displays FIB information, with one line representing one route.

The display fib slot verbose command displays detailed FIB information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display brief information about IPv4 FIB entries on the interface board in slot 1.
<HUAWEI> display fib slot 1
Route Flags:G - Gateway Route, H - Host Route,    U - Up Route                                  
            S - Static Route,  D - Dynamic Route, B - Black Hole Route                                     
            O - Other Route                                                                                
--------------------------------------------------------------------------------                           
 FIB Table:                                                                                                
 Total number of Routes : 15                                                                               
 Total number of Other Routes : 0                                                                          
                                                                                                                                    
Destination/Mask   Nexthop         Flag TimeStamp     Interface                        TunnelID                                    
7.7.7.7/32         127.0.0.1       HU   15:10:04      Loop10                             0x0                                         
4.4.4.4/32         172.16.1.48     DGU  15:06:26      GE0/1/0                            0x0                                         
172.16.1.0/24      172.16.1.10     U    15:10:02      GE0/1/0                            0x0                                         
172.16.1.255/32    127.0.0.1       HU   15:10:04      GE0/1/0                            0x0                                         
172.16.1.10/32     127.0.0.1       HU   15:10:04      GE0/1/0                            0x0                                         
3.3.3.1/32         127.0.0.1       HU   15:10:04      Loop2                              0x0                                         
2.2.2.1/32         127.0.0.1       HU   15:10:04      Loop1                              0x0                                         
127.0.0.0/8        127.0.0.1       HU   15:10:04      InLoop0                            0x0                                         
172.16.255.255/32  127.0.0.1       HU   15:10:04      GE0/1/1                            0x0                                         
127.255.255.255/32 127.0.0.1       HU   15:10:04      InLoop0                            0x0                                         
255.255.255.255/32 127.0.0.1       HU   15:10:04      InLoop0                            0x0                                         
172.16.0.0/16      172.16.124.45   U    15:10:02      GE0/1/1                            0x0                                         
127.0.0.1/32       127.0.0.1       HU   15:10:04      InLoop0                            0x0                                         
4.4.4.1/32         127.0.0.1       HU   15:10:04      Loop3                              0x0                                         
172.16.124.45/32   127.0.0.1       HU   15:10:04      GE0/1/1                            0x0
# Display detailed information about FIB entries based on the destination IP address on an interface board in slot 1.
[~HUAWEI] display fib slot 1 2.2.2.1 verbose
  Route Entry Count: 1
 Destination:  2.2.2.1                Mask     :  255.255.255.255      
 Nexthop    :  2.2.2.2                OutIf    :  GE0/1/0          
 Flags      :  DGU                    TimeStamp:  2010/03/18 02:54:27 
 ATIndex    :  0x2008                 Slot     :  1                     
 LspFwdFlag :  0                      LspToken :  0x0                  
 InLabel    :  0x0(0)                 OriginAs :  0                    
 BGPNextHop :  0.0.0.0                PeerAs   :  0                    
 QosInfo    :  --                     OriginQos:  --                      
 VlanId     :  1                      ProcTime :  2010/03/18 02:54:27 
 IndirectID :  0x1000114              IndirectIDNum    :1                    
 IndirectIDBak:0x0                    IndirectIDBakNum :0                    
 NexthopBak :  0.0.0.0                OutIfBak         :[No Intf]            
 LspTokenBak:  0x0                    InLabelBak       :0x0(0)                  
 Label      :  0x0(0)                 LabelBak         :0x0(0)                  
 NextToken          :0x0              Label_NextToken  :0x0                  
 VPNFRR_LspTokenBak :0x0              MplsMtu          :0                    
 VPNFRR_NexthopBak  :0.0.0.0          VPNFRR_OutIfBak  :[No Intf]            
 SmoothTime: --                       VNI      :  0
# Display brief information about FIB entries based on the destination IP address on an interface board in slot 1.
<HUAWEI> display fib slot 1 3.3.3.0
 Route Entry Count: 1
Destination/Mask   Nexthop         Flag TimeStamp     Interface       TunnelID 
3.3.3.0/24         3.3.3.3         U    15:55:54       GE0/1/0         0x0
Table 1 Description of the display fib slot command output
Item Description
slot

slot number of the outbound interface.

Route Entry Count

Total number of FIB entries.

Route Flags

Current flag, a combination of G, H, U, S, D, and B.

  • G: indicates that the next hop is a gateway.
  • H: indicates that the next hop is a host.
  • U: indicates that the route status is Up.
  • S: indicates a static route.
  • D: indicates a dynamic route.
  • B: indicates the black hole routes. That is, the next hop is a null interface.
  • 0: indicates other routes.
FIB Table

Display FIB information.

Total number of Routes

Display the total number of FIB entries.

Total number of Other Routes

Display the total number of other routes.

Nexthop

Next hop.

OutIf

Next hop/outbound interface.

Flags

Current flag, a combination of G, H, U, S, D, and B.

  • G: indicates that the next hop is a gateway.
  • H: indicates that the next hop is a host.
  • U: indicates that the route status is Up.
  • S: indicates a static route.
  • D: indicates a dynamic route.
  • B: indicates the black hole routes. That is, the next hop is a null interface.
  • 0: indicates other routes.
ATIndex

Index of the virtual link connecting the local device and gateway (unavailable in the current version).

LspFwdFlag

LSP forwarding flag (unavailable in the current version).

LspToken

Forwarding ID of an LSP.

InLabel

Inner label of a VPN-LSP.

OriginAs

Origin AS number (unavailable in the current version).

BGPNextHop

BGP next hop address (unavailable in the current version).

PeerAs

Peer AS number (unavailable in the current version).

QosInfo

QoS information number (unavailable in the current version).

VlanId

VLAN ID.

ProcTime

Route update time taken during normal service delivery.

IndirectID

Indirect next hop ID.

IndirectIDNum

Number of indirect next hop IDs.

IndirectIDBakNum

Number of backup indirect next hop IDs.

NexthopBak

Next hop backup.

OutIfBak

Backup outbound interface.

InLabelBak

Backup inner label of a VPN-LSP.

Label

Current LSP label.

LabelBak

Current backup LSP label.

NextToken

Tunnel token.

Label_NextToken

Tunnel label.

VPNFRR_LspTokenBak

Backup LSP ID for VPN FRR.

MplsMtu

MPLS packet MTU.

VPNFRR_NexthopBak

Backup next hop for VPN FRR.

VPNFRR_OutIfBak

Backup outbound interface for VPN FRR.

VNI

VXLAN network identifier.

Destination/Mask

Destination address/mask length.

Flag

Current flag, which is a combination of G, H, U, S, D, and B:

  • G: The next hop is a gateway.
  • H: The next hop is a host.
  • U: The route status is Up.
  • S: The route is a static one.
  • D: The route is a dynamic one.
  • B: The route's next hop is a null interface.
  • O: The route's next hop is other interface.
TimeStamp

Timestamp (unavailable in the current version).

Interface

Outbound interface to destination address.

TunnelID

Indicatethe forwarding table index for the connection between the Andante and downlink forwarding table board.

  • If the value is not 0, the message that matches the item is forwarded through the tunnel.
  • If the value is 0, the message is not transmitted through the tunnel.
OriginQos

Origin QoS information number (unavailable in the current version).

IndirectIDBak

Backup indirect next hop ID.

LspTokenBak

Backup LSP ID.

SmoothTime

Route update time taken during FIB data smoothing.

Destination

Destination address.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >