Displaying Output That Matches a Regular Expression

If the regular expression contains any spaces, operators, or wildcard characters, enclose it in quotation marks.

For information about common regular expression operators, see .

To display output that matches a regular expression:

  • Enter match  regular-expression after the pipe symbol.

The following example matches all Ethernet interfaces in the interface configuration:

user@host> show configuration interfaces | match eth 
eth0 {