Displaying Acl Configuration - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510
Apply all the rules in a Link type ACL
separately
Apply one rule in a Link type ACL
separately
Apply all the rules in a user-defined ACL
separately
Apply one rule in a user-defined ACL
separately
Apply one rule in an IP type ACL and one
rule in a Link type ACL simultaneously
Note:
For the user-defined ACL rules, if you set to match the fields after the VLAN tag, two
VLAN tags are added for matching of either tagged or untagged packets. For the
packets with their type filed as 0800, the offset value should be 20.
1.7.3 Configuration Example
# Apply ACL 2100 in the inbound direction on GigabitEthernet 1/1/1 to filter packets.
<Quidway> system-view
[Quidway] interface gigabitethernet 1/1/1
[Quidway-GigabitEthernet1/1/1] packet-filter inbound ip-group 2100

1.8 Displaying ACL Configuration

After the above configuration, you can execute the display commands in any view to
view the ACL running information, so as to verify the configuration result.
Table 1-14 Display ACL configuration
Operation
Display
configured
rule(s)
Display
range
ranges
Display
information about
packet filtering
Command
the
display
ACL
acl-number }
a
time
display time-range { all |
or
time
time-name }
display
the
{ interface
interface-num
unit-id }
Huawei Technologies Proprietary
link-group acl-number
link-group acl-number rule rule
user-group acl-number
user-group acl-number rule rule
ip-group
link-group acl-number rule rule
acl
{
all
|
These commands can be
executed in any view.
packet-filter
interface-type
|
unitid
1-16
Chapter 1 ACL Configuration
acl-number
rule
rule
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents