Cisco Cisco Packet Data Gateway (PDG)

다운로드
페이지 2186
Description
Regex Character
Match the Carriage return (ASCII 13) character
\r
Match the Tab (ASCII 9) character
\t
Match the Vertical tab (ASCII 11) character
\v
Match the Null (ASCII 0) character
\0
Match the backslash character
\\
Match any single character from the range
Bracketed range [0-9]
Do not match any in the range. All other characters represent themselves.
A leading ^ in a range
Any ASCII character as specified in two-digit hex notation.
For example, \x5A yields a "Z".
.\x##
Specify OR regular expression operator
When using the regex operator "|" in regex expressions, always
wrap the string in double quotes.
Important
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 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: 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_)*
   Command Line Interface Reference, Modes A - B, StarOS Release 19
1168
ACS Ruledef Configuration Mode Commands
rtsp-stream first-setup-url