3 qos example, Xample – QTECH QSW-8300 Инструкция по настройке User Manual

Page 103

Advertising
background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

102

<in-dscp list> to <out-dscp> | dscp-intp <in-

dscp list> to <intp> | dscp-dp <in-dscp list> to

<dp> )

no mls qos map (cos-dp | dscp-dscp | dscp-

intp | dscp-dp)

mls qos map intp-dscp <dscp1..dscp8>

no mls qos map intp-dscp

command restores the default mapping

value.

6. Clear accounting data of the specific ports or VLANs

Command

Explanation

Admin Mode

clear mls qos statistics [interface <interface-

name> | vlan <vlan-id>]

Clear accounting data of the specified

ports or VLAN Policy Map. If there are

no parameters, clear accounting data of

all policy map.

7. Show configuration of QoS

Command

Explanation

Admin Mode

show mls qos maps [cos-dp | dscp-dscp |

dscp-intp | dscp-dp | intp-dscp]

Display the configuration of QoS mapping.

show class-map [<class-map-name>]

Display the classified map information of

QoS.

show policy-map [<policy-map-name>]

Display the policy map information of QoS.

show mls qos {interface [<interface-id>]

[policy | queuing] | vlan <vlan-id>}

Displays QoS configuration information on a

port.

12.3 QoS Example

Example 1:

Enable QoS function, change the queue out weight of port ethernet 1/0/1 to 1:1:2:2:4:4:8:8, set

the port in trust CoS mode without changing DSCP value, and set the default CoS value of the

port to 5.

The configuration steps are listed below:

Switch#config

Switch(config)# mls qos queue weight 1 1 2 2 4 4 8 8

Switch(Config-If-Ethernet 1/0/1)#mls qos trust cos

Advertising