![SMC Networks 7724M/VSW - annexe 1 Manual Download Page 177](http://html1.mh-extra.com/html/smc-networks/7724m-vsw-annexe-1/7724m-vsw-annexe-1_manual_1299754177.webp)
CLI
Management Guide
TigerAccess™ EE
176
SMC7824M/VSW
7.6.3.2 Packet
Counter
The packet counter function provides information on the total number of packets that the
rule received and analyzed. This feature allows you to know the type of packets transmit-
ted in the system according to rule configuration.
To count the number of packets matching to corresponding policer, use the following
command.
Command Mode
Description
counter
{
octet
|
packet
}
Counts the number of packets matching the rule in
octet unit or packet unit.
no counter
Policer
Disables a packet counter function.
The switch cannot display how many packets are actually dropped by rule configuration.
However, you better know the number of packets that are dropped by rule configuration
even if these packets are attackable or unnecessary for the packet management. To solve
this problem, switch adds the feature that transmits the dropped packets to null port and
monitors them. These packets on null port are eventually eliminated from the network.
To count a number of dropped packets, use the following command.
Command Mode
Description
action match redirect blackhole
Policer
Sends the dropped packets to Null port for the packet
counter
To reset a collected policy counter, use the following command.
Command Mode
Description
clear policy counter
{
NAME
|
all
}
Enable
Global
Bridge
Resets a collected policy counter.
To display the number of packets on each rule, use the following command.
Command Mode
Description
show flow statistics
Shows a collected flow counter.
show class statistics
Shows a collected class counter.
show policer statistics
Shows a collected policer counter.
show policy statistics
Enable
Global
Shows a collected policy counter.
7.6.3.3
Average Packet Counter
After this switch is running on octet counter mode using
counter octet
command, you
can collect and analyze the statistics of packets measured in bits per second.
To enable/disable the system to display the statistics of packets measured during current
5 seconds, 1 minute and 10 minutes in bits per second, use the following command.
Summary of Contents for 7724M/VSW - annexe 1
Page 1: ......
Page 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Page 387: ......