A static route has been configured on a router. However, the destination network no longer exists. What should an administrator do to remove the static route from the routing table?
- Remove the route using the no ip route command.
- Change the administrative distance for that route.
- Nothing. The static route will go away on its own.
- Change the routing metric for that route.
-
Answers Explanation & Hints: To remove a static route from the routing table, the administrator should use the
no
form of theip route
command with the same parameters used to configure the static route. For example, if the static route was configured with the commandip route 192.168.1.0 255.255.255.0 10.1.1.1
, the administrator can remove it with the commandno ip route 192.168.1.0 255.255.255.0 10.1.1.1
.If the destination network no longer exists, the static route will be removed automatically from the routing table when the router detects that the network is no longer reachable. However, it is good practice to remove the static route manually to avoid any potential issues with routing or performance.
Changing the administrative distance or routing metric will not remove the static route from the routing table.