This appendix
provides SCM-specific engineering rules or guidelines that must
be considered prior to configuring the ASR 5000 for your network
deployment. General and network-specific rules are located in the
appendix of the System
Administration and Configuration Guide for the specific network
type.
AoR Regular Expression
Rules
Regular expressions
can be used in source
aor and destination
aor keywords. Individual characters, sometimes referred
to as wildcards or meta characters, can be used to create AoR ranges
or broader groups to which rules or policies can be applied.
Meta Characters
Currently, the following
meta characters are supported:
-
“$.” (dollar
period): can be used in the username, domain, or sub-domain portion of
the AoR. The following examples show how this character can be used:
-
$.@Provider.com
- matches all users from the “Provider” domain
-
$.@$..com
- matches all users with a “.com” domain only
-
mobile$.@Provider.com
- matches “Provider” users who have an AoR starting
with “mobile”
-
“$” (dollar
sign): use to substitute any single character. Example:
-
$11 matches
911, 411, etc.
-
“%” (percent
symbol): use to signify the start of a pattern such as add/delete/substitute for
translations.
AoR Regular Expression
Patterns
The uri-readdress aor keyword
found in the Translation Configuration mode, supports the use of
regular expression patterns. Individual characters, sometimes referred
to as wildcards or meta characters, can be used to create AoR ranges
or broader groups to which rules or policies can be applied. In
a regular expression pattern, the meta character “%” is
used to signify the beginning of an add, delete, or substitute command
used for translations.
The syntax of a pattern
is:
| Character/Variable |
Description |
| - |
Delete |
| + |
Add |
| num |
Numeric
character up to 32. |
| p |
Prefix |
| s |
Suffix |
| t |
Truncate |
| sub |
Substitute
alpha and/or numeric string or “-” (hyphen)
or “.” (dot) |
Syntax examples:
-
%-nump: Removes (
-) specified
number (
num)
of characters from the prefix (
p) of the
username.
-
%+numssub: Adds
(
+)
specified number (
num)
of characters (
sub)
to suffix (
s)
of the username.
-
%numt: Truncates
(
t)
the username to a specified number (
num) of characters.
-
%+psub: Adds
(+) specified number (
num) to prefix
of a dial number.