Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • 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 {

    Modified: 2014-06-10