
1-4
You may assign an interface multiple IP addresses, one primary and multiple secondaries, to connect
multiple logical subnets on the same physical subnet.
Follow these steps to configure an IP address for an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
––
Enter interface view
interface interface-type
interface-number
––
Assign an IP address to the
Interface
ip
address
ip-address
{
mask |
mask-length
} [
sub
]
Required
No IP address is assigned by
default.
z
You can assign at most two IP addresses to an interface of the S5100-SI Series Ethernet Switches,
one of which is the primary IP address and the other is the secondary IP address. The primary and
secondary IP addresses of an interface cannot reside on the same network segment. 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.
z
The S5100-EI series Ethernet switches do not support to specify a secondary IP address of an
interface.
z
A newly specified primary IP address overwrites the previous one if there is any.
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
VLAN Interface 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.
Summary of Contents for H3C S5100-SI
Page 129: ...1 10...
Page 522: ...ii...
Page 701: ...3 2...
Page 797: ...1 20 0 00 packet loss round trip min avg max 50 60 70 ms...
Page 827: ...i Table of Contents 1 Acronyms 1 1...