No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fit AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display fib longer

display fib longer

Function

The display fib longer command displays FIB entries that match a specified parameter.

The display fib [ slot-id ] destination-address command displays FIB entries that match a specified destination IP address. If the specified destination IP address matches an FIB entry in the natural mask range, all the subnets are displayed. Otherwise, FIB entries are displayed based on the longest matching principle.

The display fib [ slot-id ] destination-address destination-mask command displays FIB entries that accurately match the destination address and mask.

The display fib [ slot-id ] destination-address longer command displays all FIB entries that match destination IP addresses in the natural mask range.

The display fib [ slot-id ] destination-address destination-mask longer command displays all FIB entries that match destination IP addresses in a specified mask range.

The display fib [ slot-id ] destination-address1 destination-mask1 destination-address2 destination-mask2 command displays FIB entries that match destination IP addresses in the range of desination-address1 desination-mask1 to desitination-address2 destination-mask2.

If slot-id is specified, FIB entries on the specified LPU are displayed.

Format

display fib [ slot-id ] destination-address1 [ destination-mask1 ] [ longer ] [ verbose ]

display fib [ slot-id ] destination-address1 destination-mask1 destination-address2 destination-mask2 [ verbose ]

Parameters

Parameter Description Value
slot-id Displays information about the FIB table with a specified slot ID. The value is an integer and the value range depends on the device configuration.
destination-address1 Indicates destination IP address 1. The value is in dotted decimal notation.
destination-mask1 Indicates subnet mask 1. The value is in dotted decimal notation or an integer that ranges from 0 to 32.
destination-address2 Indicates destination IP address 2. The value is in dotted decimal notation.
destination-mask2 Indicates subnet mask 2. The value is in dotted decimal notation or an integer that ranges from 0 to 32.
longer

Displays FIB entries matching a specified network segment or mask.

-

verbose

Displays detailed information about the FIB table.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display FIB entries that match destination address 172.16.0.0 in the natural mask range or based on the longest match principle.

<Huawei> display fib 172.16.0.0
  Route Entry Count: 1 
Destination/Mask  Nexthop  Flag  TimeStamp  Interface  TunnelID
172.16.0.0/16     10.1.1.1 U     t[0]       Vlanif10     0x0

# Display the FIB entries with the destination addresses in the range of 172.16.0.0/16 to 172.16.0.6/16.

<Huawei> display fib 172.16.0.0 255.255.0.0 172.16.0.6 255.255.0.0
  Route Entry Count: 1 
Destination/Mask  Nexthop  Flag  TimeStamp  Interface  TunnelID
172.16.0.1/8      10.1.1.1  U     t[0]       Vlanif10     0x0
Table 6-68  Description of the display fib longer 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 MPLS tunnel. If the value is 0, packets matching the entry are not forwarded through the MPLS tunnel.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 129644

Downloads: 103

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next