< Home

display fib ip-prefix

Function

The display fib ip-prefix command displays the specified FIB information through filtering.

Format

display fib [ vpn-instance vpn-instance-name ] ip-prefix prefix-name [ verbose ]

Parameters

Parameter Description Value
vpn-instance vpn-instance-name Specifies the VPN instance name. The value is a case-sensitive string with 1 to 31 characters.
prefix-name Specifies the name of a prefix list. The value is a string of 1 to 169 characters.
verbose Displays packet contents. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Only the FIB entries that match the prefix-name is displayed in a specified format.

If no FIB entries match, the value 0 is displayed.

If no prefix-name exists, display all FIB entries.

Example

# Display the FIB entries match the prefix list abc0.

<sysname> display fib ip-prefix abc0
Fib Flags: B - blackhole, D - dynamic, G - gateway, H - host, S - static
           U - up
------------------------------------------------------------------------------
Route Entry matched by prefix-list abc0:
Summary count: 4
Destination/Mask  Nexthop  Flag  TimeStamp  Interface    TunnelID
10.1.0.0/8      10.1.0.1 U     t[0]       InLoop0      0x0
10.1.0.1/32     10.1.0.1 U     t[0]       InLoop0      0x0
10.2.0.0/8      10.3.1.1   SU    t[0]       GE0/0/1      0x0
10.2.0.0/15     10.3.1.1   SU    t[0]       GE0/0/1      0x0
Table 1 Description of the display fib ip-prefix command output

Item

Description

Destination/Mask

Destination address or mask length.

Nexthop

Next hop address.

Flag

Current flag:
  • G: the next hop is a gateway.

  • H: the next hop is a host.

  • U: the route status is Up.

  • S: static routes.

  • D: dynamic routes.

  • B: black hole routes, which means that the next hop is a null interface.

TimeStamp

Time (in seconds) elapsed since the entry was generated.

Interface

Name of an outbound interface to the destination address.

TunnelID

Index of a tunnel that forwards packets. It is used to forward packets between an upstream link and a downstream link.

If the value is not 0, packets matching the entry are forwarded along a tunnel.

If the value is 0, packets are not forwarded through the tunnel.

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