Label rule delete, Delete a label rule, Label commands – Technicolor - Thomson ST585 V6 User Manual
Page 522: Syntax, Example
E-DOC-CTC-20061027-0004 v1.0
Label Commands
498
label rule delete
Delete a label rule.
SYNTAX:
where:
EXAMPLE:
label rule delete
chain =
index =
chain
The name of the chain in which a rule must be deleted.
REQUIRED
index
The index number of the rule in the chain.
Tip
Use the command
:label rule list to obtain the
index number of the applicable rule.
REQUIRED
=>label rule list
Rules (flags: C=Constant, D=Dynamic, E=Enable, L=Log)
=====
Chain
Nr.
Flags
Rule
--------------------------------------------------------------------------------------------------
routing_labels
1
CDE
: link
rt_user_labels
2
CDE
: link
rt_default_labels
qos_labels
1
CDE
: link
qos_user_labels
2
CDE
: link
qos_default_labels
qos_default_labels
1
C E
: VoIP
sip *.* > *.*
2
C E
: VoIP
h323 *.* > *.*
3
C E
: Interactive
telnet *.* > *.*
...
19
E
: Management
icmp *.* > *.*
20
C E
: Video
rtsp *.* > *.*
21
C E
: Video
igmp *.* > *.*
22
C E
default
: default
!wan.* > *.*
myChain
1
C EL
myRule
: myLABEL DiffServ *.* > *.150.150.150.150
=>label rule delete chain=myChain index=1
=>label rule list
Rules (flags: C=Constant, D=Dynamic, E=Enable, L=Log)
=====
Chain
Nr.
Flags
Rule
--------------------------------------------------------------------------------------------------
routing_labels
1
CDE
: link
rt_user_labels
2
CDE
: link
rt_default_labels
qos_labels
1
CDE
: link
qos_user_labels
2
CDE
: link
qos_default_labels
qos_default_labels
1
C E
: VoIP
sip *.* > *.*
2
C E
: VoIP
h323 *.* > *.*
3
C E
: Interactive
telnet *.* > *.*
...
19
E
: Management
icmp *.* > *.*
20
C E
: Video
rtsp *.* > *.*
21
C E
: Video
igmp *.* > *.*
22
C E
default
: default
!wan.* > *.*
=>