Quiz Entry - updated: 2026.07.14
What are the four filtering parameters for Cisco IOS show command output?
section, include, exclude, and begin — each piped after a show command with the | character to trim its output.
Syntax: show [command] | [filter] [expression]
| Filter | Function | Example |
|---|---|---|
| section | Shows the entire section starting with the match | show running-config | section vty |
| include | Shows only lines that contain the expression | show ip interface brief | include up |
| exclude | Shows all lines except those matching | show running-config | exclude ! |
| begin | Shows all output starting from the first matching line | show running-config | begin interface |
Controlling output length:
- By default, output pauses every 24 lines showing
--More-- - Press Enter for one more line, Spacebar for the next page
terminal length 0— disables pausing (shows all output at once)terminal length [lines]— set custom page size
Tip: | include is your best friend for quickly finding specific information in large outputs. For example, show ip interface brief | include up shows only active interfaces.