Operation Manual – IP Addressing and IP Performance
H3C S5500-EI Series Ethernet Switches
Chapter 1 IP Addressing Configuration
1-4
Note:
This chapter only covers how to assign an IP address manually. For other approaches,
refer to
DHCP Configuration
.
This section includes:
z
Assigning an IP Address to an Interface
z
IP Addressing Configuration Example
1.2.1 Assigning an IP Address to an Interface
You may assign an interface multiple IP addresses, one primary and multiple
secondaries, to connect multiple logical subnets on the same physical subnet.
Follow these steps to assign an IP address to an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Enter interface view
interface interface-type
interface-number
––
Assign an IP address to
the interface
ip
address
ip-address
{
mask | mask-length
}
[
sub
]
Required
No IP address is assigned
by default.
Caution:
z
The primary IP address you assigned to the interface can overwrite the old one if
there is any.
z
An interface cannot be configured with a secondary IP address if the interface has
been configured to obtain an IP address through BOOTP or DHCP.
z
The primary and secondary IP addresses you assign to the interface can be located
on the same network segment. However, this should not violate the rule that
different physical interfaces on your device must reside on different network
segments.