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 table Common Regular Expression Operators in Operational Mode Commands in Using Regular Expressions with the Pipe Symbol.

To display output that matches a regular expression:

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

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

Related Documentation