LABEL COMMANDS
718
E-DOC-CTC-20100729-0006 v3.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
label rule modify
Modify a rule.
SYNTAX:
label rule modify
chain = <chain name>
[index = <number>]
[newindex = <number>]
[name = <string>]
[clink = <chain name>]
[[!]srcintf] = <chain name>]
[[!]srcip] = <chain name>]
[[!]dstip] = <chain name>]
[[!]serv] = <chain name>]
[[!]length] = <chain name>]
[log = <{disabled|enabled}>]
[state = <{disabled|enabled}>]
[label = <{None|link|DSCP|Interactive|
Management|SIPS_RTP|SIPS_SIG|Video|VoIP-RTP|
VoIP-Signal|default}>]
where:
chain
The name of the chain which contains the rule.
REQUIRED
index
The index of the rule in the chain.
OPTIONAL
newindex
The new index 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.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
[!]srcip]
The name of the source ip expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
[!]dstip]
The name of the destination ip expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
[!]serv]
The name of the service expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
[!]length]
The name of the length expression.
If a value is preceded by a “!”, it means NOT.
OPTIONAL
log
Disable/Enable logging when this rule applies.
OPTIONAL
state
Disable/Enable this rule.
OPTIONAL
nickdj.co.uk