Specifications

Table Of Contents
2-527
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
traffic-counter
traffic-counter
Defines a new traffic counter. Use the no form of the command to delete an existing traffic counter.
traffic-counter name name {count-bytes | count-packets}
no traffic-counter {name name |all}
Syntax Description
Command Default This command has no default settings.
Command Modes Linecard Interface Configuration
Command History This table includes the following release-specific history entries:
Usage Guidelines The following are usage guidelines for the traffic-counter command:
Use the count-bytes keyword to enable counting the bytes in each packet.
The counter will increment by the number of bytes in each packet.
Use the count-packets keyword to enable counting whole packets.
The counter will increment by one for each packet.
Use the all keyword with the no form to delete all existing traffic counters.
Authorization: admin
Examples The following are examples of the traffic-counter command:
EXAMPLE 1:
Following is an example of creating a traffic counter that will count bytes.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)#traffic-counter name counter1 count-bytes
SCE(config if)#
EXAMPLE 2:
The following example demonstrates how to delete all traffic counters.
name Name to be assigned to this traffic counter.
Release Modification
2.5.7 This command was introduced.