[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Displaying Output That Matches a Regular Expression

To display output that matches a regular expression, enter match regular-expression after the pipe symbol. If the regular expression contains any spaces, operators, or wildcard characters, enclose it in quotation marks. For information on common regular expression operators, see Table 16.

The following example matches all the Asynchronous Transfer Mode (ATM) interfaces in the configuration:


user@host> show configuration | match at-
at-2/1/0 {
at-2/1/1 {
at-2/2/0 {
at-5/2/0 {
at-5/3/0 {

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]