set class-of-service forwarding-class local-priority (CoPP)

The set class-of-service forwarding-class local-priority command sets mapping between forwarding class and local priority, the switch will then send different types of packets to the specific CPU queue.


Command Syntax

set class-of-service forwarding-class <forwarding-class-name> local-priority <int>


Parameter

Parameter

Description

forwarding-class <forwarding-class-name>

Specifies forwarding class, the value is a string, spaces are not allowed.

local-priority <int>

Specifies local priority corresponding to the CPU queue.

The value is an integer that ranges from 0 to 23.

 

Example

• Set forwarding class copp-class3 to CPU queue 20.

admin@XorPlus# set class-of-service forwarding-class copp-class3 local priority 20 admin@XorPlus# commit

 

Copyright © 2024 Pica8 Inc. All Rights Reserved.