< Home

display fib ip-prefix

Function

The display fib ip-prefix command displays information about the FIB table.

Format

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

Parameters

Parameter Description Value

vpn-instance vpn-instance-name

Displays the FIB table of a specified VPN instance.

The value must be an existing VPN instance name.

prefix-name

Specifies the name of an IP prefix list.

The value is a string of 1 to 169 characters.

verbose

Displays detailed information about the FIB table.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The command displays FIB entries that match a specified IP prefix list.

If 0 FIB entries match, the command output displays that zero FIB entries match.

If the name of an IP prefix list is not found, all FIB entries are displayed.

Example

# Display FIB entries matching the IP prefix list abc0.

<HUAWEI> display fib ip-prefix abc0
Route Entry matched by prefix-list abc0
 Summary Counts: 4
Destination/Mask  Nexthop  Flag  TimeStamp  Interface   TunnelID
127.0.0.0/8      127.0.0.1 U     t[0]       InLoop0       0x0
127.0.0.1/32     127.0.0.1 U     t[0]       InLoop0       0x0
172.16.0.0/8     10.1.1.1  SU    t[0]       Vlanif10      0x0
172.16.0.0/15    10.1.1.1  SU    t[0]       Vlanif10      0x0
Table 1 Description of the display fib ip-prefix command output

Item

Description

Destination/Mask

Destination address or mask length.

Nexthop

Next hop.

Flag

Current flag, which is the combination of G, H, U, S, D, and B.
  • G (gateway route): indicates that the next hop is a gateway.

  • H (host route): indicates that the route is a host route.

  • U (available route): indicates that the route status is Up.

  • S: indicates a static route.

  • D: indicates a dynamic route.

  • B (blackhole route): indicates that the next hop is a null interface.

TimeStamp

Timestamp, which indicates the lifetime of an entry, in seconds.

Interface

Outbound interface to the destination address.

TunnelID

Index of a forwarding entry. It is used in packet forwarding between the upstream and downstream boards. If the value is not 0, packets matching the entry are forwarded through the tunnel. If the value is 0, packets matching the entry are not forwarded through the tunnel.

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