Firewall Commands
E-DOC-CTC-20040907-0010 v1.0
171
firewall rule stats
Show the rule statistics.
The number of packets and bytes which have passed the hooks are listed.
SYNTAX:
where:
EXAMPLE 1:
DESCRIPTION:
The statistics for the ‘Test‘ chain are the result of sending UDP packets to the SpeedTouch
TM
. The chain ‘Test‘ is
assigned to the hook ‘input‘ and prohibits the sending of UDP packets from one host to another.
firewall rule stats
[chain = <string>]
[index = <number>]
chain
The name of the chain for which the statistics must be listed.
Note
If not specified, the statistics for the rules applicable to all chains are shown.
OPTIONAL
index
The index number of the chain's rule for which the statistics must be listed.
Tip
Use the command
:firewall rule list
to determine the index number of
the applicable rule.
Note
If 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
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,
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
=>
Summary of Contents for SpeedTouch 510v5
Page 2: ......
Page 3: ...SpeedTouchTM 516 536 546 510v5 530v5 CLI Reference Guide R5 2 7...
Page 16: ...Contents E DOC CTC 20040907 0010 v1 0 14...
Page 34: ...ADSL Commands E DOC CTC 20040907 0010 v1 0 32...
Page 60: ...Bridge Commands E DOC CTC 20040907 0010 v1 0 58...
Page 116: ...DHCP Commands E DOC CTC 20040907 0010 v1 0 114...
Page 224: ...IPQoS Commands E DOC CTC 20040907 0010 v1 0 222...
Page 266: ...NAT Commands E DOC CTC 20040907 0010 v1 0 264...
Page 272: ...Phonebook Commands E DOC CTC 20040907 0010 v1 0 270...
Page 314: ...PPTP Commands E DOC CTC 20040907 0010 v1 0 312...
Page 322: ...QoSBook Commands E DOC CTC 20040907 0010 v1 0 320...
Page 338: ...Software Commands E DOC CTC 20040907 0010 v1 0 336...
Page 346: ...Switch Commands E DOC CTC 20040907 0010 v1 0 344...
Page 383: ......