H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – IP Addressing and Performance
H3C S7500E Series Ethernet Switches Chapter 1 IP Addressing Configuration
1-4
Note:
This chapter only covers how to assign an IP address manually. For the other approach,
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 You cannot assign secondary IP addresses to an interface that has been configured
to obtain an IP address using 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.