show xxx|include “string”

The command is executed and the output is filtered to only show lines containing the “string” match. All other non-matching lines in the output are suppressed.

The following shows an example of this command.

(Extreme 220) (Routing) #show running-config | include “spanning-tree”
spanning-tree configuration name "00-02-BC-42-F9-33"
spanning-tree bpduguard
spanning-tree bpdufilter default