Service-Policy - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Quality of Service (QoS) Commands
78-21075-01 Command Line Interface Reference Guide
Default Usage
N/A
Command Mode
Policy-map Class Configuration mode
User Guidelines
This command only exists in when the device is in Layer 2 mode.
Policing uses a token bucket algorithm. CIR represents the speed with which the
token is added to 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 kbps and the normal burst size exceeds 9600 bytes, the packet
is dropped. The class is called class1 and is in a policy map called policy1.
switchxxxxxx(config)#
switchxxxxxx(config-pmap)#
switchxxxxxx(config-pmap-c)#

49.13 service-policy

Use the service-policy Interface Configuration (Ethernet, Port-channel) mode
command to bind a policy map to a port/port-channel. Use the no form of this
command to detach a policy map from an interface.
This command is only available in QoS advanced mode.
Syntax
policy-map-name
service-policy input
no service-policy input
Parameters
policy-map-name—Specifies the policy map name to apply to the input
interface. (Length: 1–32 characters)
policy-map
policy1
class1
class
police
124000 9600
default-action [
exceed-action drop
permit-any
deny-any
|
49
]
807

Advertisement

Table of Contents
loading

Table of Contents