Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
191
Firewall Commands
firewall rule flush
Flush all rules created for a chain(s). The chain itself is not removed. 
Note
The flush command does not impact previously saved configurations.
SYNTAX:
EXAMPLE:
RELATED COMMANDS:
firewall rule flush
[chain = <string>]
chain
The name of the chain to empty.
Note
If this parameter is not specified, all rules for all chains 
are deleted.
OPTIONAL
=>firewall rule list
chain=Telnet
:firewall
rule create chain=Telnet index=0 srcintfgrp=lan src=10.0.0.0/8 |
dst=200.200.200.1/32 prot=tcp srcport=1024 srcportend=65535 dstport=telnet |
action=accept
:firewall
rule create chain=Telnet index=1 srcintfgrp=wan |
src=200.200.200.1/32 dst=10.0.0.0/8 prot=tcp srcport=telnet dstport=1024 |
dstportend=65535 action=accept
:firewall
rule create chain=Telnet index=2 action=drop
=>firewall rule flush
chain=Telnet
=>firewall rule list
chain=Telnet
=>
Clear statistics for a given rule.
Create a rule.
Delete a specified rule in a chain.
Show a list of all (or a specified) chains' rules.
Show statistics for all (or a specified) chains' rules.