Displaying and maintaining ip addressing, Ip address configuration examples, Ip address configuration example i – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 295: 4 ip address configuration examples, Ip address configuration example i -4

Advertising
background image

30-4

z

You can assign at most two IP address to an interface, among which one is the primary IP address
and another is secondary IP addresses. A newly specified primary IP address overwrites the
previous one if there is any.

z

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.

z

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 and Maintaining IP Addressing

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

As shown in

Figure 30-3

, assign IP address 129.2.2.1 with mask 255.255.255.0 to VLAN-interface 1 of

Switch.

Figure 30-3

Network diagram for IP address configuration

PC

Switch

Console Cable

Configuration procedure

# Configure an IP address for VLAN-interface 1.

<device> system-view

[device] interface vlan-interface 1

[device-Vlan-interface1] ip address 129.2.2.1 255.255.255.0

Advertising