Cisco ASR 5000 Series Administration Manual page 24

Enhanced charging services
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

▀ Basic Features and Functionality
 The following command specifies a regex rule expression using the regex character \+ (escaped + character) to
match the following value in the HTTP Host request-header field: host+01.
http host regex "host\\+01"
 The following command specifies a regex rule expression using the regex character \\ (escaped backslash
character) to match the following value in the HTTP Host request-header field: host\01.
http host regex "host\\01"
 The following command specifies regex rule expression using the regex [0-9] to match any of the following or
similar values in the HTTP Host request-header field: hostaBc, hostXyZ, hosthost. Values starting with the
word "host" and not containing numbers.
http host regex "host[^0-9]"
 The following command specifies regex rule expression using the regex [a-z] to match any of the following or
similar values in the HTTP Host request-header field: hostabc, hostxyz, hosthost. Values starting with the word
"host" and containing only lowercase letters.
http host regex "host[a-z]"
 The following command specifies a regex rule expression using the regex | (or) to match either of the following
values in the HTTP Host request-header field: host1, host23w01.
http host regex "host1|host23w01"
 The following command defines a regex rule expression to match any 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.
rtsp uri regex "rtsp://pvs([0-9][0-
9])p.cvf.fr:554/t1/live/(Gulli|Tf1|Tmc|Nrj12|France24_fr|Oui17)*"
 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/.
www url regex
"http://(tp2.site.com|134.210.11.3)/httppvc_clnsssite.com.wap.symphonieserver.musi
cwaver.com/"
 The following command defines a regex rule expression to match any of the following or similar values in the
WSP URL string: wsp://home.opera.yahoo.com, wsp://dwld.yahoo.com, wsp://dwld2.yahoo.com.
wsp url regex "wsp://(dwld|opera|home.opera|dwld[1-3]).yahoo.com"
 The following command defines a regex rule expression to match any of the following or similar values in the
HTTP URL string: http://yahoo.com, http://www.yahoo.co.in, http://yahoo.com/news.
http url regex "(http://|http://www).yahoo.(co.in|com)*"
 The following command defines a regex rule expression to match any of the following or similar values in the
HTTP URI string: http://server19.com/search?form=zip, http://server20.com/search?form=pdf.
http uri regex "(http://|http://www).server[0-2][0-9].com/search?form=(pdf|zip)"
How it Works
This section describes how regex rule matching works.
The following steps describe how regex rule matching works:
1. Regex ruledefs/group-of-ruledefs are configured in the CLI.
▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide
24
Enhanced Charging Service Overview

Advertisement

Table of Contents
loading

Table of Contents