< Home

display fib next-hop

Function

The display fib next-hop command displays the FIB entries of the IP address of the specified next hop.

Format

display fib [ vpn-instance vpn-instance-name ] next-hop ip-address

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.
ip-address Specifies the IP address of the next hop. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the FIB entry of a next hop IP address.

<sysname> display fib next-hop 10.1.1.1
Fib Flags: B - blackhole, D - dynamic, G - gateway, H - host, S - static
           U - up
------------------------------------------------------------------------------
Destination/Mask   Nexthop         Flag TimeStamp     Interface      TunnelID
10.1.1.1/32       10.1.1.1       HU   t[115]        GE0/0/1         0x0
Table 1 Description of the display fib next-hop 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 >