C
HAPTER
37
| Quality of Service Commands
– 1194 –
C
OMMAND
M
ODE
Policy Map Class Configuration
C
OMMAND
U
SAGE
◆
You can configure up to 16 policers (i.e., class maps) for ingress ports.
◆
The
committed-rate
cannot exceed the configured interface speed, and
the
committed-burst
cannot exceed 16 Mbytes.
◆
Policing is based on a token bucket, where bucket depth (i.e., the
maximum burst before the bucket overflows) is by specified the
committed-burst
field, and the average rate tokens are added to the
bucket is by specified by the
committed-rate
option. Note that the
token bucket functions similar to that described in RFC 2697 and RFC
2698.
◆
The behavior of the meter is specified in terms of one token bucket (C),
the rate at which the tokens are incremented (CIR – Committed
Information Rate), and the maximum size of the token bucket (BC –
Committed Burst Size).
The token bucket C is initially full, that is, the token count Tc(0) = BC.
Thereafter, the token count Tc is updated CIR times per second as
follows:
■
If Tc is less than BC, Tc is incremented by one, else
■
Tc is not incremented.
When a packet of size B bytes arrives at time t, the following happens:
■
If Tc(t)-B
≥
0, the packet is green and Tc is decremented by B down
to the minimum value of 0, else
■
else the packet is red and Tc is not decremented.
E
XAMPLE
This example creates a policy called “rd-policy,” uses the
class
command to
specify the previously defined “rd-class,” uses the
set phb
command to
classify the service that incoming packets will receive, and then uses the
police flow
command to limit the average bandwidth to 100,000 Kbps,
the burst rate to 4000 bytes, and configure the response to drop any
violating packets.
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set phb 3
Console(config-pmap-c)#police flow 100000 4000 conform-action transmit
violate-action drop
Console(config-pmap-c)#
Содержание ECS3510-10PD
Страница 1: ...Management Guide www edge core com 10 Port Layer 2 Fast Ethernet Switch...
Страница 2: ......
Страница 4: ......
Страница 48: ...CONTENTS 48...
Страница 68: ...SECTION I Getting Started 68...
Страница 78: ...CHAPTER 1 Introduction System Defaults 78...
Страница 96: ...CHAPTER 2 Initial Switch Configuration Managing System Files 96...
Страница 98: ...SECTION II Web Configuration 98...
Страница 118: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 118...
Страница 150: ...CHAPTER 4 Basic Management Tasks Resetting the System 150...
Страница 196: ...CHAPTER 5 Interface Configuration VLAN Trunking 196 Figure 66 Configuring VLAN Trunking...
Страница 238: ...CHAPTER 7 Address Table Settings Configuring MAC Address Mirroring 238...
Страница 264: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 264...
Страница 274: ...CHAPTER 9 Congestion Control Automatic Traffic Control 274...
Страница 288: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 288...
Страница 304: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 304...
Страница 423: ...CHAPTER 13 Security Measures DHCP Snooping 423 Figure 229 Displaying the Binding Table for DHCP Snooping...
Страница 424: ...CHAPTER 13 Security Measures DHCP Snooping 424...
Страница 568: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 568...
Страница 596: ...CHAPTER 15 IP Configuration Setting the Switch s IP Address IP Version 6 596...
Страница 614: ...CHAPTER 1 IP Services Configuring the PPPoE Intermediate Agent 614...
Страница 784: ...CHAPTER 20 System Management Commands Powered Device 784...
Страница 814: ...CHAPTER 22 Remote Monitoring Commands 814...
Страница 1008: ...CHAPTER 26 Interface Commands Power Savings 1008...
Страница 1022: ...CHAPTER 27 Link Aggregation Commands Trunk Status Display Commands 1022...
Страница 1052: ...CHAPTER 29 Congestion Control Commands Automatic Traffic Control Commands 1052...
Страница 1064: ...CHAPTER 31 UniDirectional Link Detection Commands 1064...
Страница 1070: ...CHAPTER 32 Address Table Commands 1070...
Страница 1130: ...CHAPTER 34 ERPS Commands 1130...
Страница 1172: ...CHAPTER 35 VLAN Commands Configuring Voice VLANs 1172...
Страница 1186: ...CHAPTER 36 Class of Service Commands Priority Commands Layer 3 and 4 1186...
Страница 1302: ...CHAPTER 38 Multicast Filtering Commands MVR for IPv6 1302...
Страница 1368: ...CHAPTER 40 CFM Commands Delay Measure Operations 1368...
Страница 1390: ...CHAPTER 42 Domain Name Service Commands 1390...
Страница 1448: ...CHAPTER 44 IP Interface Commands ND Snooping 1448...
Страница 1450: ...SECTION IV Appendices 1450...
Страница 1455: ...APPENDIX A Software Specifications Management Information Bases 1455 UDP MIB RFC 2013...
Страница 1456: ...APPENDIX A Software Specifications Management Information Bases 1456...
Страница 1464: ...APPENDIX D Compliances and Safety Statements CE Mark Declaration of Conformance for EMI and Safety EEC 1464...
Страница 1482: ...COMMAND LIST 1482...
Страница 1493: ......
Страница 1494: ...ECS3510 10PD E032014 ST R03 149100000179A...