Chapter 5
Packet Classification and Labelling
E-NIT-CTC-20041213-0013 v0.5
58
List an expression
Execute the following CLI command to view a list with all the expressions:
The output will look like this :
There are expressions that start with
_
like
_
10.0.0.138. These are dynamically
generated. Expressions are generated dynamically mainly for firewall use but can be
used for other purposes as well.
The list command can be refined by adding the expression name and/or type
Execute the following CLI command to list all expressions with the name ftp and the
type set to serv in a pretty format.
The output will look like this :
The same command with the format set to CLI will give an output like this :
This actualy will give you the extended CLI command used to add the expression.
Now we can create,modify,delete and list labels, rules and expressions.
{Administrator}=>:expr list
name type
use
flags
expression
-----------------------------------------------------------------------
DHCP-R_if_0 intf
1
D
1.
intf=lan1
wan
intf
1
1. intfgroup=0
lan intf
13
1.
intfgroup=2
local
intf
1
1. intfgroup=1
_Internet
intf
0
D
1. intf=Internet
_lan1
intf
0
D
1. intf=lan1
HTTPI_if_0
intf
1
D
1. intf=lan1
2. intf=lan1
3. intf=lan1
HTTP_if_0
intf
1
D
1. intfgroup=2
HTTPs_if_0
intf
1
D
1. intfgroup=2
FTP_if_0 intf
1
D
1.
intfgroup=2
TELNET_if_0 intf
1
D
1.
intfgroup=2
DNS-S_if_0 intf
1
D
1.
intfgroup=2
SNMP_AGENT_if_0 intf
1
D
1.
intfgroup=2
PING_RESPONDER_if_0 intf
1
D
1.
intfgroup=2
ssdp_ip
ip
0
1. addr=239.255.255.250
mdap_ip
ip
0
1. addr=224.0.0.103
_10.0.0.138 ip
0
D
1.
addr=10.0.0.138
_192.168.1.254 ip
0
D
1.
addr=192.168.1.254
HTTP_sv_0
serv
1
D
1. proto=6 dst-prt=80
HTTPs_sv_0
serv
1
D
1. proto=6 dst-prt=443
FTP_sv_0
serv
1
D
1. proto=6 dst-prt=21
TELNET_sv_0
serv
1
D
1. proto=6 dst-prt=23
DNS-S_sv_0
serv
1
D
1. proto=17 dst-prt=53
{Administrator}[expr]=>list name ftp type serv format pretty
name
type
use
flags
expression
-----------------------------------------------------------------------
ftp
serv
0
1. proto=6 dst-prt=21
2. proto=6 dst-prt=20
:expr add name=ftp type=serv proto=tcp dstport=ftp
:expr add name=ftp type=serv proto=tcp dstport=ftp-data
Summary of Contents for IPQoS
Page 2: ......
Page 3: ...SpeedTouch IPQoS Configuration Guide R5 3 0 ...
Page 8: ...Contents E NIT CTC 20041213 0013 v0 5 6 ...
Page 10: ...About this IPQoS Configuration Guide E NIT CTC 20041213 0013 v0 5 8 ...
Page 12: ...Chapter 1 Document scope E NIT CTC 20041213 0013 v0 5 10 ...
Page 116: ...Chapter 8 Scenario 2 Business user with TOS marking E NIT CTC 20041213 0013 v0 5 114 ...
Page 120: ...Reference List E NIT CTC 20041213 0013 v0 5 118 ...
Page 122: ...Abreviation List E NIT CTC 20041213 0013 v0 5 120 ...
Page 123: ......