E-DOC-CTC-20061027-0003v2.0
Label Commands

507

label rule modify

Modify a label rule.
SYNTAX:
where:
label rule modify chain = <chain name>
index = <number>
[newindex = <number>]
[name = <string>]
[clink = <chain name>]
[srcintf [!]= <string>]
[srcip [!]= <{ip address | private}>]
[dstip [!]= <{ip address | private}>]
[serv [!]= <{service name}>]
[log = <{disabled | enabled}>]
[state = <{disabled | enabled}>]
[label = <string>]
iIf a value is preceded by a “!”, it means “NOT”.
For example “srcintf=!wan” means “if srcintf is different from WAN”.
chain The name of the chain which contains the rule. REQUIRED
index The number of the rule in the chain. REQUIRED
newindex The new number of the rule in the chain. OPTIONAL
name The name of the new rule. OPTIONAL
clink The name of the chain to be parsed when this rule applies. OPTIONAL
srcintf The name of the source interface expression. OPTIONAL
srcip The name of the source IP expression. OPTIONAL
dstip The name of the destination IP expression. OPTIONAL
serv The name of the device expression. OPTIONAL
log Disable or enable logging when this rule applies. OPTIONAL
state Disable or enable this rule. OPTIONAL
label Choose between:
>None
>link (when clink is used)
>label name.
OPTIONAL