show xxx|section "string"

The command xxx 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 (i.e. "exit").

Example: The following shows an example of the CLI command.

(Routing) #show running-config | section “interface 0/1”

interface 0/1
no spanning-tree port mode
exit

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail [email protected]

LANCOM Logo
OSZAR »