D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 QoS Configuration
2-9
Command Description
DES-7200(config)# [no] class-map
class-map-name
Create and enter into the class map configuration
mode, where class-map-name is the name of the
class map to be created.
The no option will delete an existing class map
DES-7200(config-cmap)# [no] match
access-group {acl-num |
acl-name }
Set the matching ACL, where acl-name is the
name of the created ACL,
acl-num is the ID of the created ACL; the no option
delete that match.
For example, the following steps creates a class-map named class1, which is
associated with a ACL:acl_1. This class-map will classify all TCP messages with port
80.
DES-7200(config)# ip access-list extended acl_1
DES-7200(config-ext-nacl)# permit tcp any any eq 80
DES-7200(config-ext-nacl)# exit
DES-7200(config)# class-map class1
DES-7200(config-cmap)# match access-group acl_1
DES-7200(config-cmap)# end
2.2.6 Configuring Policy Maps
You may create and configure Policy Maps through the following steps:
Command Description
DES-7200#configure terminal
Enter the configuration mode
DES-7200(config)# [no] policy-map
policy-map-name
Create and enter into the policy map configuration
mode, where policy-map-name is the name of the
policy map to be created.
The no option will delete an existing policy map
DES-7200(config-pmap)# [no] class
class-map-name
Create and enter into the data classifying
configuration mode, where class-map-name is the
name of the class map to be created.
The no option deletes that data classification
DES-7200(config-pmap-c)# [no]set ip
dscp new-dscp
Set new ip dscp value for the IP messages in the
dataflow; it does not take effect for non-IP
messages.
new-dscp is the new DSCP value to be set, whose
range varies with the specific product.
DES-7200(config-pmap-c)#police
rate-bps burst-byte [exceed-action
{drop | dscp dscp-value}]
Limit the bandwidth of the dataflow and specify the
action for the excessive bandwidth part, where
rate-bps is the limited bandwidth per second
(kbps), burst-byte is the limited burst bandwidth