Cisco Cisco ASR 5000
ACS Ruledef Configuration Mode Commands
▀ www url
▄ Command Line Interface Reference, StarOS Release 18
1256
Regex Character
Description
|
Specify OR regular expression operator
Important:
When using the regex operator “|” in regex expressions, always wrap the
string in double quotes.
For example, if you want to match the string "pqr” OR “xyz”, you must configure it as:
http host regex "pqr|xyz"
.
Example
The following command defines a rule expression to match user traffic based on WWW URL
www.abc.com
:
www url = www.abc.com
The following command defines a regex rule expression to match either of the following values in the WWW
URL string: http://tp2.site.com/httppvc_clnsssite.com.wap.symphonieserver.musicwaver.com/,
http://134.210.11.13/httppvc_clnsssite.com.wap.symphonieserver.musicwaver.com/.
URL string: http://tp2.site.com/httppvc_clnsssite.com.wap.symphonieserver.musicwaver.com/,
http://134.210.11.13/httppvc_clnsssite.com.wap.symphonieserver.musicwaver.com/.
www url regex
"http://(tp2.site.com|134.210.11.3)/httppvc_clnsssite.com.wap.symphoniese
rver.musicwaver.com/"
"http://(tp2.site.com|134.210.11.3)/httppvc_clnsssite.com.wap.symphoniese
rver.musicwaver.com/"