284 CHAPTER 8: USING QOS/ACL COMMANDS
Example
Display the content of all the ACLs.
<SW5500>display acl all
Basic acl 2000, 0 rule,match-order is auto
Acl’s step is 1
Advanced ACL 3000, 1 rule
Acl's step is 1
rule 1 permit ip (0 times matched)
display packet-filter Syntax
display packet-filter { interface {
interface-name
|
interface-type
interface-num
} | unitid
unit-id
}
View
Any View
Parameter
interface { i
nterface-name
|
interface-type interface-num
}: Interface
of the Switch, for more detail, please refer to the
port command in this manual.
unitid
unit-id
: Unit ID. If user inputs this parameter, all the packet-filtering
information of the specified unit will be displayed.
Description
Use the display packet-filter command to view the information of the
activated of ACL. The displayed content includes ACL number, subitem name and
activation status.
Example
To display the information of the activated ACL of all interfaces, enter the
following:
<SW5500>display packet-filter unitid 1
display time-range Syntax
display time-range { all |
name
}
View
Any View
Parameter
all: Displays all the time-range
name
: Specifies the name of the time range. This is a character string that starts
with the letter (a-z or A-Z), ranging from 1 to 32 characters
Description
Use the display time-range command to view the configuration and status of
the current time range. You will see the active or inactive state outputs
respectively.