2-698
Cisco SCE 8000 CLI Command Reference
Chapter 2 CLI Command Reference
traffic-counter
traffic-counter
Defines a new traffic counter.
To delete an existing traffic counter, use the no form of this command.
traffic-counter name name {count-bytes | count-packets}
no traffic-counter {name name | all}
Syntax Description
Command Default None
Command Modes Interface Linecard Configuration
Command History This table includes the following release-specific history entries:
Usage Guidelines Authorization: admin
Examples The following example shows how to create a traffic counter that counts bytes:
SCE8000>enable 10
Password:<cisco>
SCE8000#config
SCE8000(config)#interface linecard 0
SCE8000(config if)#traffic-counter name counter1 count-bytes
SCE8000(config if)#
The following example shows how to delete all traffic counters:
SCE8000>enable 10
Password:<cisco>
SCE8000#config
SCE8000(config)#interface linecard 0
SCE8000(config if)#no traffic-counter all
SCE8000(config if)#
name Name to be assigned to this traffic counter.
count-bytes Enables counting the bytes in each packet. The counter increments by the
number of bytes in each packet.
count-packets Enables counting whole packets. The counter increments by one for each
packet.
all Used with the no form of the command, deletes all existing traffic counters.
Release Modification
2.5.7 This command was introduced.
Comments to this Manuals