Service-Policy - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Quality of Service (QoS) Commands
78-20269-01 Command Line Interface Reference Guide
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.
Console(config)#
policy-map
Console(config-pmap)#
Console(config-pmap-c)#

41.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)
Command Mode
Interface Configuration (Ethernet, VLAN, Port-channel) mode
policy1
class1
class
police
124000 9600
exceed-action drop
41
570

Advertisement

Table of Contents
loading

Table of Contents