Chapter 38: Quality of Service Commands
– 1145 –
•
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
command to
specify the previously defined “rd-class,” uses the
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 1000000 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
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
C
OMMAND
U
SAGE
•
The
set cos
command is used to set the CoS value in the VLAN tag for
matching packets.
•
The
set cos
command function at the same level of
priority. Therefore setting either of these commands will overwrite any
action already configured by the other command.
E
XAMPLE
This example creates a policy called “rd-policy,” uses the
command to
specify the previously defined “rd-class,” uses the
set cos
command to
classify the service that incoming packets will receive, and then uses the
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...