expr Commands
338 E-DOC-CTC-20071119-0014 v1.0
expr modifyModify 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}>
[type = <{intf|ip|serv|mac}]>
index = <number>
mac [!] = <hardware-address>
addr [!] = <ip-range>
[mask [ = <ip-mask(dotted or cidr)]>
[intf [!] = <{loop|Internet|LocalNetwork}]>
[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 [!] = <{at-echo|at-nbp|at-rtmp|at-
zis|auth|bgp|biff|bootpc|bootps|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|...}or
number]>
[srcportend = <{at-echo|at-nbp|at-rtmp|at-
zis|auth|bgp|biff|bootpc|bootps|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|...}or
number]>