Cisco Unified Border Element (CUBE) Dial-Peer Destination Patterns
1 min read

Cisco Unified Border Element (CUBE) Dial-Peer Destination Patterns

Helpful Symbols

  • .
    • Indicates a single-digit placeholder. For example, 555.... matches any dialed string beginning with 555, plus at least four additional digits.
  • []
    • Indicates a range of digits. A consecutive range is indicated with a hyphen (-). A nonconsecutive range is indicated with a comma (,); for example, [5,8].
  • ()
    • Indicates a pattern; for example, 408(555). It is used in conjunction with the symbol ?, %, or +.
  • ?
    • Indicates that the preceding digit occurred zero or one time. Enter ctrl-v before entering ? from the keyboard.
  • %
    • Indicates that the preceding digit occurred zero or more times. This functions the same as the "*" used in regular expression.
  • +
    • Indicates that the preceding digit occurred one or more times.
  • T
    • Indicates the interdigit timeout. The router pauses to collect additional dialed digits.
  • * and #
    • These characters on standard touch-tone dial pads can be used anywhere in the pattern.
  • $
    • Disables variable-length matching. It must be used at the end of the dial string.
  • ^
    • When used within brackets, allows one to eliminate a digit from consideration for dial-peer matching purposes.

Examples

I cannot stress this enough, use the $ sign to eliminate unexpected matching.

  • [0-9].....$
    • 6 Digit Phone Numbers (like internal extensions)
  • [2-9]..[2-9]......$
    • 10 Digit Phone Numbers following North American Numbering Plan

Testing

To test your matching, execute the following:

show dialplan number XXXXX