ADTRAN AOS Version R10.1.0 Command Reference Manual page 1363

Adtran operating system (aos)
Table of Contents

Advertisement

Command Reference Guide
test template match <string> to <pattern>
Use the test template match to command to evaluate dial strings and regular expressions for template
matching and substitution. Once the command is entered, a response is provided indicating if the match
was successful. Variations of this command include the following:
test template match <string> to <pattern>
test template match <string> to <pattern> substitute-using <pattern>
Syntax Description
<string>
<pattern>
substitute-using
Default Values
No default values are necessary for this command.
Command History
Release A4.05
Functional Notes
The <pattern> parameter can be defined using traditional number matching or regular expression
matching methods. Traditional number matching uses numbers and wildcard variables to enter a pattern.
Available characters are as follows:
0-9 = Match exact digit only.
M = Any digit 1 to 8.
X = Any single digit 0 to 9.
N = Any digit 2 to 9.
[123] = Any digit contained in the bracketed list.
Do not use dashes, commas, spaces, etc., inside the brackets. Commas are implied
between numbers in the brackets.
The special characters ( ), -, and + are always ignored in the template. The following are example template
entries using wildcards:
1) 555-81XX matches 555-8100 to 555-8199.
2) 555-812[012] matches 555-8120 to 555-8122.
3) NXX-XXXX matches 7 digit local.
4) 1-NXX-NXX-XXXX matches long distance calls in North America.
60000CRG0-35E
Specifies a specific dial string to match. Valid entries can include a
combination of characters * and 0 through 9.
Specifies a pattern using either traditional number matching or regular
expression matching methods. Refer to the Functional Notes below for
more information.
Optional. Displays the resulting substitution.
Command was introduced.
Copyright © 2012 ADTRAN, Inc.
Global Configuration Mode Command Set
1363

Advertisement

Table of Contents
loading

Related Products for ADTRAN AOS Version R10.1.0

This manual is also suitable for:

Aos r10.1.0

Table of Contents