QoS Commands

Command Mode

Policy-map Class Configuration mode

User Guidelines

Policing uses a token bucket algorithm. CIR represents the speed with which the token is removed from 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 bps or the normal burst size exceeds 96000 bps, the packet is dropped. The class is called class1 and is in a policy map called policy1..

Console (config)# policy-mappolicy1

Console (config-pmap)# class class1

Console (config-pmap-c)# police 124000 9600 exceed-action drop

service-policy

The service-policyInterface Configuration (Ethernet, port-Channel) mode command applies a policy map to the input of a particular interface. To detach a policy map from an interface, use the no form of this command.

Syntax

service-policy {input policy-map-name}

no service-policy {input}

Parameters

policy-map-name— Specifies the name of the policy map to be applied to the input interface.

Default Configuration

This command has no default configuration.

Command Mode

Interface Configuration (Ethernet, port-Channel) mode

Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

179

Page 195
Image 195
Intel SBCEGBESW10 CLI manual Service-policy input policy-map-name No service-policy input