Cisco Cisco ASR 5000
ACS Ruledef Configuration Mode Commands
rtsp-stream first-setup-url ▀
Command Line Interface Reference, StarOS Release 18 ▄
1097
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 all RTSP, RTCP, and RTP traffic when the parent RTSP’s
first setup URL contains
first setup URL contains
cisco.com
:
rtsp-stream first-setup-url contains cisco.com
The following command defines a rule expression to match all RTSP, RTCP, and RTP traffic when the parent RTSP’s
first setup URL matches the given regular expression:
first setup URL matches the given regular expression:
rtsp://tvs100.google.fr/t1/M6
rtsp-stream first-setup-url regex rtsp://tvs(a|l|b)[0-9][0-
9].google.(fr|:554)/t1/(M6|W9_)*
9].google.(fr|:554)/t1/(M6|W9_)*