default-class

Syntax

default-class priority <PRIORITY> rate <RATE> [burst <BURST>]

Description

Configures the default class that is automatically defined for all CoPP policies. The default class cannot be removed, but its configuration can be changed. The default class is applied to traffic that does not match any other class defined for a policy.

Command context

config-copp

Parameters

priority <PRIORITY>

Specifies the priority for packets matching the selected class. Range: 0 to 10.

rate <RATE>

Specifies the maximum rate, in kilobits per second (Kb/s), for packets matching the selected class. Range: 1 to 999999.

burst <BURST>

Specifies the maximum burst size, in kilobytes, for packets matching the selected class. Range: 1 to 130.

Authority

Administrators

Example

Setting the default class to a priority of 2 and rate of 2000:

switch(config-copp)# default-class priority 2 rate 2000