errorcode
This command adds a pattern to match error codes.
Syntax
errorcode pattern
Parameters
- pattern
- Defines a match pattern that defines the error code set.
Guidelines
The errorcode command adds a pattern to match error codes. To determine whether the pattern is a PCRE expression or shell style expression, use the match-with-pcre command.
Examples
Create the
allErrors matching rule. Add a pattern to match all error
codes.# matching allErrors
Matching configuration mode
# errorcode *