Command
Show IP Route Connected
Use
Allows you to see just the directly connected routes installed in the routing table.
Syntax
Router#show ip route ospf
Example
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 1.0.0.0/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 |