Label commands, 496 example – Technicolor - Thomson ST585 V6 User Manual
Page 520
E-DOC-CTC-20061027-0004 v1.0
Label Commands
496
EXAMPLE:
=>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 *.* > *.*
4
C E
: Interactive
smtp *.* > *.*
5
C E
: Interactive
imap4-ssl *.* > *.*
6
C E
: Interactive
imap3 *.* > *.*
7
C E
: Interactive
imap *.* > *.*
8
C E
: Interactive
imaps *.* > *.*
9
C E
: Interactive
pop3s *.* > *.*
10
C E
: Interactive
pop3 *.* > *.*
11
C E
: Interactive
pop2 *.* > *.*
12
C E
: Interactive
httpproxy *.* > *.*
13
C E
: Interactive
http *.* > *.*
14
C E
: Interactive
https *.* > *.*
15
C E
: Interactive
esp *.* > *.*
16
C E
: Interactive
ah *.* > *.*
17
C E
: Management
dns *.* > *.*
18
C E
: Management
ike *.* > *.*
19
E
: Management
icmp *.* > *.*
20
C E
: Video
rtsp *.* > *.*
21
C E
: Video
igmp *.* > *.*
22
C E
default
: default
!wan.* > *.*
=>label rule add chain=myChain name=myRule dstip=150.150.150.150 serv=DiffServ log=enabled state=enabled
| label=myLABEL
=>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 *.* > *.*
4
C E
: Interactive
smtp *.* > *.*
5
C E
: Interactive
imap4-ssl *.* > *.*
6
C E
: Interactive
imap3 *.* > *.*
7
C E
: Interactive
imap *.* > *.*
8
C E
: Interactive
imaps *.* > *.*
9
C E
: Interactive
pop3s *.* > *.*
10
C E
: Interactive
pop3 *.* > *.*
11
C E
: Interactive
pop2 *.* > *.*
12
C E
: Interactive
httpproxy *.* > *.*
13
C E
: Interactive
http *.* > *.*
14
C E
: Interactive
https *.* > *.*
15
C E
: Interactive
esp *.* > *.*
16
C E
: Interactive
ah *.* > *.*
17
C E
: Management
dns *.* > *.*
18
C E
: Management
ike *.* > *.*
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
=>