pipe running-config through include with the regular expression you want to pick out, ie:
sw3550#sh run | include service
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
sw3550#
sw3550#sh run | inc network
network 100.0.0.0
network 192.168.1.0
sw3550#
r2620_01#sh run | include interface
interface Loopback0
interface FastEthernet0/0
interface Serial0/0
interface Serial0/1
r2620_01#
r2620_01#sh run | inc buttcheese
r2620_01#
that one didn't work...
FYI....the buttcheese command only works with government interfaces
ReplyDelete