How To Create A Traffic Counter; How To Delete A Traffic Counter; How To Delete All Existing Traffic Counters; Configuring Traffic Rules - Cisco SCE2020-4XGBE-SM Configuration Manual

Software configuration guide
Table of Contents

Advertisement

Configuring Traffic Rules and Counters

How to Create a Traffic Counter

Options
The following options are available:
From the SCE(config if)# prompt, type traffic-counter name name count-bytes|count-packets and
Step 1
press Enter.
Adds a traffic counter with the specified name and counting mode.

How to Delete a Traffic Counter

From the SCE(config if)# prompt, type no traffic-counter name name and press Enter.
Step 1
Note that a traffic counter cannot be deleted if it is used by any existing traffic rule.

How to Delete all Existing Traffic Counters

From the SCE(config if)# prompt, type no traffic-counter all and press Enter.
Step 1
Removes all traffic counters.
Note that a traffic counter cannot be deleted if it is used by any existing traffic rule.

Configuring Traffic Rules

Use the following commands to create and delete traffic rules.

How to Create a Traffic Rule

Cisco SCE 2000 and SCE 1000 Software Configuration Guide
6-20
name —The name of the counter
Count packets — the counter is incremented by 1 for each packet it counts.
Count bytes — the counter is incremented by the number of bytes in the packet for each packet it
counts.
How to Create a Traffic Rule, page 6-20
How to Delete a Traffic Rule, page 6-24
How to Delete all Traffic Rules, page 6-24
How to Delete All Flow Control Traffic Rules, page 6-24
Options, page 6-21
Configuring Traffic Rules: Examples, page 6-22
Chapter 6
Configuring the Line Interface
OL-7827-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sce 2000Sce 1000

Table of Contents