Chapter 38: Quality of Service Commands
– 1147 –
S
YNTAX
[
no
]
set phb
phb-value
phb-value
- Per-hop behavior value. (Range: 0-7)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Policy Map Class Configuration
C
OMMAND
U
SAGE
•
The
set phb
command is used to set an internal QoS value in hardware
for matching packets (see
Table 37-5, "Default Mapping of DSCP Values
). The QoS label is composed of five bits,
three bits for per-hop behavior, and two bits for the color scheme used
to control queue congestion by the
•
The
set phb
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 phb
command to
classify the service that incoming packets will receive, and then uses the
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)#
service-policy
This command applies a policy map defined by the
policy-map
command
to the ingress side of a particular interface. Use the
no
form to remove this
mapping.
S
YNTAX
[
no
]
service-policy
input
policy-map-name
input
- Apply to the input traffic.
policy-map-name
- Name of the policy map for this interface.
(Range: 1-32 characters)
D
EFAULT
S
ETTING
No policy map is attached to an interface.
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...