Displaying ip addressing configuration, Ip address configuration examples, Ip address configuration example i – H3C Technologies H3C S3600 Series Switches User Manual
Page 126: Network requirement, Network diagram, Configuration procedure
1-4
To do…
Use the command…
Remarks
Assign an IP address to the
Interface
ip address ip-address { mask |
mask-length } [ sub ]
Required
No IP address is assigned by
default.
You can assign at most five IP address to an interface, among which one is the primary IP address
and the others are secondary IP addresses. A newly specified primary IP address overwrites the
previous one if there is any.
The primary and secondary IP addresses of an interface cannot reside on the same network
segment; the IP address of a VLAN interface must not be on the same network segment as that of
a loopback interface on a device.
A VLAN interface cannot be configured with a secondary IP address if the interface has been
configured to obtain an IP address through BOOTP or DHCP.
Displaying IP Addressing Configuration
To do…
Use the command…
Remarks
Display information about a
specified or all Layer 3
interfaces
display ip interface
[ interface-type
interface-number ]
Display brief configuration
information about a specified or
all Layer 3 interfaces
display ip interface brief
[ interface-type
[ interface-number ] ]
Available in any view
IP Address Configuration Examples
IP Address Configuration Example I
Network requirement
Assign IP address 129.2.2.1 with mask 255.255.255.0 to VLAN-interface 1 of the switch.
Network diagram
Figure 1-3 Network diagram for IP address configuration
Configuration procedure
# Configure an IP address for VLAN-interface 1.