Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
471
rtsp - Real-Time Streaming Protocol.
ssh - Secured shell.
telnet - Telnet.
tftp - Trivial File Transfer Protocol.
Example
This example shows how to specify a class map called class-home-userand configures the access list
named acl-home-userto be used as the match criterion for that class.
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 cosand 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)#
53-4 mls qos aggregate-policer
This command is used to define a named aggregate policer for use in policy maps. To delete a named
aggregate policer, use the no form of this command. The mls qos aggregate-policer command is for
single rate policing and the mls qos aggregate-policer cir command is for two-rate policing.