I have multiple config files where I need to pull the ip address from loopback3. The format is the same in every file, the ip is the second line after interface loopback3.
interface loopback2 loopback
description router ID
ip address 192.168.1.1
interface loopback3 loopback
description ID:Management
ip address 10.1.1.1
interface loopback4 loopback
ip address 10.2.1.1
I need the output to be:
10.1.1.1