Huawei Quidway S7700 Configuration Manual - Qos page 51

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
[Switch] interface gigabitethernet1/0/1
[Switch-GigabitEthernet1/0/1] traffic-policy p1 inbound
[Switch-GigabitEthernet1/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 (0 times matched)
# 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 (2011-07-15)
Classifier: c1
Precedence: 5
Operator: OR
Rule(s) : if-match 5 acl 4000
Classifier: c1
Precedence: 5
Operator: OR
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 or precedence 5
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 GigabitEthernet1/0/1
port link-type access
port default vlan 20
traffic-policy p1 inbound
#
interface GigabitEthernet2/0/1
port link-type trunk
port trunk allow-pass vlan 20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
44

Advertisement

Table of Contents
loading

Table of Contents