Huawei Quidway S7700 Configuration Manual - Qos page 76

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
1.
2.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
Procedure
Step 1 Create VLANs and configure interfaces.
# Create VLAN 100, VLAN 110, and VLAN 120 on the Switch.
<Quidway> system-view
[Quidway] sysname Switch
[Switch] vlan batch 100 110 120
# Configure the access types of GE 1/0/1 and GE2/0/1 to trunk, add GE 1/0/1 and GE2/0/1 to
VLAN 100, VLAN 110, and VLAN 120.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk allow-pass vlan 100 110 120
[Switch-GigabitEthernet1/0/1] quit
[Switch] interface gigabitethernet 2/0/1
[Switch-GigabitEthernet2/0/1] port link-type trunk
[Switch-GigabitEthernet2/0/1] port trunk allow-pass vlan 100 110 120
[Switch-GigabitEthernet2/0/1] quit
Step 2 Create traffic classifiers.
# Create traffic classifiers c1 to c3 on the Switch to match different service flows from the
enterprise based on VLAN IDs.
[Switch] traffic classifier c1 operator and
[Switch-classifier-c1] if-match vlan-id 120
[Switch-classifier-c1] quit
[Switch] traffic classifier c2 operator and
[Switch-classifier-c2] if-match vlan-id 110
[Switch-classifier-c2] quit
[Switch] traffic classifier c3 operator and
[Switch-classifier-c3] if-match vlan-id 100
[Switch-classifier-c3] quit
Step 3 Create traffic behaviors.
# Create traffic behaviors b1 to b3 on the Switch to limit different service flows and re-mark
priorities.
[Switch] traffic behavior b1
[Switch-behavior-b1] car cir 2000 pir 10000 green pass
Issue 01 (2011-07-15)
Create VLANs and configure interfaces so that enterprise can access the network by using
the Switch.
Create traffic classifiers based on the VLAN ID on the Switch.
Create traffic behaviors on the Switch to limit the traffic received from the enterprise and
re-mark DSCP priorities of packets.
Create a traffic policy on the Switch, bind traffic behaviors to traffic classifiers in the traffic
policy, and apply the traffic policy to the interface between the enterprise and the Switch.
Names of traffic classifiers matching service flows
Re-marked priorities of packets with different VLAN IDs
Parameters for packets with different VLAN IDs: CIR and PIR values
Type and number of the interface to which a traffic policy needs to be applied
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Traffic Policing and Traffic Shaping Configuration
69

Advertisement

Table of Contents
loading

Table of Contents