H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – IP Address-IP Performance-IPX
H3C S7500 Series Ethernet Switches Chapter 1
IP Address Configuration
1-4
However, you can configure up to five IP addresses for a VLAN interface so that the
interface can be connected to several subnets. Among these IP addresses, one is the
primary IP address and the others are secondary ones.
Follow these steps to configure IP address(es) for a VLAN interface:
To do… Use the command… Remarks
Enter system view
system-view
—
Enter VLAN
interface view
interface Vlan-interface
vlan-id
—
Configure an IP
address for a VLAN
interface
ip address ip-address
{ mask | mask-length } [ sub ]
Required
By default, a VLAN interface
has no IP address.
1.3 Displaying and Maintaining IP Address Configuration
To do… Use the command… Remarks
View VLAN interface
information
display ip interface [ brief ]
[ interface-type [ interface-number ] ]
Available in any
view
1.4 IP Address Configuration Example
I. Network requirements
Set the IP address and subnet mask of VLAN interface 1 to 129.2.2.1 and
255.255.255.0 respectively.
II. Network diagram
PC Switch
Console Cable
Figure 1-3 IP address configuration
III. Configuration procedure
# Configure an IP address for VLAN interface 1.
<H3C> system-view
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] ip address 129.2.2.1 255.255.255.0