E-DOC-CTC-20061027-0003v2.0
Expr Commands
331
EXAMPLE:
RELATED COMMANDS:
=>expr list
name type use flags expression
------------------------------------------------------------------------------------------
_myPPP_ppp intf 0 D 1. intf=myPPP_ppp
_eth0 intf 0 D 1. intf=eth0
wan intf 0 1. intfgroup=0
lan intf 28 1. intfgroup=2
local intf 0 1. intfgroup=1
notwan intf 1 1. intfgroup=2
2. intfgroup=1
_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
...
DiffServ serv 0 1. dscp=!0
sip serv 1 1. proto=17 dst-prt=5060
2. proto=6 dst-prt=5060
h323 serv 1 1. proto=6 dst-prt=1720
2. proto=17 dst-prt=1718
3. proto=17 dst-prt=1719
=>expr add name=myEXPR type=intf intf=Internet intfgroup=lan
=>expr list
name type use flags expression
------------------------------------------------------------------------------------------
_myPPP_ppp intf 0 D 1. intf=myPPP_ppp
_eth0 intf 0 D 1. intf=eth0
wan intf 0 1. intfgroup=0
lan intf 28 1. intfgroup=2
local intf 0 1. intfgroup=1
notwan intf 1 1. intfgroup=2
2. intfgroup=1
myEXPR intf 0 1. intf=Internet intfgroup=2
_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
...
DiffServ serv 0 1. dscp=!0
sip serv 1 1. proto=17 dst-prt=5060
2. proto=6 dst-prt=5060
h323 serv 1 1. proto=6 dst-prt=1720
2. proto=17 dst-prt=1718
3. proto=17 dst-prt=1719
=>
expr delete Delete an expression.expr list List the expressions.