D-Link DGS-6608 — настройка QoS на коммутаторах: руководство по классовой политике [479/1106]

Превью страниц Страница 479 / 1106
D-Link DGS-6608 Руководство пользователя _CLI_ онлайн [479/1106] 385626
DGS-6600 Series Switch m match
CLI Reference Guide
469
In the following example, classes called voice and video-n-data are created to
classify traffic based on the CoS values. QoS treatment is then given to the
appropriate packets in the cos-based-treatment policy map (in this example, the
QoS treatment is a single rate policer and a two rate policer for class voice and
video-n-data respectively). The service policy configured in this example is
attached to Ethernet interface eth3.1.
The following example specifies a class map called cos and specifies that the
CoS values of 1, 2, and 3 are match criteria for the class.
Verify the settings by entering the show class-map command.
Switch(config)# class-map voice
Switch(config-cmap)# match cos 7
Switch(config-cmap)# exit
Switch(config)# class-map video-n-data
Switch(config-cmap)# match cos 5
Switch(config-cmap)# exit
Switch(config)# policy-map cos-based-treatment
Switch(config-pmap)# class voice
Switch(config-pmap-c)# police 8000 1000 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# class video-n-data
Switch(config-pmap-c)# police cir 500000 bc 10000 pir 1000000 be 10000
exceed-action drop violate-action drop
exceed-action 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface eth3.1
Switch(config-if)# service-policy cos-based-treatment
Switch(config)# class-map cos
Switch(config-cmap)# match cos 1,2,3
Switch(config-cmap)# exit

Содержание

4839

Изучите, как настроить управление качеством обслуживания (QoS) на коммутаторах, используя классы и политику обработки трафика. Подробные примеры и команды.