5 expressions, Definition, Expressions command group – RCA THOMSON SpeedTouchTM (Wireless) Business DSL Router User Manual
Page 54: Adding an expression, Expressions, 5 expressions 52, Chapter 5
Chapter 5
Packet Classification and Labelling
E-NIT-CTC-20041213-0013 v0.5
52
5.5 Expressions
Definition
Expressions are used in rules for source and destination interface, source and
destination IP address (es) (ranges) and services.
There are three types of expressions :
Interface related expressions. These are expressions related to an interface like:
lan, wan,ipoa, pppoe, pppoa etc.
IP related expressions. These are expressions related to an IP address or range.
Service related expressions. These are expressions related to a service like
HTTP, FTP, IKE, SIP, etc.
Expressions command
group
The command group expressions (expr) consists of the following commands :
Adding an expression
Execute the following CLI command to add an expression:
This command has added an expression of the type service with the name ftp using
protocol tcp and destination port 20.
Expression command group
expr
add
delete
modify
list
flush
{Administrator}=>:expr add name ftp type serv proto tcp dstport 20