для Cisco Cisco ASR 5700
ACS Ruledef Configuration Mode Commands
rtsp uri ▀
Command Line Interface Reference, StarOS Release 17 ▄
1079
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 RTSP URI
rtsp://www.example.com:554/twister/audiotrack
:
rtsp uri = rtsp://www.example.com:554/twister/audiotrack
The following command defines a regex rule expression to match either of the following or similar values in
the RTSP URI string: rtsp://pvs29p.cvf.fr:554/t1/live/Oui17, rtsp://pvs00p.cvf.fr:554/t1/live/Nrj12,
rtsp://pvs90p.cvf.fr:554/t1/live/France24_fr.
the RTSP URI string: rtsp://pvs29p.cvf.fr:554/t1/live/Oui17, rtsp://pvs00p.cvf.fr:554/t1/live/Nrj12,
rtsp://pvs90p.cvf.fr:554/t1/live/France24_fr.
rtsp uri regex "rtsp://pvs([0-9][0-
9])p.cvf.fr:554/t1/live/(Gulli|Tf1|Tmc|Nrj12|Star|France24_fr|Oui17)*"
9])p.cvf.fr:554/t1/live/(Gulli|Tf1|Tmc|Nrj12|Star|France24_fr|Oui17)*"