Huawei AR1200-S Configuration Manual page 230

Enterprise routers
Hide thumbs Also See for AR1200-S:
Table of Contents

Advertisement

Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
Step 6 Verify the configuration.
# View the ACL configuration.
<Router> display acl name layer2
L2 ACL layer2 4999, 1 rule
Acl's step is 5
rule 5 permit source-mac 0000-0000-0003
# View the traffic classifier configuration.
<Router> display traffic classifier user-defined
User Defined Classifier Information:
# View the traffic policy configuration.
<Router> display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
----End
Configuration Files
l
Issue 02 (2012-03-30)
Classifier: c1
Operator: OR
Rule(s) : if-match acl name layer2
Classifier: c1
Operator: OR
Behavior: b1
statistic: enable
Configuration file of the Router
#
sysname Router
#
vlan batch 20
#
acl name layer2 4999
rule 5 permit source-mac 0000-0000-0003
#
traffic classifier c1 operator or
if-match acl layer2
#
traffic behavior b1
statistic enable
#
traffic policy p1
classifier c1 behavior b1
#
interface
Ethernet0/0/0
port link-type
trunk
port trunk allow-pass vlan
20
traffic-policy p1
inbound
#
return
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 ACL Configuration
216

Advertisement

Table of Contents
loading

Table of Contents