
l
Run the
display time-range
{
all
|
time-name
} command to view information about the
time range.
----End
Example
# Run the
display acl
acl-number
command to view the advanced ACL number, the number of
rules, the step value, and the content of the rules.
<Huawei>
display acl 3000
Advanced ACL 3000, 1 rule
Acl's step is 5
rule 5 deny ip source 10.1.1.1 0
# Run the
display acl name
acl-name
command to view the advanced ACL name and number,
the number of rules, the step value, and the content of the rules.
<Huawei>
display acl name qos1
Advanced ACL qos1 3999, 1 rule
Acl's step is 5
rule 5 permit tcp
# Run the
display time-range
all
command to view the configuration and status of the current
time range.
<Huawei>
display time-range all
Current time is 09:13:37 12-27-2010 Thursday
Time-range : test1 ( Inactive )
13:00 to 18:00 working-day
13:00 to 18:00 off-day
10.5 Configuring a Layer 2 ACL
A Layer 2 ACL classifies Layer 2 packets with the Ethernet protocol type of Ethernet_II based
on information such as the source and destination MAC addresses, and Layer 2 protocol type.
10.5.1 Establishing the Configuration Task
Before configuring a Layer 2 ACL, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the data required for the configuration. This
will help you complete the configuration task quickly and accurately.
Applicable Environment
Layer 2 ACLs can be applied to multiple services, for example, traffic classifiers. The AR1200-
S processes different types of packets based on Layer 2 ACL rules.
Layer 2 ACLs are applied to Layer 2 packets with the Ethernet protocol type of Ethernet_II.
Layer 2 ACLs classify Layer 2 packets based on information such as source and destination
MAC addresses, Layer 2 protocol types, VLAN IDs or 802.1p priorities, and time ranges in the
packets.
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
10 ACL Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
202