Huawei Quidway S7700 Configuration Manual - Qos page 40

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - QoS
2.
3.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
Procedure
Step 1 Create VLANs and configure interfaces.
# Create VLANs 100, 200, and 300.
<Quidway> system-view
[Quidway] sysname Switch
[Switch] vlan batch 100 200 300
# Configure the type of GE1/0/1 , GE 1/0/2, and GE 2/0/1 as trunk, add GE1/0/1 to VLAN 100,
add GE 1/0/2 to VLAN 200, and add GE 2/0/1 to VLAN 100, VLAN 200, and VLAN 300.
[Switch] interface gigabitethernet1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk allow-pass vlan 100
[Switch-GigabitEthernet1/0/1] quit
[Switch] interface gigabitethernet1/0/2
[Switch-GigabitEthernet1/0/2] port link-type trunk
[Switch-GigabitEthernet1/0/2] port trunk allow-pass vlan 200
[Switch-GigabitEthernet1/0/2] quit
[Switch] interface gigabitethernet2/0/1
[Switch-GigabitEthernet2/0/1] port link-type trunk
[Switch-GigabitEthernet2/0/1] port trunk allow-pass vlan 100 200 300
[Switch-GigabitEthernet2/0/1] quit
# Create VLANIF 300 and assign interface IP address uo192.168.1.1/24 to VLANIF 300.
[Switch] interface vlanif 300
[Switch-Vlanif300] ip address 192.168.1.1 24
Step 2 Create and configure DiffServ domains.
# Create DiffServ domains ds1 and ds2 and map 802.1p priorities of packets from branch 1 and
branch 2 of the enterprise to PHBs and colors.
[Switch] diffserv domain ds1
[Switch-dsdomain-ds1] 8021p-inbound 0 phb af4 green
[Switch-dsdomain-ds1] quit
[Switch] diffserv domain ds2
[Switch-dsdomain-ds2] 8021p-inbound 0 phb af2 green
[Switch-dsdomain-ds2] quit
Step 3 Bind DiffServ domains to interfaces.
# Bind DiffServ domains ds1 and ds2 to GE1/0/1 , and GE 1/0/2 respectively.
[Switch] interface gigabitethernet1/0/1
[Switch-GigabitEthernet1/0/1] trust upstream ds1
Issue 01 (2011-07-15)
Create DiffServ domains and map 802.1p priorities to PHBs and colors.
Bind the DiffServ domain to inbound interfaces GE1/0/1 and GE 1/0/2 on the Switch.
Names of DiffServ domains
802.1p priorities of packets from branch 1 and branch 2 of the enterprise
CoS of branch 1 and branch 2 of the enterprise
NOTE
Assign IP address 192.168.1.2/24 to the interface connecting the router and the Switch.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
33

Advertisement

Table of Contents
loading

Table of Contents