How can i get the ip addr of a switch or router without the sh run command?

Cool, on a cisco router though, which ip is its ip?

HJCYRT01>sh ip int brief Interface IP-Address OK? Method Status Protocol GigabitEthernet0/0 172.17.0.91 YES NVRAM up up GigabitEthernet0/1 172.16.0.89 YES NVRAM up up GigabitEthernet0/2 unassigned YES NVRAM administratively down down Serial0/2/0:0 unassigned YES unset down down Serial0/2/0:1 unassigned YES unset down down Serial0/2/0:2 unassigned YES unset down down Serial0/2/0:3 unassigned YES unset down down Serial0/2/0:4 unassigned YES unset down down Serial0/2/0:5 unassigned YES unset down down Serial0/2/0:6 unassigned YES unset down down Serial0/2/0:7 unassigned YES unset down down Serial0/2/0:8 unassigned YES unset down down Serial0/2/0:9 unassigned YES unset down down Serial0/2/0:10 unassigned YES unset down down Serial0/2/0:11 unassigned YES unset down down Serial0/2/0:12 unassigned YES unset down down Serial0/2/0:13 unassigned YES unset down down Serial0/2/0:14 unassigned YES unset down down Serial0/2/0:15 unassigned YES unset down down Serial0/2/0:16 unassigned YES unset down down Serial0/2/0:17 unassigned YES unset down down Serial0/2/0:23 unassigned YES NVRAM down down Loopback1 172.31.255.60 YES NVRAM up up Tunnel1 172.31.0.60 YES NVRAM up up

/r/Cisco Thread Parent