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 7.

rate <RATE>

Specifies the maximum rate, in packets per second (pps), for packets matching the selected class. Range: 1 to 99999.

burst <BURST>

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

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