Operation Manual

258
Label Commands
E-DOC-CTC-20040210-0030 v1.0
label rule list
Show a list of rules.
SYNTAX:
where:
EXAMPLE INPUT AND OUTPUT:
RELATED COMMANDS:
label rule list [chain = <string>]
chain The name of the chain for which the rules must be listed.
Note If this parameter is not specified, all rules for all chains
are shown.
OPTIONAL
=>label rule list chain=user_labels
:label rule create chain=user_labels index=0 srcintfgrp=lan prot=tcp dstport=telnet label=Test
:label rule create chain=user_labels index=1 srcintfgrp=lan prot=tcp dstport=smtp label=Test
:label rule create chain=user_labels index=2 srcintfgrp=lan prot=tcp dstport=imap3 label=Test
:label rule create chain=user_labels index=3 srcintfgrp=lan prot=tcp dstport=imap2 label=Test
:label rule create chain=user_labels index=4 srcintfgrp=lan prot=tcp dstport=http label=Test
:label rule create chain=user_labels index=5 srcintfgrp=lan prot=tcp dstport=1080 label=Test
:label rule create chain=user_labels index=6 srcintfgrp=lan prot=tcp dstport=www-http label=Test
=>
label rule clear Clear statistics for a given rule.
label rule create Create a rule.
label rule delete Delete a specified rule in a chain.
label rule flush Delete all rules in a chain.
label rule stats Show statistics for all (or a specified) chains' rules.