Along with ping and traceroute, useful commands to verify static routes include:
- show ip route
- show ip route static
- show ip route network
Figure 1 displays sample output of the show ip route static command. In the example, the output is filtered using the pipe and begin parameter. The output reflects the use of static routes using the next-hop address.
Figure 2 displays sample output of the show ip route 192.168.2.1 command.
Figure 3 verifies the ip route configuration in the running configuration.
Use the Syntax Checker in Figure 4 to verify the routing settings of R2.
Use the Syntax Checker in Figure 5 to verify the routing settings of R3.