EasyManua.ls Logo

Huawei quidway s7700 - Page 40

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...
2. Create DiffServ domains and map 802.1p priorities to PHBs and colors.
3. Bind the DiffServ domain to inbound interfaces GE1/0/1 and GE 1/0/2 on the Switch.
Data Preparation
To complete the configuration, you need the following data:
l Names of DiffServ domains
l 802.1p priorities of packets from branch 1 and branch 2 of the enterprise
l CoS of branch 1 and branch 2 of the enterprise
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
NOTE
Assign IP address 192.168.1.2/24 to the interface connecting the router and the Switch.
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
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
33

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals