![Edge-Core Direk Tronik 24/48-Port Management Manual Download Page 503](http://html1.mh-extra.com/html/edge-core/direk-tronik-24-48-port/direk-tronik-24-48-port_management-manual_2359667503.webp)
set
56-5
56
Default Setting
None
Command Mode
Policy Map Configuration
Command Usage
• Use the
policy-map
command to specify a policy map and enter Policy Map
configuration mode. Then use the
class
command to enter Policy Map Class
configuration mode. And finally, use the
set
and
police
commands to specify
the match criteria, where the:
-
set
command classifies the service that an IP packet will receive.
-
police
command defines the maximum throughput, burst rate, and the
action that results from a policy violation.
•
You can configure up to 16 rules per Class Map. You can also include multiple
classes in a Policy Map
.
Example
This example creates a policy called “rd_policy,” uses the
class
command to specify
the previously defined “rd_class,” uses the
set
command to classify the service that
incoming packets will receive, and then uses the
police
command to limit the
average bandwidth to 100,000 Kbps, the burst rate to 1522 bytes, and configure the
response to drop any violating packets.
set
This command services IP traffic by setting a CoS, DSCP, or IP Precedence value in
a matching packet (as specified by the
match
command on page 56-3). Use the
no
form to remove the traffic classification.
Syntax
[
no
]
set
{
cos
new-cos
|
ip dscp
new-dscp
|
ip precedence
new-precedence
|
ipv6 dscp
new-dscp
}
•
new-cos
- New Class of Service (CoS) value. (Range: 0-7)
•
new-dscp
- New Differentiated Service Code Point (DSCP) value.
(Range: 0-63)
•
new-precedence
- New IP Precedence value. (Range: 0-7)
Default Setting
None
Console(config)#policy-map rd_policy
Console(config-pmap)#class rd_class
Console(config-pmap-c)#set ip dscp 3
Console(config-pmap-c)#police 100000 1522 exceed-action drop
Console(config-pmap-c)#
Summary of Contents for Direk Tronik 24/48-Port
Page 2: ......
Page 4: ...ES4524D ES4548D F0 0 0 4 E112006 CS R01 149100030400A...
Page 22: ...xxii Tables...
Page 26: ...xxvi Figures...
Page 28: ...Getting Started...
Page 50: ...Initial Configuration 2 14 2...
Page 52: ...Switch Management Configuring Domain Name Service 29 1 Switch Clustering 30 1...
Page 68: ...Basic System Settings 4 8 4...
Page 118: ...Simple Network Management Protocol 11 18 11...
Page 142: ...Configuring 802 1X Port Authentication 14 8 14...
Page 154: ...Access Control Lists 15 12 15...
Page 232: ...Configuring Protocol Based VLANs 25 4 25...
Page 252: ...Quality of Service 27 8 27...
Page 282: ...Using the Command Line Interface 31 10 31...
Page 290: ...General Commands 33 6 33...
Page 300: ...System Management Commands 34 10 34...
Page 308: ...File Management Commands 35 8 35...
Page 326: ...Event Logging Commands 37 8 37...
Page 336: ...Time Commands 39 6 39...
Page 406: ...Access Control List Commands 44 18 44...
Page 418: ...Interface Commands 45 12 45...
Page 432: ...Broadcast Storm Control Commands 47 2 47...
Page 436: ...Rate Limit Commands 49 2 49...
Page 478: ...VLAN Commands 52 18 52...
Page 508: ...Quality of Service Commands 56 10 56...
Page 518: ...Multicast Filtering Commands 57 10 57...
Page 532: ...IPv4 Interface Commands 59 6 59...
Page 560: ...IPv6 Interface Commands 60 28 60...
Page 566: ...Switch Cluster Commands 61 6 61...
Page 568: ...Appendices...
Page 582: ...Glossary Glossary 8...
Page 587: ......
Page 588: ...ES4524D ES4548D E112006 CS R01 149100030400A...