SNR S2940-8G-v2 Switch Configuration Guide
QoS Configuration
26.2
QoS Configuration Task List
1. Configure class map
Set up a classification rule according to ACL, CoS, VLAN ID, IPv4 Precedent, DSCP, IPV6 FL
to classify the data stream. Different classes of data streams will be processed with different
policies.
2. Configure a policy map
After data steam classification, a policy map can be created to associate with the class map
created earlier and enter class mode. Then different policies (such as bandwidth limit, priority
degrading assigning new DSCP value) can be applied to different data streams. You can also
define a policy set that can be use in a policy map by several classes.
3. Apply QoS to the ports or the VLAN interfaces
Configure the trust mode for ports or bind policies to ports. A policy will only take effect on a
port when it is bound to that port.
The policy may be bound to the specific VLAN.
It is not recommended to synchronously use policy map on VLAN and its port.
4. Configure queue management algorithm
Configure queue management algorithm, such as sp, wrr, wdrr, and so on.
Configure QoS mapping
Configure the mapping from CoS to DP, DSCP to DSCP, IntP or DP, IntP to DSCP.
1. Configure class map.
Command
Explanation
Global Mode
class-map <class-map-name>
no class-map <class-map-name>
Create a class map and enter class map
mode;
the 'no class-map <class-map-
name>' command deletes the specified
class map.
match { access-group <acl-index-or-name> | ip
dscp <dscp-list>| ip precedence <ip-precedence-
list>| ipv6 access-group <acl-index-or-name> |
ipv6 dscp <dscp-list> | ipv6 flowlabel <flowlabel-
list> | vlan <vlan-list> | cos <cos-list> | exp <exp-
list> | vlan range <vlan-list> }
no match { access-group | ip dscp | ip precedence
| ipv6 access-group | ipv6 dscp | ipv6 flowlabel |
vlan | cos | exp | vlan range }
Set matching criterion (classify data stream
by ACL, CoS, VLAN ID, IPv4 Precedent,
IPv6 FL or DSCP, etc) for the class map;
the no command deletes specified match-
ing criterion.
183
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...