hit counter script

Modular Qos Command-Line Interface - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Control Plane Policing
class copp-system-p-class-fcoe
class copp-system-p-class-l2-default
class class-default
Packets Per Second Credit Limit
The aggregate packets per second (PPS) for a given policy (sum of PPS of each class part of the policy) is
capped by an upper PPS Credit Limit (PCL). If an increase in PPS of a given class causes a PCL exceed, the
configuration is rejected. To increase the desired PPS, the additional PPS beyond PCL should be decreased
from other class(es).

Modular QoS Command-Line Interface

CoPP uses the Modular Quality of Service Command-Line Interface (MQC). MQC is a CLI structure that
allows you to define a traffic class, create a traffic policy (policy map), and attach the traffic policy to an
interface. The traffic policy contains the CoPP feature that will be applied to the traffic class.
SUMMARY STEPS
1. Define a traffic class using the class-map command. A traffic class is used to classify traffic.
2. Create a traffic policy using the policy-map command. A traffic policy (policy map) contains a traffic
class and one or more CoPP features that will be applied to the traffic class. The CoPP features in the
traffic policy determine how to treat the classified traffic.
3. Attach the traffic policy (policy map) to the control plane using the control-plane and service-policy
commands.
DETAILED STEPS
Step 1
Define a traffic class using the class-map command. A traffic class is used to classify traffic.
This example shows how to create a new class-map called copp-sample-class:
class-map type control-plane copp-sample-class
Step 2
Create a traffic policy using the policy-map command. A traffic policy (policy map) contains a traffic class and one or
more CoPP features that will be applied to the traffic class. The CoPP features in the traffic policy determine how to treat
the classified traffic.
Step 3
Attach the traffic policy (policy map) to the control plane using the control-plane and service-policy commands.
This example shows how to attach the policy map to the control plane:
control-plane
service-policy input copp-system-policy
Note
The copp-system-policy is always configured and applied. There is no need to use this command explicitly.
police cir 15 pps bc 32 packets conform transmit violate drop
set cos 6
police cir 750 pps bc 128 packets conform transmit violate drop
set cos 0
police cir 25 pps bc 32 packets conform transmit violate drop
set cos 0
police cir 25 pps bc 32 packets conform transmit violate drop
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
Packets Per Second Credit Limit
469

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF