Command Reference
IP Address/Service Commands
1 IP Address/Service Commands
1.1 ip-address
Use this command to configure the IP address of an interface. Use the
no
form of this command to
restore the default setting.
ip address
ip-address
network-mask
[
secondary
] | [
slave
]
no ip address
[
ip-address
network-mask
[
secondary
] | | [
slave
]]
Parameter
Description
Parameter
Description
ip-address
32-bit IP address, with 8 bits in one group in decimal format. Groups
are separated by dots.
network-mask
32-bit network mask. 1 stands for the mask bit, 0 stands for the host
bit, with 8 bits in one group in decimal format. Groups are separated by
dots.
slave
Slave IP address.
secondary
Secondary IP address
Defaults
No IP address is configured for the interface by default.
Command
Mode
Interface configuration mode
Usage Guide
The equipment cannot receive and send IP packets before it is configured with an IP address. After
an IP address is configured for the interface, the interface is allowed to run the Internet Protocol
(IP).
The network mask is also a 32-bit value that identifies which bits among the IP address is the
network portion. Among the network mask, the IP address bits that correspond to value “1” are the
network address. The IP address bits that correspond to value “0” are the host address. For
example, the n
etwork mask of Class A IP address is “255.0.0.0”. You can divide a network into
different subnets using the network mask. Subnet division means to use the bits in the host address
part as the network address part, so as to reduce the capacity of a host and increase the number of
networks. In this case, the network mask is called subnet mask.
The RGOS software supports multiple IP address for an interface, in which one is the primary IP
address and others are the secondary/slave IP addresses. Theoretically, there is no limit for the
number of secondary IP addresses. The primary IP address must be configured before the
secondary IP addresses. The secondary IP address and the primary IP address must belong to the
same network or different networks. Secondary IP addresses are often used in network
construction. Typically, you can try to use secondary IP addresses in the following situations:
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...