Operation Manual
IP
SIP Software Release 6-0-0
J613-M0524-00
33
See Also
DISABLE IP IGMP
ENABLE IP IGMP
SHOW IP IGMP
SET IP INTERFACE
Syntax
SET IP INTERFACE=name [{CONFIGURATION={DHCP |
DHCPCONF [SERVERID=id]} | [IPADDRESS=ipaddr]
[MASK=ipaddr] [GATEWAY=ipaddr]]
Short Syntax
S IP INT=name [{CONF={DHCP | DHCPCONF
[SERVERID=id]} | [IPADDRESS=ipaddr] [MASK=ipaddr]
[GATEWAY=ipaddr]]
where:
ξ name is the interface short name plus the interface number (e.g. eth0, ppp1, ..)
ξ ipaddr is an ip address in dotted decimal notation
ξ id is a string that can contain upper or lower case alphanumeric characters and
symbols excluding wildcards (*). The maximum number of characters is 20.
Description
This command configures an IP interface on a specific port. The port can be
configured in three ways: manual, DHCP and DHCPCONF. The parameters
that can be set manually are address, network mask and default gateway, if
any.
If the network mask is not given, the default for the class at which the
address belongs is taken. For example the address 192.168.0.19 belongs to
the class C subnet 192.168.0.x and will have 255.255.255.0 as default network
mask.
The default configuration for the port is MANUAL.
DHCPCONF is a special DHCP configuration to help manage configuration
and software upgrade centrally. SERVERID is an identifier of the server that
itβs supposed to manage the device.
Examples
To set the 192.168.0.10 on the eth0 (Ethernet interface 0):
SET IP INTERFACE=eth0 IPADDRESS=192.168.0.10
That is equivalent to
SET IP INTERFACE=eth0 CONFIGURATION=MANUAL
IPADDRESS=192.168.0.10 MASK=255.255.255.0
To set the default gateway to 192.168.0.1: