C
HAPTER
38
| Quality of Service Commands
– 897 –
When a packet of size B bytes arrives at time t, the following happens if
trTCM is configured to operate in color-blind mode:
■
If Tp(t)-B < 0, the packet is red, else
■
if Tc(t)-B < 0, the packet is yellow and Tp is decremented by B, else
■
the packet is green and both Tp and Tc are decremented by B.
When a packet of size B bytes arrives at time t, the following happens if
trTCM is configured to operate in color-aware mode:
■
If the packet has been precolored as red or if Tp(t)-B < 0, the
packet is red, else
■
if the packet has been precolored as yellow or if Tc(t)-B < 0, the
packet is yellow and Tp is decremented by B, else
■
the packet is green and both Tp and Tc are decremented by B.
◆
The trTCM can be used to mark a IP packet stream in a service, where
different, decreasing levels of assurances (either absolute or relative)
are given to packets which are green, yellow, or red. Refer to RFC 2698
for more information on other aspects of trTCM.
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 trtcm-color-blind
command to limit the average bandwidth to
100,000 Kbps, the committed burst rate to 4000 bytes, the peak
information rate to 1,000,000 kbps, the peak burst size to 6000, to remark
any packets exceeding the committed burst size, and to drop any packets
exceeding the peak information rate.
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set phb 3
Console(config-pmap-c)#police trtcm-color-blind 100000 4000 100000 6000
conform-action transmit exceed-action 0 violate-action drop
Console(config-pmap-c)#
set cos
This command modifies the class of service (CoS) value for a matching
packet (as specified by the
match
command) in the packet’s VLAN tag. Use
the
no
form to remove this setting.
S
YNTAX
[
no
]
set cos
cos-value
cos-value
- Class of Service value. (Range: 0-7)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Policy Map Class Configuration
Содержание ECS4610-24F
Страница 1: ...Management Guide www edge core com ECS4610 24F 24 Port Layer 3 Gigabit Ethernet Switch...
Страница 2: ......
Страница 4: ......
Страница 6: ...ABOUT THIS GUIDE 6...
Страница 36: ...CONTENTS 36...
Страница 48: ...FIGURES 48...
Страница 54: ...TABLES 54...
Страница 56: ...SECTION I Getting Started 56...
Страница 78: ...CHAPTER 2 Initial Switch Configuration Managing System Files 78...
Страница 80: ...SECTION II Web Configuration 80 Unicast Routing on page 483 Multicast Routing on page 541...
Страница 100: ...CHAPTER 3 Using the Web Interface Navigating the Web Browser Interface 100...
Страница 123: ...CHAPTER 4 Basic Management Tasks Resetting the System 123 Figure 22 Restarting the Switch Regularly...
Страница 124: ...CHAPTER 4 Basic Management Tasks Resetting the System 124...
Страница 186: ...CHAPTER 6 VLAN Configuration Configuring MAC based VLANs 186...
Страница 194: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 194...
Страница 218: ...CHAPTER 8 Spanning Tree Algorithm Configuring Interface Settings for MSTP 218...
Страница 220: ...CHAPTER 9 Rate Limit Configuration 220 Figure 103 Configuring Rate Limits...
Страница 222: ...CHAPTER 10 Storm Control Configuration 222 Figure 104 Configuring Broadcast Storm Control...
Страница 238: ...CHAPTER 11 Quality of Service Attaching a Policy Map to a Port 238...
Страница 334: ...CHAPTER 13 Security Measures DHCP Snooping 334...
Страница 429: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration 429 Figure 257 Showing All MVR Groups Assigned to a Port...
Страница 430: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration 430...
Страница 540: ...CHAPTER 20 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2 540...
Страница 564: ...CHAPTER 21 Multicast Routing Configuring PIM for IPv4 564 Figure 375 Showing RP Mapping...
Страница 578: ...CHAPTER 22 Using the Command Line Interface CLI Command Groups 578...
Страница 628: ...CHAPTER 24 System Management Commands Time Range 628...
Страница 648: ...CHAPTER 25 SNMP Commands 648...
Страница 656: ...CHAPTER 26 Remote Monitoring Commands 656...
Страница 786: ...CHAPTER 30 Interface Commands 786...
Страница 800: ...CHAPTER 32 Port Mirroring Commands Local Port Mirroring Commands 800...
Страница 902: ...CHAPTER 38 Quality of Service Commands 902...
Страница 950: ...CHAPTER 39 Multicast Filtering Commands IGMP Proxy Routing 950...
Страница 968: ...CHAPTER 40 LLDP Commands 968...
Страница 978: ...CHAPTER 41 Domain Name Service Commands 978...
Страница 1084: ...CHAPTER 45 IP Routing Commands Open Shortest Path First OSPFv2 1084...
Страница 1114: ...SECTION IV Appendices 1114...
Страница 1120: ...APPENDIX A Software Specifications Management Information Bases 1120...
Страница 1142: ...COMMAND LIST 1142...
Страница 1152: ...INDEX 1152...
Страница 1153: ......
Страница 1154: ...ECS4610 24F E052010 ST R01 149100000092A...