Configuring Ip Addresses; Assigning An Ip Address To An Interface; Displaying And Maintaining Ip Addressing - H3C S5120-SI Series Configuration Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

before being subnetted. (65,534 is 2
the network address.)
When the first 9 bits of the host-id are used to break the Class B network down into 512 (2
7 bits remain to use for the host-id in each subnet, and, in each subnet, the all-one host-id and all-zero
host-id addresses are still reserved. This means that there are 126 (2
subnets. Therefore after subnetting, the maximum number of hosts is reduced to 64,512 (512 × 126),
which is 1022 less than the 65,534 maximum when the network is not subnetted.
Class A, B, and C networks, before being subnetted, use these default masks (also called natural masks):
255.0.0.0, 255.255.0.0, and 255.255.255.0 respectively

Configuring IP addresses

In addition to manually assigning an IP address to an interface, you may configure the interface to obtain
one through BOOTP or DHCP. If you change the way an interface obtains an IP address, from manual
assignment to BOOTP for example, the IP address obtained through BOOTP will overwrite the old one
manually assigned.
This chapter only covers how to assign an IP address manually. For the other two approaches, refer to DHCP
Client Configuration and BOOTP Client Configuration in the Layer 3 - IP Services Configuration Guide.

Assigning an IP address to an interface

To assign an IP address to an interface:
To do...
1.
Enter system view
2.
Enter interface view
3.
Assign an IP address to
the interface

Displaying and maintaining IP addressing

To do...
Display information about a specified
or all Layer 3 interfaces
Display brief information about a
specified or all Layer 3 interfaces
– 2, the two deducted addresses being the broadcast address and
16
Use the command...
system-view
interface interface-type interface-
number
ip address ip-address { mask |
mask-length }
Use the command...
display ip interface [ interface-type
interface-number ]
display ip interface brief [ interface-
type [ interface-number ] ]
32
7
– 2) hosts in each of the 512
Remarks
––
––
Required
No IP address is assigned by default.
Remarks
Available in any view
) subnets, only
9

Advertisement

Table of Contents
loading

Table of Contents