Show IP Route Connected
Allows you to see just the directly connected routes installed in the routing table.
Router#show ip route ospf
Here’s an example of the show ip route connected command. First, here’s the entire routing table of R2, outputted from the show ip route command.
R2(config-if)#do sh ip route
Gateway of last resort is not set
220.127.116.11/32 is subnetted, 3 subnets
Next, here’s the output from using the show ip route connected command, which filters the output to just the directly connected routes in the routing table.
R2(config)#do show ip route connected