![SNR S2940-8G-v2 Configuration Manual Download Page 185](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630185.webp)
SNR S2940-8G-v2 Switch Configuration Guide
QoS Configuration
3. Apply QoS to port or VLAN interface
Policy class map configuration mode
drop
no drop
transmit
no transmit
Drop or transmit data package that match the class, the no
command cancels the assigned action.
3. Apply QoS to port or VLAN interface
Command
Explanation
Interface Configuration Mode
mls qos trust { cos | dscp }
no mls qos trust { cos | dscp }
Configure port trust; the no command disables the current
trust status of the port.
mls qos cos {<default-cos>}
no mls qos cos
Configure the default CoS value of the port; the no command
restores the default setting.
service-policy
input
<policy-
map-name>
no service-policy input {<policy-
map-name>}
Apply a policy map to the specified port; the no com-
mand deletes the specified policy map applied to the port
or deletes all the policy maps applied on the ingress direc-
tion of the port. Egress policy map is not supported yet.
Global Mode
service-policy
input
<policy-
map-name> vlan <vlan-list>
no service-policy input {<policy-
map-name>} vlan <vlan-list>
Apply a policy map to the specified VLAN interface; the no
command deletes the specified policy map applied to the
VLAN interface or deletes all the policy maps applied in the
ingress direction of the vlan interface.
4. Configure queue management algorithm and weight
Command
Explanation
Port Configuration Mode
mls qos queue algorithm { sp | wrr | wdrr }
no mls qos queue algorithm
Set queue management algorithm, the de-
fault queue management algorithm is wrr.
mls qos queue wrr weight <weight0..weight7>
no mls qos queue wrr weight
Set queue weight based a port, the default
queue weight is 1 2 3 4 5 6 7 8.
mls qos queue wdrr weight <weight0..weight7>
no mls qos queue wdrr weight
Set queue weight based a port, the default
queue weight is 10 20 40 80 160 320 640
1280.
mls
qos
queue
<queue-id>
bandwidth
<minimum-bandwidth> <maximum-bandwidth>
no mls qos queue <queue-id> bandwidth
Set bandwidth guarantee based a port.
185
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...