Quality Of Service (Qos) Commands - D-Link DXS-3600 Series Cli Reference Manual

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide

87. Quality of Service (QoS) Commands

87-1 class
This command is used to specify the name of the class map to be associated with a traffic policy and then
enter into policy map class configuration mode. Use the no command to remove the policy definition for
the specified class.
class NAME
no class NAME
class class-default
Parameters
NAME
Default
None.
Command Mode
Policy-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command enters the policy-map class configuration mode. All the traffic that does not match the
proceeding defined class will be classified as class-default. If the specified name of class map does not
exist, no traffic is classified to the class.
Example
This example shows how to define a policy map, policy1, which defines policies for the class "class-dscp-
red". The packets that match DSCP 10, 12, or 14 will all be marked as DSCP 10 and be policed by a
single rate policer.
Switch# configure terminal
Switch(config)# class-map class-dscp-red
Switch(config-cmap)# match ip dscp 10,12,14
Switch(config-cmap)# exit
Switch(config)# policy-map policy1
Switch(config-pmap)# class class-dscp-red
Switch(config-pmap-c)# set ip dscp 10
Switch(config-pmap-c)# police 1000000 2000 exceed-action set-dscp-transmit 0
Switch(config-pmap-c)#
87-2 class-map
This command is used to create or modify a class-map that defines the criteria for packet matching. To
remove an existing class map from the switch, use the no command to remove an existing class map.
The class-map command enters the class-map configuration mode.
Specifies the name of the class map to be associated with a traffic
policy.
1081

Advertisement

Table of Contents
loading

Table of Contents