D-Link CLI Reference Guide
Page 226
police
The
police
Policy-map Class Configuration mode command defines the policer for classified traffic. To remove a
policer, use the
no
form of this command.
Syntax
police
committed-rate-bps committed -burst-byte
[
exceed-action
{
drop
|
policed-dscp-transmit
}]
no police
Parameters
•
committed-rate-bps
— Specifies the average traffic rate (CIR) in bits per second (bps).
•
committed -burst-byte
— Specifies normal burst size (CBS) in bytes.
•
drop
— Indicates that when the rate is exceeded, the packet is dropped.
•
policed-dscp-transmit
— Indicates that when the rate is exceeded, the DSCP of the packet is remarked
according to the policed-DSCP map as configured by the
qos map policed-dscp
Global Configuration mode
command.
Default Configuration
This command has no default configuration.
Command Mode
Policy-map Class Configuration mode
User Guidelines
Policing uses a token bucket algorithm. CIR represents the speed with which the token is removed from the
bucket. CBS represents the depth of the bucket.
Example
The following example defines a policer for classified traffic. When the traffic rate exceeds 124,000 bps or the
normal burst size exceeds 96000 bps, the packet is dropped. The class is called class1 and is in a policy map
called policy1..
Console (config)#
policy-map
policy1
Console (config-pmap)#
class
class1
Console (config-pmap-c)#
police
124000 9600
exceed-action drop
Содержание DXS-3227 - xStack Switch - Stackable
Страница 12: ...Page 11 ...
Страница 46: ...ACL Commands Page 45 ...
Страница 68: ...Address Table Commands Page 67 ...
Страница 124: ...Ethernet Configuration Commands Page 123 ...
Страница 134: ...GVRP Commands Page 133 ...
Страница 144: ...IGMP Snooping Commands Page 143 ...
Страница 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Страница 166: ...IP Addressing Commands Page 165 ...
Страница 170: ...IP Routing Commands Page 169 Ethernet 1 Specifies the interface through which the specified network can be reached ...
Страница 186: ...Line Commands Page 185 ...
Страница 194: ...Management ACL Commands Page 193 ...
Страница 200: ...PHY Diagnostics Commands Page 199 ...
Страница 208: ...Port Monitor Commands Page 207 ...
Страница 216: ...Power over Ethernet Commands Page 215 ...
Страница 272: ...RMON Commands Page 271 ...
Страница 334: ...Spanning Tree Commands Page 333 ...
Страница 428: ...VLAN Commands Page 427 ...
Страница 465: ...D Link CLI Reference Guide Page 464 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 466: ...802 1x Commands Page 465 ...