Page 311 / 998 Scroll up to view Page 306 - 310
TCP/IP command reference
IP
4-9
iMG/RG Software Reference Manual (IPNetwork Functions)
4.1.8.2 IP CLI commands
The table below lists the IP commands provided by the CLI:
TABLE 4-1
IP
CLI
commands
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
IP ATTACH
X
X
X
X
X
X
X
X
X
IP ATTACHBRIDGE
X
X
X
X
X
X
X
X
X
IP ATTACHVIRTUAL
X
X
X
X
X
X
X
X
X
IP CLEAR ARPENTRIES
X
X
X
X
X
X
X
X
X
IP CLEAR INTERFACES
X
X
X
X
X
X
X
X
X
IP CLEAR RIPROUTES
X
X
X
X
X
X
X
X
X
IP CLEAR ROUTES
X
X
X
X
X
X
X
X
X
IP DELETE INTERFACE
X
X
X
X
X
X
X
X
X
IP DELETE ROUTE
X
X
X
X
X
X
X
X
X
IP DETACH INTERFACE
X
X
X
X
X
X
X
X
X
IP INTERFACE ADD PROXYARPENTRY
X
X
X
X
X
X
X
X
X
IP INTERFACE ADD PROXYARPEXCLUSION
X
X
X
X
X
X
X
X
X
IP INTERFACE ADD SECONDARYIPADDRESS
X
X
X
X
X
X
X
X
X
IP INTERFACE ADD STATICARPENTRY
X
X
X
X
X
X
X
X
X
IP INTERFACE CLEAR PROXYARPENTRIES
X
X
X
X
X
X
X
X
X
IP INTERFACE CLEAR SECONDARYIPADDRESSES
X
X
X
X
X
X
X
X
X
IP INTERFACE CLEAR STATICARPENTRIES
X
X
X
X
X
X
X
X
X
IP INTERFACE DELETE PROXYARPENTRIES
X
X
X
X
X
X
X
X
X
IP INTERFACE DELETE PROXYARPEXCLUSION
X
X
X
X
X
X
X
X
X
IP INTERFACE DELETE SECONDARYIPADDRESSES
X
X
X
X
X
X
X
X
X
IP INTERFACE DELETE STATICARPENTRY
X
X
X
X
X
X
X
X
X
IP INTERFACE LIST PROXYARPENTRIES
X
X
X
X
X
X
X
X
X
IP INTERFACE LIST SECONDARYIPADDRESSES
X
X
X
X
X
X
X
X
X
Page 312 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-10
IP INTERFACE LIST STATICARPENTRIES
X
X
X
X
X
X
X
X
X
IP LIST APPSERVICES
X
X
X
X
X
X
X
X
X
IP LIST ARPENTRIES
X
X
X
X
X
X
X
X
X
IP LIST CONNECTIONS
X
X
X
X
X
X
X
X
X
IP LIST INTERFACES
X
X
X
X
X
X
X
X
X
IP LIST RIPROUTES
X
X
X
X
X
X
X
X
X
IP LIST ROUTES
X
X
X
X
X
X
X
X
X
STOP PING
X
X
X
X
X
X
X
X
X
IP PING
X
X
X
X
X
X
X
X
X
IP SET APPSERVICE
X
X
X
X
X
X
X
X
X
IP SET INTERFACE IPADDRESS
X
X
X
X
X
X
X
X
X
IP SET INTERFACE NETMASK
X
X
X
X
X
X
X
X
X
IP SET INTERFACE MTU
X
X
X
X
X
X
X
X
X
IP SET INTERFACE DHCP
X
X
X
X
X
X
X
X
X
IP SET INTERFACE GATEWAY
X
X
X
X
X
X
X
X
X
IP SET INTERFACE RIP ACCEPT
X
X
X
X
X
X
X
X
X
IP SET INTERFACE RIP MULTICAST
X
X
X
X
X
X
X
X
X
IP SET INTERFACE RIP SEND
X
X
X
X
X
X
X
X
X
IP SET INTERFACE TCPMSSCLAMP
X
X
X
X
X
X
X
X
X
IP SET RIP ADVERTISEDEFAULT
X
X
X
X
X
X
X
X
X
IP SET RIP AUTHENTICATION
X
X
X
X
X
X
X
X
X
IP SET RIP DEFAULTROUTECOST
X
X
X
X
X
X
X
X
X
IP SET RIP HOSTROUTES
X
X
X
X
X
X
X
X
X
IP SET RIP PASSWORD
X
X
X
X
X
X
X
X
X
IP SET RIP POISON
X
X
X
X
X
X
X
X
X
IP SET ROUTE
X
X
X
X
X
X
X
X
X
TABLE 4-1
IP
CLI
commands (Continued)
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 313 / 998
TCP/IP command reference
IP
4-11
iMG/RG Software Reference Manual (IPNetwork Functions)
(*) Those commands are avalaible on
FIBER B,D,E, MODULAR
and
ADSL B,C
devices
4.1.8.2.1 IP ADD DEFAULTROUTE GATEWAY
Syntax
IP ADD DEFAULTROUTE GATEWAY <gateway_ip>
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 gateway 192.168.103.3
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
INTERFACE
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.
IP SET ROUTE
X
X
X
X
X
X
X
X
X
IP SET ROUTE
X
X
X
X
X
X
X
X
X
IP SET ROUTE ADVERTISE
X
X
X
X
X
X
X
X
X
IP SET ROUTE DESTINATION
X
X
X
X
X
X
X
X
X
IP SET ROUTE GATEWAY
X
X
X
X
X
X
X
X
X
IP SET ROUTE COST
X
X
X
X
X
X
X
X
X
IP SET ROUTE INTERFACE
X
X
X
X
X
X
X
X
X
IP SET TTL
X
X
X
X
X
X
X
X
X
IP SHOW
X
X
X
X
X
X
X
X
X
IP SHOW APPSERVICE
X
X
X
X
X
X
X
X
X
IP SHOW INTERFACE
X
X
X
X
X
X
X
X
X
IP SHOW ROUTE
X
X
X
X
X
X
X
X
X
TABLE 4-1
IP
CLI
commands (Continued)
Commands
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
Page 314 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-12
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 gateway 192.168.103.3
See also
ip add route
ip add defaultroute interface
ip set rip advertisedefault
ip set rip defaultroutecost
4.1.8.2.2 IP ADD DEFAULTROUTE GATEWAY DISABLED
Syntax
IP ADD DEFAULTROUTE GATEWAY <gateway_ip> DISABLED
Description
This command creates a default route and 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 gateway 192.168.103.3 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
INTERFACE
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 are avalable on FIBER B,D,E MODULAR and ADSL B,C models only.
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 gateway 192.168.103.3
See also
ip add route disabled, ip add route, ip set route enabled
ip add defaultroute interface, ip add default route inter-
face disabled
ip set rip advertisedefault
ip set rip defaultroutecost
Option
Description
Default Value
gateway_ip
The IP address of the gateway that this route will
use by default, in the format: 192.168.103.3
gateway_ip
Option
Description
Default Value
gateway_ip
The IP address of the gateway that this route will
use by default, in the format: 192.168.103.3
gateway_ip
Page 315 / 998
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

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top