EXPR COMMANDS
E-DOC-CTC-20100729-0006 v3.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
493
expr modify
Modify an expression.
SYNTAX:
expr modify
name = <{wan|local|lan|tunnel|dmz|guest|
private|ssdp_ip|mdap_ip|icmp|igmp|imaps|pop2|
pop3|pop3s|smtp|ssh|dns|nntp|ipsec|esp|ah|
ike|DiffServ|sip|h323|dhcp|rtsp|ssdp_serv|
mdap_serv|syslog|VoIP-Inc-SIP-UDP|VoIP-Inc-
SIP-TCP|VoIP-Inc-RTP}>
[type = <{intf|ip|serv|mac|length}>]
index = <number>
mac [!] = <hardware-address>
addr [!] = <ip-range>
[mask [ = <ip-mask(dotted or cidr)>]
[intf [!] = <{loop|ipsec0|Internet|lan1|wan1|
dmz1|guest1}>]
[intfgroup [!] = <{wan|local|lan|tunnel|dmz|
guest} or number>]
[tos [!] = <number{0-255}>]
[precedence [!] = <{routine|priority|
immediate|flash|flash-override|CRITIC-ECP|
internetwork-control|network-control} or
number>]
[dscp [!] = <{ef|af11|af12|af13|af21|af22|
af23|af31|af32|af33|af41|af42|af43|cs0|cs1|
cs2|cs3|cs4|cs5|cs6|cs7} or number>]
[proto [!] = <{icmp|igmp|ipinip|tcp|udp|ah|
esp|ipcomp} or number>]
[srcport [!] = <{undefined|at-echo|at-nbp|
at-rtmp|at-zis|auth|bgp|biff|doom|echo|exec|
finger|ftp|ftp-data|gopher|h323|httpproxy|
ike|ils|imap2|imap3|ingres-net|ipcserver|ipx|
irc-o|irc-u|kerberos|ldap|login|netbios-dgm|
netbios-ns|netbios-ssn|netwall|netware-ip|new-
rwho|nfds|nicname|nntp|ntalk|ntp|pcmail-srv|
pop2|pop3|printer|qotd|realaudio|rip|rtelnet|
rtsp|sip|smtp|snmp|snmptrap|snpp|sntp|sql*net|
sql-net|sqlserv|sunrpc|syslog|systat|talk|
telnet|time|timed|tftp|ulistserv|utime|uucp|
uucp-rlogin|who|www-http|whoami|xwindows} or
number>]
[srcportend = <{undefined|at-echo|at-nbp|
at-rtmp|at-zis|auth|bgp|biff|doom|echo|exec|
finger|ftp|ftp-data|gopher|h323|httpproxy|
ike|ils|imap2|imap3|ingres-net|ipcserver|ipx|
irc-o|irc-u|kerberos|ldap|login|netbios-dgm|
netbios-ns|netbios-ssn|netwall|netware-ip|new-
rwho|nfds|nicname|nntp|ntalk|ntp|pcmail-srv|
pop2|pop3|printer|qotd|realaudio|rip|rtelnet|
rtsp|sip|smtp|snmp|snmptrap|snpp|sntp|sql*net|
nickdj.co.uk