EasyManua.ls Logo

Huawei quidway s7700 - Page 81

Huawei quidway s7700
117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
# Create VLANIF 10 and assign network segment address 10.10.10.1/24 to VLANIF 10.
[Switch] interface vlanif 10
[Switch-Vlanif10] ip address 10.10.10.1 255.255.255.0
[Switch-Vlanif10] quit
NOTE
Assign IP address 10.10.10.2/24 to the interface connecting the router and Switch.
Step 2 Configure priority mapping based on simple traffic classification.
# Create DiffServ domain ds1 in which 802.1p priorities being 6, 5, and 2 are mapped to PHBs
CS7, EF, and AF2.
[Switch] diffserv domain ds1
[Switch-dsdomain-ds1] 8021p-inbound 6 phb cs7
[Switch-dsdomain-ds1] 8021p-inbound 5 phb ef
[Switch-dsdomain-ds1] 8021p-inbound 2 phb af2
[Switch-dsdomain-ds1] quit
[Switch] interface gigabitethernet2/0/1
[Switch-GigabitEthernet2/0/1] trust upstream ds1
[Switch-GigabitEthernet2/0/1] quit
Step 3 Configure traffic shaping on an interface.
# Configure traffic shaping on an interface of the Switch and set the CIR to 10000 kbit/s.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] qos lr cir 10000 outbound
Step 4 Configure traffic shaping in an interface queue.
# Set the scheduling mode of each queue to WRR. Set the WRR weight of queue 7 to 60, WRR
weight of queue 5 to 40, and WRR weight of queue 2 to 20. The other queues retain the default
weight.
[Switch-GigabitEthernet1/0/1] qos wrr 0 to 7
[Switch-GigabitEthernet1/0/1] qos queue 7 wrr weight 60
[Switch-GigabitEthernet1/0/1] qos queue 5 wrr weight 40
[Switch-GigabitEthernet1/0/1] qos queue 2 wrr weight 20
# Configure traffic shaping in the interface queues on the Switch, and then set the CIR and PIR
of the voice service to 3000 kbit/s and 5000 kbit/s, the CIR and PIR of the video service to 5000
kbit/s and 8000 kbit/s, and the CIR and PIR of the data service to 2000 kbit/s and 3000 kbit/s.
[Switch-GigabitEthernet1/0/1] qos queue 7 shaping cir 3000 pir 5000
[Switch-GigabitEthernet1/0/1] qos queue 5 shaping cir 5000 pir 8000
[Switch-GigabitEthernet1/0/1] qos queue 2 shaping cir 2000 pir 3000
[Switch-GigabitEthernet1/0/1] quit
[Switch] quit
Step 5 Verify the configuration.
# Check the configuration of DiffServ domain ds1.
<Switch> display diffserv domain name ds1
diffserv domain name:ds1
8021p-inbound 0 phb be green
8021p-inbound 1 phb af1 green
8021p-inbound 2 phb af2 green
8021p-inbound 3 phb af3 green
8021p-inbound 4 phb af4 green
8021p-inbound 5 phb ef green
8021p-inbound 6 phb cs7 green
8021p-inbound 7 phb cs7 green
8021p-outbound be green map 0
......
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
74

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals