You can view default route information such as whether the routed daemon is turned on or off, default route information, and routing protocols. You can view the default route information by using the routed status command.
Step
- Enter the following command:
routed status Note: You can also view the default route by using the netstat -rn or route -s commands.
Example
The output of the routed status command is as follows:
routed status
RIP snooping is on
Gateway Metric State Time Last Heard
example-gateway.com 1 ALIVE Wed Mar 18 13:58:56 IST 2009
0 free gateway entries, 1 used
In the routed status command output, metric is the route property that is used to determine the preferred route. The route with the lowest metric is the preferred route. You should always use a metric greater than 0 when adding default routes.