User guide
TCP/IP command reference IP
4-25
iMG/RG Software Reference Manual (IPNetwork Functions)
Example --> ip interface ip1 add secondaryipaddress 192.168.102.3 255.255.255.0
See also IP LIST INTERFACES
IP INTERFACE LIST SECONDARYIPADDRESSES
4.1.8.2.21 IP INTERFACE ADD STATICARPENTRY
Syntax IP INTERFACE {<name>|<number>} ADD STATICARPENTRY <ipad-
dress> <macaddr>
Description This command allows you to add a static ARP entry. This is useful for testing purposes.
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 interface ip1 add staticarpentry 192.168.1.1 00:20:2b:e0:03:87
See also ip list interfaces
ip interface list staticarpentries
ipaddress A secondary IP address that you want to add to the main
IP interface. You can add any number of secondary IP
addresses. The IP address is displayed in the following for-
mat: 192.168.102.3
To display the secondary IP addresses, use the IP INTER-
FACE LIST SECONDARYIPADDRESSES command.
N/A
netmask The netmask of the secondary IP address displayed in the
following format: 255.255.255.0 To display the secondary
IP addresses, use the IP INTERFACE LIST SECONDARYI-
PADDRESSES command.
none specified
Option Description Default Value
name An existing IP interface. To display interface names, use
the IP LIST INTERFACES command.
N/A
number An existing IP interface. To display interface numbers,
use the IP LIST INTERFACES command. The number
appears in the first column under the heading ID.
N/A
ipaddress The IP address/range of addresses of the interface to be
set as a static ARP entry, in the format: 192.168.102.3
N/A
macaddr A valid MAC address in the format: ##:##:##:##:##:## N/A
Option Description Default Value