EasyManua.ls Logo

D-Link DGS-1510 Series - Page 485

D-Link DGS-1510 Series
711 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
482
Switch# configure terminal
Switch(config)# class-map class-home-user
Switch(config-cmap)# match access-group name acl-home-user
Switch(config-cmap)#
This example shows how to specify a class map called cos and specifies that the CoS values of 1, 2,
and 3 are match criteria for the class.
Switch# configure terminal
Switch(config)# class-map cos
Switch(config-cmap)# match cos 1,2,3
Switch(config-cmap)#
This example shows how 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 3/0/1.
Switch# configure terminal
Switch(config)# 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)# police-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 set-dscp-transmit 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface eth3/0/1
Switch(config-if)# service-policy input cos-based-treatment
Switch(config-if)#
56-4 mls qos aggregate-policer
This command is used to define a named aggregate policer for use in policy maps. Use the no form of
this command to delete a named aggregate policer. The mls qos aggregate-policer command is for
single rate policing and the mls qos aggregate-policer cir command is for two-rate policing.
mls qos aggregate-policer NAME KBPS [BURST-NORMAL [BURST-MAX]] [conform-action
ACTION] exceed-action ACTION [violate-action ACTION] [color-aware]
mls qos aggregate-policer NAME cir CIR [bc COMMITTED-BURST] pir PIR [be PEAK-BURST]
[conform-action ACTION] [exceed-action ACTION [violate-action ACTION]] [color-aware]
no mls qos aggregate-policer NAME
Parameters
NAME
Specifies the name of the aggregate policing rule. The NAME
parameter can be up to 32 characters, is case sensitive. The policer

Table of Contents

Other manuals for D-Link DGS-1510 Series

Related product manuals