132 CHAPTER 5: USING NETWORK PROTOCOL COMMANDS
Parameters
ip_address1, ip_address2
Enter
destination IP address, in dotted decimal
format.
ip_address1
and
ip_address2
jointly define the address range. The FIB
entries in this address range will be displayed.
mask1
,
mask2
,
mask-length1
,
mask-length2
Enter the IP address mask, in
dotted decimal format, or an integer in the range of 0 to 32 to represent the mask
length.
longer All FIB entries matching a specific destination IP address (range) .
Description
Use the display fib
ip_address
command to view the FIB entries matching the
destination IP address (range). Each line outputs a FIB entry and the display
contents for each entry include destination address/mask length, next hop, current
flag, timestamp and outbound interface.
Example
To display the FIB entries whose destination addresses match 169.253.0.0 in
natural mask range, enter the following:
<SW5500>display fib 169.253.0.0
Route Entry Count: 1
Destination/Mask Nexthop Flag TimeStamp Interface
169.0.0.0/16 2.1.1.1 U t[0] Vlan-interface1
To display the FIB entries whose destination addresses are in the range of
169.254.0.0/16 to 169.254.0.6/16, enter the following:
<SW5500>display fib 169.254.0.0 255.255.0.0 169.254.0.6 255.255.0.0
Route Entry Count: 1
Destination/Mask Nexthop Flag TimeStamp Interface
169.254.0.1/16 2.1.1.1 U t[0] Vlan-interface1
display fib acl Syntax
display fib acl
number
View
Any view
Parameter
number
Enter the ACL in number form, in the range 2000 to 2999
Description
Use the display fib acl command to view the FIB entries matching a specific
ACL.
Example
To display the FIB entries matching ACL 2000, enter the following:
<SW5500>display fib acl 2000
Route entry matched by access-list 2000:
Summary counts: 1