Cisco filtrar o output

Para filtrar o output dos comandos usamos:

Include (Para incluir)
Exclude (Para excluir)
Selection (incluir ou excluir um secção)


Por exemplo da seguinte forma:

Para mostrar todos os interfaces, mas só obter o nome dos interfaces:

Router# show running-config | include interface
interface Ethernet0/0
interface Ethernet1/0
interface Serial2/0
interface Serial3/0#

Mostrar todos os interfaces e as suas secções:

Router# show running-config | section include interface
interface Ethernet0/0
shutdown
no cdp enable
interface Ethernet1/0
shutdown
no cdp enable
interface Serial2/0
shutdown
no cdp enable
interface Serial3/0
shutdown
no cdp enable