User guide

TCP/IP command reference IP
4-13
iMG/RG Software Reference Manual (IPNetwork Functions)
4.1.8.2.3 IP ADD DEFAULTROUTE INTERFACE
Syntax IP ADD DEFAULTROUTE INTERFACE <interface>
Description This command creates a default route. It acts as a shortcut command that you can use
instead of typing the following:
ip add route default 0.0.0.0 0.0.0.0 interface ip3
Note: You can only create one default route. A default route will not be created if you have already created a
default route using the ip add route command or the ip add defaultroute gateway command.
If you want RIP to advertise a default route with a default cost metric, see the IP SET RIP
ADVERTISEDEFAULT and IP SET RIP DEFAULTROUTECOST commands.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example --> ip add defaultroute interface ip3
See also ip add route
ip add defaultroute gateway
ip set rip advertisedefault
ip set rip defaultroutecost
4.1.8.2.4 IP ADD DEFAULTROUTE INTERFACE DISABLED
Syntax IP ADD DEFAULTROUTE INTERFACE <interface> DISABLED
Description This command creates a default route but prevents its activation. It acts as a shortcut
command that you can use instead of typing the following:
ip add route default 0.0.0.0 0.0.0.0 interface ip3 disabled
Note: You can only create one default route. A default route will not be created if you have already created a
default route using the ip add route command or the ip add defaultroute gateway command.
If you want RIP to advertise a default route with a default cost metric, see the IP SET RIP
ADVERTISEDEFAULT and IP SET RIP DEFAULTROUTECOST commands.
Note: This command is avalable on FIBER B,D,E MODULAR and ADSL B,C models only.
Option Description Default Value
interface The name of the existing interface that this route will
use. To display interface names, use the IP LIST INTER-
FACES command.
N/A