13
assigned in the IRF virtual device. You can use the
display irf
command to display information about
member switches in an IRF virtual device. If no IRF member switch is specified, the command display
application status of packet filtering ACL on all member switches.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display packet-filter
command to display whether an ACL has been successfully applied to an
interface for packet filtering.
If you neither specify the
inbound
keyword nor the
outbound
keyword, the command displays the
application status of both incoming and outgoing packet filtering ACLs.
Examples
# Display the application status of incoming and outgoing packet filtering ACLs for interface
GigabitEthernet 1/0/1.
<Sysname> display packet-filter interface gigabitethernet 1/0/1
Interface: GigabitEthernet1/0/1
In-bound Policy:
acl 2001, Successful
Out-bound Policy:
acl6 2500, Fail
Table 4
Output description
Field Description
Interface
Interface to which the ACL applies
In-bound Policy
The ACL used for filtering incoming traffic on the interface
Out-bound Policy
The ACL used for filtering outgoing traffic on the interface
acl 2001, Successful
IPv4 ACL 2001 has been applied to the interface
acl6 2500, Fail
The device has failed to apply IPv6 ACL 2500 to the interface
display time-range
Syntax
display
time-range
{
time-range-name
|
all
} [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level