H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – IP Address-IP Performance-IPX
H3C S7500 Series Ethernet Switches
Chapter 1 IP Address Configuration
Commands
1-4
By default, a VLAN or loopback interface has no IP address.
Generally, it is enough to configure one IP address for a VLAN/LoopBack interface.
However, you can configure up to eight IP addresses for a VLAN/LoopBack interface so
that it can be connected to several subnets. Among these IP addresses, one is the
primary IP address and all the others are secondary ones. The relationship between
the primary address and the secondary addresses is as follows:
z When you configure a primary IP address for an interface which already has a
primary IP address, the new address will replace the old one.
z If you execute the undo ip address command without any parameter, the switch
deletes both primary and secondary IP addresses of the interface. The undo ip
address ip-address { mask | mask-length } command is used to delete the primary
IP address. The undo ip address ip-address { mask | mask-length } sub
command is used to delete secondary IP addresses.
Related commands: display ip interface.
Examples
# Specify the IP address and subnet mask of VLAN-interface 1 as 129.12.0.1 and
255.255.255.0 respectively.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 1
[H3C-Vlan-interface1] ip address 129.12.0.1 255.255.255.0