3 qos example, Xample – PLANET XGS3-24042 User Manual

Page 173

Advertising
background image

18-10

mls qos map (cos-dp <dp1…dp8> | dscp-dscp

<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

Set the priority mapping for QoS, the

no 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.

18.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

Advertising
This manual is related to the following products: