

Used at the end of an expression to denote that a term must be matched exactly up Used at the beginning of an expression to denote where a match should begin. Indicates that a match can be one of the two terms on either side of the pipe.

Table 1: Common Regular Expression Operators in Operational Mode Commands For example: command | match regular-expression | save filename You can enter any of the pipe filters in combination.

Question mark to display an additional compare filter: show configuration | ?Ĭompare Compare configuration changes with prior version Trim Trim specified number of columns from start of lineįor the show configuration command only, you can combine the pipe symbol and Refresh Refresh a continuous display of the command Match Show only text that matches a pattern Hold Hold text without exiting the -More- prompt The following example lists the filters that you can use with the pipe symbol ( | ): show interfaces | show interfaces | ?ĭisplay Show additional kinds of informationĮxcept Show only text that does not match a patternįind Search for first occurrence of pattern Logical-system Name of logical system, or 'all' You can filter command output by adding the pipe ( | ) symbol when you enter the
