Справочник Пользователя для Alcatel-Lucent speedtouch 500
193
Firewall Commands
firewall rule stats
Show statistics, i.e. the number of packets and bytes which have passed the hooks.
SYNTAX:
EXAMPLE:
DESCRIPTION:
The statistics for the ‘Test‘ chain are the result of sending udp packets to the SpeedTouch™. The chain ‘Test‘ is assigned
to the hook ‘input‘ and prohibits the sending of udp packets from one host to another.
to the hook ‘input‘ and prohibits the sending of udp packets from one host to another.
firewall rule stats
[chain = <string>]
[index = <number>]
[index = <number>]
chain
The name of the chain of which the statistics must be listed.
In case this parameter is not specified the statistics for the rules
applicable to all chains are shown.
In case this parameter is not specified the statistics for the rules
applicable to all chains are shown.
OPTIONAL
index
The index number of the chain's rule of which the statistics must be
listed. Execute firewall rule list first to determine the index number
of the applicable rule.
In case this parameter is not specified the statistics for all rules
applicable to the specified chain are shown.
listed. Execute firewall rule list first to determine the index number
of the applicable rule.
In case this parameter is not specified the statistics for all rules
applicable to the specified chain are shown.
OPTIONAL
=>firewall rule list
chain=Test
:firewall
rule create chain=Test index=0 srcintfgrp=lan src=200.200.0.1/32
dst=200.200.0.2/32 prot=udp srcport=0 srcportend=65535 dstport=telnet
action=deny
=>firewall
action=deny
=>firewall
rule clear
=>firewall
rule stats
Chain sink,
index 0,
packets 43,
bytes 1743
Chain sink,
index 1,
packets 0,
bytes 0
Chain sink,
index 2,
packets 0,
bytes 0
Chain sink,
index 3,
packets 0,
bytes 0
Chain forward, index 0,
packets 0,
bytes 0
Chain source,
index 0,
packets 43,
bytes 1977
Chain source,
index 1,
packets 0,
bytes 0
Chain source,
index 2,
packets 0,
bytes 0
Chain Test,
index 0,
packets 0,
bytes 0
=>firewall rule stats
Chain sink,
Chain sink,
index 0,
packets 104,
bytes 6143
Chain sink,
index 1,
packets 0,
bytes 0
Chain sink,
index 2,
packets 0,
bytes 0
Chain sink,
index 3,
packets 0,
bytes 0
Chain forward, index 0,
packets 0,
bytes 0
Chain source,
index 0,
packets 43,
bytes 1977
Chain source,
index 1,
packets 0,
bytes 0
Chain source,
index 2,
packets 0,
bytes 0
Chain Test,
index 0,
packets 44,
bytes 21032
=>