R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

186
Basic IP forwarding commands
display fib
Use display fib to display FIB entries.
Syntax
display fib [ topology topo-name | vpn-instance vpn-instance-name ] [ ip-address [ mask |
mask-length ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
topology topo-name: Displays the FIB table for the specified topology. The topo-name argument is a
case-sensitive string of 1 to 31 characters. To specify a public topology, use base as the topology name.
vpn-instance vpn-instance-name: Displays the FIB table for the specified VPN. The vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. If you do not specify any VPN, the command
displays the FIB entries of the public network.
ip-address: Displays the FIB entry that matches the specified destination IP address.
mask: Specifies the mask for the IP address.
mask-length: Specifies the mask length for the IP address, the number of consecutive ones in the mask.
The value range is 0 to 32.
Usage guidelines
Each FIB entry contains a destination IP address/mask, next hop, and output interface.
If you specify an IP address without a mask or mask length, this command displays the longest matching
FIB entry.
If you specify an IP address and a mask or mask length, this command displays the exactly matching FIB
entry.
Examples
# Display FIB entries for the topology mt.
<Sysname> display fib topology mt
Destination count: 8 FIB entry count: 8
Flag:
U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Relay F:FRR