display route-static nib
Use display route-static nib to display static route next hop information.
Syntax
display route-static nib [ nib-id ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
nib-id: Specifies a NIB by its ID, a hexadecimal string of 1 to ffffffff. If you do not specify this argument, the command displays all static route next hop information.
verbose: Displays detailed static route next hop information. If you do not specify this keyword, the command displays brief static route next hop information.
Examples
# Displays brief static route next hop information.
<Sysname> display route-static nib Total number of nexthop(s): 44 NibID: 0x11000000 Sequence: 0 Type: 0x21 Flushed: Yes UserKey0: 0x111 VrfNthp: 0 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 TopoNthp: 0 NibID: 0x11000001 Sequence: 1 Type: 0x41 Flushed: Yes UserKey0: 0x0 VrfNthp: 5 UserKey1: 0x0 Nexthop: 2.2.2.2 IFIndex: 0x0 LocalAddr: 0.0.0.0 TopoNthp: 0 ...
Table 16: Command output
Field | Description |
---|---|
NibID | ID of the NIB. |
NibSeq | Sequence number of the NIB. |
Type | Type of the NIB. |
Flushed | Indicates whether the route with the NIB has been flushed to the FIB. |
UserKey0 | Reserved data 1. |
UserKey1 | Reserved data 2. |
VrfNthp | Index of the VPN instance that the next hop belongs to. This field displays 0 if the next hop is on the IPv4 public network. |
Nexthop | Next hop address. |
IFIndex | Interface index |
LocalAddr | Local interface address. |
TopoNthp | This field is not supported in the current software version. Index of the topology that contains the next hop. This field displays 0 if the next hop is on the IPv4 public network. |
# Displays detailed static route next hop information.
<Sysname> display route-static nib verbose Total number of nexthop(s): 44 NibID: 0x11000000 Sequence: 0 Type: 0x21 Flushed: Yes UserKey0: 0x111 VrfNthp: 0 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 TopoNthp: 0 RefCnt: 2 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A Topology: base Weight: 1000000 NibID: 0x11000001 Sequence: 1 Type: 0x41 Flushed: Yes UserKey0: 0x0 VrfNthp: 5 UserKey1: 0x0 Nexthop: 2.2.2.2 IFIndex: 0x0 LocalAddr: 0.0.0.0 TopoNthp: 0 RefCnt: 1 FlushRefCnt: 0 Flag: 0x12 Version: 1 2 nexthop(s): PrefixIndex: 0 OrigNexthop: 2.2.2.2 RelyDepth: 7 RealNexthop: 8.8.8.8 Interface: Vlan11 LocalAddr: 12.12.12.12 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A Topology: base Weight: 1000000 PrefixIndex: 0 OrigNexthop: 2.2.2.2 RelyDepth: 9 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A Topology: base Weight: 1000000 ...
Table 17: Command output
Field | Description |
---|---|
x nexthop(s) | Number of next hops. |
PrefixIndex | Prefix index of the next hop for an ECMP route. |
OrigNexthop | Original next hop. |
RelyDepth | Recursion depth. |
RealNexthop | Real next hop. |
Interface | Output interface. |
localAddr | Local interface address. |
TunnelCnt | Number of tunnels after route recursion. |
Vrf | VPN instance name. For the IPv4 public network, this field displays default-vrf. |
TunnelID | ID of the tunnel after route recursion. |
Topology | This field is not supported in the current software version. Topology name. The topology name for the IPv4 public network is base. |
Weight | ECMP route weight. This field displays 0 for non-ECMP routes. |
RefCnt | Reference count of the next hop. |
FlushRefCnt | Reference count of the next hop that is flushed to the FIB. |
Flag | Flag of the next hop. |
Version | Version of the next hop. |