2-4
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 211.71.75.0 0.0.0.255
[Sysname-acl-basic-2001] display acl 2001
Basic ACL 2001, 1 rule
Acl's step is 1
rule 0 permit source 211.71.75.0 0.0.0.255
# Display the FIB entries filtered by ACL 2001.
<Sysname> display fib acl 2001
Route Entry matched by access-list 2001
Summary Counts :1
Flag:
U:Usable G:Gateway H:Host B:Blackhole D:Dynamic S:Static
R:Reject E:Equal cost multi-path L:Generated by ARP or ESIS
Destination/Mask Nexthop Flag TimeStamp Interface
211.71.75.0/24 1.1.1.2 GSU t[250763] Vlan-interface2
For details about the displayed information, see
Table 2-1
.
display fib |
Syntax
display fib
|
{
begin
|
exclude
|
include
}
regular-expression
View
Any view
Parameters
|
: Uses a regular expression to match FIB entries. For detailed information about regular expression,
refer to
Configuration File Management Command
.
begin
: Displays a specific FIB entry and all the FIB entries following it. The specific FIB entry is the first
entry that matches the specified regular expression.
exclude
: Displays the FIB entries that do not match the specified regular expression.
include
: Displays the FIB entries that match the specified regular expression.
regular-expression
: A case-sensitive character string.
Description
Use the
display
fib
| command to display the FIB entries filtered by the specified regular expression.
Examples
# Display the entries starting from the first one containing the string 169.254.0.0.
<Sysname> display fib | begin 169.254.0.0
169.254.0.0/16
2.1.1.1
U
t[0]
Vlan-interface1
2.0.0.0/16 2.1.1.1
U
t[0]
Vlan-interface1
For details about the displayed information, see
Table 2-1
.