show xxx|section “string”

The command is executed and the output is filtered to show only lines included within the section(s) identified by lines containing the “string” match and ending with the first line containing the default end-of-section identifier (that is, “exit”).

The following shows an example of this command.

(Extreme 220) (Routing) #show running-config | section “interface 0/1”
interface 0/1
no spanning-tree port mode