Operation Manual

256
Label Commands
E-DOC-CTC-20040210-0030 v1.0
label rule delete
Delete a rule.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
label rule delete chain = <string>
index = <number>
chain The name of the chain in which a rule must be deleted. REQUIRED
index The index number of the rule in the chain.
Note Use the command label rule list first to determine the
index number of the applicable rule.
REQUIRED
=>label rule list
: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 delete chain=user_labels index=2
=>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=imap2 label=Test
:label rule create chain=user_labels index=3 srcintfgrp=lan prot=tcp dstport=http label=Test
:label rule create chain=user_labels index=4 srcintfgrp=lan prot=tcp dstport=1080 label=Test
:label rule create chain=user_labels index=5 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 flush Delete all rules in a chain.
label rule list Show a list of all (or a specified) chains' rules.
label rule stats Show statistics for all (or a specified) chains' rules.