z

z

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.

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

 

 

To do…

 

Use the command…

 

Remarks

 

 

Display information about a specified

 

display ip interface [ interface-type

 

 

 

 

or all Layer 3 interfaces

 

interface-number ]

 

Available in any

 

 

 

 

 

 

 

 

Display brief configuration information

 

 

 

 

 

 

display ip interface brief

 

view

 

 

about a specified or all Layer 3

 

 

 

 

 

 

[ interface-type [ interface-number ] ]

 

 

 

 

interfaces

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP Address Configuration Examples

IP Address Configuration Example I

Network requirement

As shown in Figure 1-3, assign IP address 129.2.2.1 with mask 255.255.255.0 to VLAN-interface 1 of Switch.

Figure 1-3Network diagram for IP address configuration

Console Cable

PC

Switch

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

1-4

Page 306
Image 306
3Com WX3000 Displaying and Maintaining IP Addressing, IP Address Configuration Examples, Network requirement