1-6
Description
Use the display packet-filter command to display information about packet filtering.
Examples
# Display information about packet filtering on all ports of a switch that is not in a fabric.
<Sysname> display packet-filter unitid 1
Ethernet1/0/1
Inbound:
Acl 2000 rule 0 running
Ethernet1/0/2
Outbound:
Acl 2001 rule 0 not running
Table 1-3 Description on the fields of the display packet-filter command
Field Description
Ethernet1/0/1 Port on which packet filtering is performed
Inbound Direction of the packet filtering, Inbound or Outbound.
Acl 2000 rule 0 ACL and its rule(s) applied
running
Status of the rule, which can be
z running: The ACL rule is active.
z not running: The ACL rule is inactive. Usually, this is because
the current time is out of the rule’s time range.
display time-range
Syntax
display time-range { all | time-name }
View
Any view
Parameters
all: Displays all time ranges.
time-name: Name of a time range, a string of 1 to 32 characters that starts with a to z or A to Z.
Description
Use the display time-range command to display the configuration and status of a time range or all the
time ranges. For active time ranges, this command displays “Active”; for inactive time ranges, this
command displays “Inactive”.
Related commands: time-range.