The Default-Router [Ip Address] Cisco command

Syntax: default-router [ip-address]

Usage: The default-router command is used to configure a default router for a Cisco router. The default router is the router that the router will use to forward packets that are not destined for any of the directly connected networks.

Effect: The default-router command adds the specified IP address to the routing table as a default route. This means that the router will send any packets that are not destined for any of the directly connected networks to the specified router.

Equipment: The default-router command can be used on all Cisco routers.

Configuration: To configure a default router, enter the following command in configuration mode:

default-router [ip-address]

For example, to configure the router to use the router with the IP address 10.0.0.1 as the default router, enter the following command:

default-router 10.0.0.1

Verification: To verify that the default router has been configured correctly, enter the following command in privileged EXEC mode:

show ip route

The output of the show ip route command will include a route to the default router. The route to the default router will have a destination of 0.0.0.0 and a next hop of the IP address of the default router.

Troubleshooting: If you are having problems configuring a default router, check the following:

default-router [ip address] Usage Examples

The default-router [ip address] command specifies the IP address of the default next-hop router to use for forwarding packets outside of the local network. This command can be used on the following interfaces:

The following are examples of the default-router [ip address] command: