IOS CLI timesavers

By utilizing the pipe (‘|’) character at the enable prompt, you can display only specific lines of the configuration and avoid having to page through the configuration to reach the section you’re looking for.

router#show run | begin interface  {abbr. ‘show run | b inter’}
 ‘starts config output at first occurance of the word interface’

router#show run | include interface {abbr. ‘show run | i inter’}
 ‘shows all occurances of the word interface’

router#show run | section interface {abbr. ‘show run | s inter’}
 ‘output sections of config that include the word interface’

When in config mode, you can execute enable mode commands without having to escape back to the enable prompt by preceding the enable command with the word ‘do’:

router(config)#do show run  ‘outputs running config

router(config)#do show isdn status ‘outputs isdn circuit status to the terminal