D-Link DGS-6608 — руководство по CLI для настройки классов в сетевых коммутаторах [104/1106]

Превью страниц Страница 104 / 1106
D-Link DGS-6608 [104/1106] Usage guideline
DGS-6600 Series Switch m class
CLI Reference Guide
94
class
Use this command to specify the name of the class map in order to define its
traffic policy and enter into policy-map class configuration mode. Use the no form
of the command to remove the policy definition for the specified class. All the
traffic that does not match any defined class will be classified to default class,
class-default.
class NAME
no class NAME
class class-default
Default None.
Command Mode Policy-map configuration.
Usage Guideline The class map needs to be created before the policy can be configured for it. A
class-map without any match commands cannot be configured as a class policy.
This command enters the policy-map class configuration mode. The user can
use the set command and police command to define the QoS policy for the
class.
class-default is the reserved name for the default class.It is created by default
and users cannot create it by the class-map command. Using class-default will
occupy one of the number of class maps; of one policy map. All traffic that does
not match any defined class will be classified to class-default.
Examples This example shows how to define a policy map, policy1 which defines policies
for class, class-dscp-red. The packet that matches DSCP 10, 12, or 14 will be set
to new DSCP 10 and policed by a single rate policer.
Syntax Description
NAME Specifies the name of the class map that you want to specify the class policy. Up
to 32 characters are allowed.
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 20000 exceed-action set-dscp-transmit
0
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit

Содержание

4839

Изучите, как настраивать классы и политики QoS в сетевых коммутаторах. Пошаговые инструкции и примеры команд для эффективного управления трафиком.