- Table of Contents
-
- H3C Fixed Port Campus Switches Configuration Examples-6W105
- 00-Applicable hardware and software versions
- 01-Login Management Configuration Examples
- 02-RBAC Configuration Examples
- 03-Software Upgrade Examples
- 04-ISSU Configuration Examples
- 05-Software Patching Examples
- 06-Ethernet Link Aggregation Configuration Examples
- 07-Port Isolation Configuration Examples
- 08-Spanning Tree Configuration Examples
- 09-VLAN Configuration Examples
- 10-VLAN Tagging Configuration Examples
- 11-DHCP Snooping Configuration Examples
- 12-Cross-Subnet Dynamic IP Address Allocation Configuration Examples
- 13-IPv6 over IPv4 Tunneling with OSPFv3 Configuration Examples
- 14-IPv6 over IPv4 GRE Tunnel Configuration Examples
- 15-GRE with OSPF Configuration Examples
- 16-OSPF Configuration Examples
- 17-IS-IS Configuration Examples
- 18-BGP Configuration Examples
- 19-Policy-Based Routing Configuration Examples
- 20-OSPFv3 Configuration Examples
- 21-IPv6 IS-IS Configuration Examples
- 22-Routing Policy Configuration Examples
- 23-IGMP Snooping Configuration Examples
- 24-IGMP Configuration Examples
- 25-MLD Snooping Configuration Examples
- 26-IPv6 Multicast VLAN Configuration Examples
- 27-ACL Configuration Examples
- 28-Traffic Policing Configuration Examples
- 29-GTS and Rate Limiting Configuration Examples
- 30-Traffic Filtering Configuration Examples
- 31-AAA Configuration Examples
- 32-Port Security Configuration Examples
- 33-Portal Configuration Examples
- 34-SSH Configuration Examples
- 35-IP Source Guard Configuration Examples
- 36-Ethernet OAM Configuration Examples
- 37-CFD Configuration Examples
- 38-DLDP Configuration Examples
- 39-VRRP Configuration Examples
- 40-BFD Configuration Examples
- 41-NTP Configuration Examples
- 42-SNMP Configuration Examples
- 43-NQA Configuration Examples
- 44-Mirroring Configuration Examples
- 45-sFlow Configuration Examples
- 46-OpenFlow Configuration Examples
- 47-MAC Address Table Configuration Examples
- 48-Static Multicast MAC Address Entry Configuration Examples
- 49-IP Unnumbered Configuration Examples
- 50-MVRP Configuration Examples
- 51-MCE Configuration Examples
- 52-Attack Protection Configuration Examples
- 53-Smart Link Configuration Examples
- 54-RRPP Configuration Examples
- 55-BGP Route Selection Configuration Examples
- 56-IS-IS Route Summarization Configuration Examples
- 57-VXLAN Configuration Examples
- 58-DRNI Configuration Examples
- 59-IRF 3.1 Configuration Examples
- 60-PTP Configuration Examples
- 61-S-MLAG Configuration Examples
- 62-Puppet Configuration Examples
- 63-802.1X Configuration Examples
- 64-MAC Authentication Configuration Examples
- 65-ISATAP Tunnel and 6to4 Tunnel Configuration Examples
- 66-BIDIR-PIM Configuration Examples
- 67-Congestion Avoidance and Queue Scheduling Configuration Examples
- 68-Basic MPLS Configuration Examples
- 69-MPLS L3VPN Configuration Examples
- 70-MPLS OAM Configuration Examples
- 71-EVPN-DCI over an MPLS L3VPN Network Configuration Examples
- 72-DRNI and EVPN Configuration Examples
- 73-Multicast VPN Configuration Examples
- 74-MPLS TE Configuration Examples
- 75-Control Plane-Based QoS Policy Configuration Examples
- 76-Priority Mapping and Queue Scheduling Configuration Examples
- 77-ARP Attack Protection Configuration Examples
- 78-IRF Software Upgrade Configuration Examples
- 79-IRF Member Replacement Configuration Examples
- 80-Layer 3 Multicast on Multicast Source-Side DR System Configuration Examples
- 81-EVPN Multicast Configuration Examples
- 82-Priority Marking and Queue Scheduling Configuration Examples
- 83-EAA Configuration Examples
- 84-GRE Tunnel Access to MPLS L3VPN Configuration Examples
- 85-MC-NAT Configuration Examples
- 86-M-LAG Configuration Examples (Applicable to M-LAG Versions)
- 87-MOD Configuration Examples
- 88-MPLS L2VPN Configuration Examples
- 89-VPLS Configuration Examples
- 90-SR-MPLS Configuration Examples
- 91-VCF Fabric Configuration Examples
- 92-NetStream Configuration Examples
- 93-Configuration Example for Software Upgrade with Zero Packet Loss by Using GIR in VXLAN M-LAG Network
- 94-Configuration Example for Software Upgrade with Zero Packet Loss by Using GIR in VXLAN DRNI Network
- Related Documents
-
82-Priority Marking and Queue Scheduling Configuration Examples
Example: Configuring priority marking and queue scheduling
Applicable hardware and software versions
Introduction
This document provides examples for configuring priority marking, priority mapping, and queue scheduling profiles.
Prerequisites
The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
This document assumes that you have basic knowledge of priority marking, priority mapping, and queue scheduling profiles.
Example: Configuring priority marking and queue scheduling
Network configuration
As shown in Figure 1, a company uses dual uplinks to interconnect its headquarters and branches.
The company uses three service types in its intranets:
· Video service—Uses network segment 10.1.0.0/16 (10.1.1.0/24 for the headquarters, 10.1.2.0/24 for branch A, 10.1.3.0/24 for branch B, 10.1.4.0/24 for branch C, 10.1.5.0/24 for branch D, 10.1.6.0/24 for branch E, and 10.1.7.0/24 for branch F).
· Production service—Uses network segment 10.2.0.0/16 (10.2.1.0/24 for the headquarters, 10.2.2.0/24 for branch A, 10.2.3.0/24 for branch B, 10.2.4.0/24 for branch C, 10.2.5.0/24 for branch D, 10.2.6.0/24 for branch E, and 10.2.7.0/24 for branch F).
· Voice service—Uses network segment 10.3.0.0/16 (10.3.1.0/24 for the headquarters, 10.3.2.0/24 for branch A, 10.3.3.0/24 for branch B, 10.3.4.0/24 for branch C, 10.3.5.0/24 for branch D, 10.3.6.0/24 for branch E, and 10.3.7.0/24 for branch F).
Configure priority marking and queue scheduling so the video service, production service, and voice service are scheduled at a ratio of 2:1:1 when congestion occurs.
Analysis
To configure priority marking and queue scheduling, you must perform the following tasks:
· To assign different traffic types to different queues, mark different local precedence values for the service types.
· To schedule the three services at a ratio of 2:1:1, assign their queues to one WRR group and configure weights for these queues.
Applicable hardware and software versions
The following matrix shows the hardware and software versions to which this configuration example is applicable:
Hardware |
Software version |
S6812 switch series S6813 switch series |
Release 6628Pxx |
S6550XE-HI switch series |
Release 8106Pxx |
S6525XE-HI switch series |
Release 8106Pxx |
S5850 switch series |
Release 8106Pxx |
S5570S-EI switch series |
Release 11xx |
S5560X-EI switch series |
Release 6628Pxx |
S5560X-HI switch series |
Release 6628Pxx |
S5500V2-EI switch series |
Release 6628Pxx |
MS4520V2-30F switch |
Release 6628Pxx |
MS4520V2-30C switch MS4520V2-54C switch |
Release 6628Pxx |
MS4520V2-28S switch MS4520V2-24TP switch |
Release 63xx |
S6520X-HI switch series S6520X-EI switch series |
Release 6628Pxx |
S6520X-SI switch series S6520-SI switch series |
Release 6628Pxx |
S5000-EI switch series |
Release 6628Pxx |
MS4600 switch series |
Release 6628Pxx |
ES5500 switch series |
Release 6628Pxx |
S5560S-EI switch series S5560S-SI switch series |
Release 63xx |
S5500V3-24P-SI switch S5500V3-48P-SI switch |
Release 63xx |
S5500V3-SI switch series (except S5500V3-24P-SI and S5500V3-48P-SI) |
Release 11xx |
S5170-EI switch series |
Release 11xx |
S5130S-HI switch series S5130S-EI switch series S5130S-SI switch series S5130S-LI switch series |
Release 63xx |
S5120V2-SI switch series S5120V2-LI switch series |
Release 63xx |
S5120V3-EI switch series |
Release 11xx |
S5120V3-36F-SI switch S5120V3-28P-HPWR-SI switch S5120V3-54P-PWR-SI switch |
Release 11xx |
S5120V3-SI switch series (except S5120V3-36F-SI, S5120V3-28P-HPWR-SI, and S5120V3-54P-PWR-SI) |
Release 63xx |
S5120V3-LI switch series |
Release 63xx |
S3600V3-EI switch series |
Release 11xx |
S3600V3-SI switch series |
Release 11xx |
S3100V3-EI switch series S3100V3-SI switch series |
Release 63xx |
S5110V2 switch series |
Release 63xx |
S5110V2-SI switch series |
Release 63xx |
S5000V3-EI switch series S5000V5-EI switch series |
Release 63xx |
S5000E-X switch series S5000X-EI switch series |
Release 63xx |
E128C switch E152C switch E500C switch series E500D switch series |
Release 63xx |
MS4320V2 switch series MS4320V3 switch series MS4300V2 switch series MS4320 switch series MS4200 switch series |
Release 63xx |
WS5850-WiNet switch series |
Release 63xx |
WS5820-WiNet switch series WS5810-WiNet switch series |
Release 63xx |
WAS6000 switch series |
Release 63xx |
IE4300-12P-AC IE4300-12P-PWR IE4300-M switch series IE4320 switch series |
Release 63xx |
IE4520 switch series |
Release 66xx |
S5135S-EI switch series |
Release 6810 and later |
Restrictions and guidelines
Marking the DSCP, EXP, 802.1p, IP precedence, or local precedence conflicts with the following actions:
· Traffic filtering (filter deny).
· Traffic redirecting to the CPU (redirect cpu).
· Mapping packet colors to drop priority values (primap color-map-dp).
Procedures
Configuring Device SI
1. Configure a QoS policy on Ten-GigabitEthernet 1/0/3 to assign different traffic types to different queues:
# Create ACL 3000 to match video traffic, and create a behavior to mark the video traffic with local precedence 2.
<DeviceS1> system-view
[DeviceS1] acl advanced 3000
[DeviceS1-acl-ipv4-adv-3000] rule 0 permit ip source 10.1.1.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
[DeviceS1-acl-ipv4-adv-3000] quit
[DeviceS1] traffic classifier video
[DeviceS1-classifier-video] if-match acl 3000
[DeviceS1-classifier-video] quit
[DeviceS1] traffic behavior video
[DeviceS1-behavior-video] remark local-precedence 2
[DeviceS1-behavior-video] quit
# Create ACL 3001 to match production traffic, and create a behavior to mark the production traffic with local precedence 3.
[DeviceS1] acl advanced 3001
[DeviceS1-acl-ipv4-adv-3001] rule 0 permit ip source 10.2.1.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
[DeviceS1-acl-ipv4-adv-3001] quit
[DeviceS1] traffic classifier production
[DeviceS1-classifier-production] if-match acl 3001
[DeviceS1-classifier-production] quit
[DeviceS1] traffic behavior production
[DeviceS1-behavior-production] remark local-precedence 3
[DeviceS1-behavior-production] quit
# Create ACL 3002 to match voice traffic, and create a behavior to mark the voice traffic with local precedence 4.
[DeviceS1] acl advanced 3002
[DeviceS1-acl-ipv4-adv-3002] rule 0 permit ip source 10.3.1.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
[DeviceS1-acl-ipv4-adv-3002] quit
[DeviceS1] traffic classifier voice
[DeviceS1-classifier-voice] if-match acl 3002
[DeviceS1-classifier-voice] quit
[DeviceS1] traffic behavior voice
[DeviceS1-behavior-voice] remark local-precedence 4
[DeviceS1-behavior-voice] quit
# Create a QoS policy named policy1, and associate the three traffic classes with their respective traffic behaviors.
[DeviceS1] qos policy policy1
[DeviceS1-qospolicy-policy1] classifier video behavior video
[DeviceS1-qospolicy-policy1] classifier production behavior production
[DeviceS1-qospolicy-policy1] classifier voice behavior voice
[DeviceS1-qospolicy-policy1] quit
# Apply the QoS policy policy1 to the inbound direction of Ten-GigabitEthernet 1/0/3.
[DeviceS1] interface ten-gigabitethernet 1/0/3
[DeviceS1-Ten-GigabitEthernet1/0/3] qos apply policy policy1 inbound
[DeviceS1-Ten-GigabitEthernet1/0/3] quit
2. Configure a queue scheduling profile on Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2:
# Create a queue scheduling profile named qm1 for WRR. Configure the weights of queue 2 (for video traffic), queue 3 (for production traffic), and queue 4 (for voice traffic) as 2, 1, and 1, respectively.
[DeviceS1] qos qmprofile qm1
[DeviceS1-qmprofile-qm1] queue 2 wrr group 1 weight 2
[DeviceS1-qmprofile-qm1] queue 3 wrr group 1 weight 1
[DeviceS1-qmprofile-qm1] queue 4 wrr group 1 weight 1
[DeviceS1-qmprofile-qm1] quit
# Apply the queue scheduling profile qm1 to Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2.
[DeviceS1] interface ten-gigabitethernet 1/0/1
[DeviceS1-Ten-GigabitEthernet1/0/1] qos apply qmprofile qm1
[DeviceS1-Ten-GigabitEthernet1/0/1] quit
[DeviceS1] interface ten-gigabitethernet 1/0/2
[DeviceS1-Ten-GigabitEthernet1/0/2] qos apply qmprofile qm1
[DeviceS1-Ten-GigabitEthernet1/0/2] quit
Configuring Device S2
# Configure Device S2 in the same way Device S1 is configured. (Details not shown.)
Configuring Device A1
1. Configure a QoS policy on Ten-GigabitEthernet 1/0/3 to assign different traffic types to different queues:
# Create ACL 3000 to match video traffic, and create a behavior to mark the video traffic with local precedence 2.
<Device A1> system-view
[DeviceA1] acl advanced 3000
[DeviceA1-acl-ipv4-adv-3000] rule 0 permit ip source 10.1.2.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
[DeviceA1-acl-ipv4-adv-3000] quit
[DeviceA1] traffic classifier video
[DeviceA1-classifier-video] if-match acl 3000
[DeviceA1-classifier-video] quit
[DeviceA1] traffic behavior video
[DeviceA1-behavior-video] remark local-precedence 2
[DeviceA1-behavior-video] quit
# Create ACL 3001 to match production traffic, and create a behavior to mark the production traffic with local precedence 3.
[DeviceA1] acl advanced 3001
[DeviceA1-acl-ipv4-adv-3001] rule 0 permit ip source 10.2.2.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
[DeviceA1-acl-ipv4-adv-3001] quit
[DeviceA1] traffic classifier production
[DeviceA1-classifier-production] if-match acl 3001
[DeviceA1-classifier-production] quit
[DeviceA1] traffic behavior production
[DeviceA1-behavior-production] remark local-precedence 3
[DeviceA1-behavior-production] quit
# Create ACL 3002 to match voice traffic, and create a behavior to mark the voice traffic with local precedence 4.
[DeviceA1] acl advanced 3002
[DeviceA1-acl-ipv4-adv-3002] rule 0 permit ip source 10.3.2.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
[DeviceA1-acl-ipv4-adv-3002] quit
[DeviceA1] traffic classifier voice
[DeviceA1-classifier-voice] if-match acl 3002
[DeviceA1-classifier-voice] quit
[DeviceA1] traffic behavior voice
[DeviceA1-behavior-voice] remark local-precedence 4
[DeviceA1-behavior-voice] quit
# Create a QoS policy named policy1, and associate the three classes of traffic with their respective traffic behaviors.
[DeviceA1] qos policy policy1
[DeviceA1-qospolicy-policy1] classifier video behavior video
[DeviceA1-qospolicy-policy1] classifier production behavior production
[DeviceA1-qospolicy-policy1] classifier voice behavior voice
[DeviceA1-qospolicy-policy1] quit
# Apply the QoS policy policy1 to the inbound direction of Ten-GigabitEthernet 1/0/3.
[DeviceA1] interface ten-gigabitethernet 1/0/3
[DeviceA1-Ten-GigabitEthernet1/0/3] qos apply policy policy1 inbound
[DeviceA1-Ten-GigabitEthernet1/0/3] quit
2. Configure a queue scheduling profile on Ten-GigabitEthernet 1/0/1:
# Create a queue scheduling profile named qm1 for WRR. Configure the weights of queue 2 (for video traffic), queue 3 (for production traffic), and queue 4 (for voice traffic) as 2, 1, and 1, respectively.
[DeviceA1] qos qmprofile qm1
[DeviceA1-qmprofile-qm1] queue 2 wrr group 1 weight 2
[DeviceA1-qmprofile-qm1] queue 3 wrr group 1 weight 1
[DeviceA1-qmprofile-qm1] queue 4 wrr group 1 weight 1
[DeviceA1-qmprofile-qm1] quit
# Apply the queue scheduling profile qm1 to Ten-GigabitEthernet 1/0/1.
[DeviceA1] interface ten-gigabitethernet 1/0/1
[DeviceA1-Ten-GigabitEthernet1/0/1] qos apply qmprofile qm1
[DeviceA1-Ten-GigabitEthernet1/0/1] quit
Configuring other devices
# Configure Device A2, Device F1, and Device F2 in the same way Device A1 is configured. (Details not shown.)
Verifying the configuration
Verify the configuration on any device, for example, Device S1.
# Verify the QoS policy applied to Ten-GigabitEthernet 1/0/3.
[DeviceS1] display qos policy interface ten-gigabitethernet 1/0/3
Interface: Ten-GigabitEthernet1/0/3
Direction: Inbound
Policy: policy1
Classifier: video
Operator: AND
Rule(s) :
If-match acl 3000
Behavior: video
Marking:
Remark local-precedence 2
Classifier: production
Operator: AND
Rule(s) :
If-match acl 3001
Behavior: production
Marking:
Remark local-precedence 3
Classifier: voice
Operator: AND
Rule(s) :
If-match acl 3002
Behavior: voice
Marking:
Remark local-precedence 4
# Verify the configuration of queue scheduling profiles.
[DeviceS1] display qos qmprofile configuration
Queue management profile: qm1 (ID 1)
Queue ID Type Group Schedule-unit Schedule-value Bandwidth
---------------------------------------------------------------------------
be SP N/A N/A N/A N/A
af1 SP N/A N/A N/A N/A
af2 WRR 1 weight 2 N/A
af3 WRR 1 weight 1 N/A
af4 WRR 1 weight 1 N/A
ef SP N/A N/A N/A N/A
cs6 SP N/A N/A N/A N/A
cs7 SP N/A N/A N/A N/A
Configuration files
· Device S1:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/2
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.1.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.1.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.1.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return
· Device S2:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/2
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.1.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.1.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.1.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return
· Device A1:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.2.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.2.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.2.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return
· Device A2:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/1
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.2.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.2.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.2.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return
· Device F1:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/2
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.7.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.7.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.7.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return
· Device F2:
#
qos qmprofile qm1
queue af2 wrr group 1 weight 2
queue af3 wrr group 1 weight 1
queue af4 wrr group 1 weight 1
#
traffic classifier production operator and
if-match acl 3001
#
traffic classifier video operator and
if-match acl 3000
#
traffic classifier voice operator and
if-match acl 3002
#
traffic behavior production
remark local-precedence 3
#
traffic behavior video
remark local-precedence 2
#
traffic behavior voice
remark local-precedence 4
#
qos policy policy1
classifier video behavior video
classifier production behavior production
classifier voice behavior voice
#
interface Ten-GigabitEthernet1/0/2
port link-mode bridge
qos apply qmprofile qm1
#
interface Ten-GigabitEthernet1/0/3
port link-mode bridge
qos apply policy policy1 inbound
#
acl advanced 3000
rule 0 permit ip source 10.1.7.0 0.0.0.255 destination 10.1.0.0 0.0.255.255
#
acl advanced 3001
rule 0 permit ip source 10.2.7.0 0.0.0.255 destination 10.2.0.0 0.0.255.255
#
acl advanced 3002
rule 0 permit ip source 10.3.7.0 0.0.0.255 destination 10.3.0.0 0.0.255.255
#
return