Skip header
 

ROUTE

Use the “route” command to control the routing table.

This command allows you to configure and display routing information. You can change the network configuration from remote computers using this command.

The maximum number of routing tables is 16.

Commands

Topics of setting

route add {host | net} destination*1 gateway*1

Adds a host/network route to “destination”, and a gateway address to “gateway” in the table. Host becomes the default.

route delete {host | net} destination*1

Deletes a host/network route from the table. Host becomes the default.

route get {destination*1}

Displays only route information corresponding to a specified destination. When the destination is unspecified, all routing information is displayed.

route active {host | net} destination*1 {on | off}

You can turn the specified destination on or off. Host becomes the default.

route add default gateway*1

You can set the default gateway address.

route flush

Deletes all routing information.

*1 IP address