Huawei S3700HI Configuration Manual - Qos page 58

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
[Switch-Ethernet0/0/1] quit
[Switch] quit
Step 6 Verify the configuration.
# Check the configuration of the ACL.
<Switch> display acl 4000
L2 ACL 4000, 1 rule
Acl's step is 5
rule 5 permit source-mac 0000-0000-0003
# Check the configuration of the traffic classifier.
<Switch> display traffic classifier user-defined
User Defined Classifier Information:
Total classifier number is 1
# View the configuration of the traffic policy.
<Switch> display traffic policy user-defined p1
User Defined Traffic Policy Information:
Policy: p1
----End
Configuration Files
l
Issue 01 (2012-03-15)
Classifier: c1
Operator: AND
Rule(s) : if-match
Classifier: c1
Operator: AND
Behavior: b1
Statistic: enable
Configuration file of the Switch
#
sysname Switch
#
vlan batch 20
#
acl number 4000
rule 5 permit source-mac 0000-0000-0003
#
traffic classifier c1 operator and
if-match acl 4000
#
traffic behavior b1
statistic enable
#
traffic policy p1
classifier c1 behavior b1
#
interface Vlanif20
ip address 20.20.20.1 255.255.255.0
#
interface Ethernet0/0/1
port link-type access
port default vlan 20
traffic-policy p1 inbound
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 20
#
return
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
acl 4000
1 Class-based QoS Configuration
51

Advertisement

Table of Contents
loading

Table of Contents