beautypg.com

3 dhcp/bootp client configuration, 1 prerequisites, 2 configuring a dhcp/bootp client – H3C Technologies H3C S3100 Series Switches User Manual

Page 365: 3 dhcp/bootp client configuration -4

background image

Operation Manual – DLDP

H3C S3100-52P Ethernet Switch

Chapter 3 DHCP/BOOTP Client Configuration

3-4

To obtain an IP address through BOOTP, a BOOTP client first sends a BOOTP request
packet to the server. Upon receiving the request packet, the server returns a BOOTP
response packet. The BOOTP client then retrieves the assigned IP address from the
response packet.
The BOOTP packets are sent using user datagram protocol (UDP). To ensure reliable
packet transmission, a timer is triggered when a BOOTP client sends a request packet
to the server. If no response packet is received from the server after the timer times out,
the client sends the request packet again. BOOTP request packets are sent every five
seconds and three times at most. A BOOTP client stops sending BOOTP request
packets if it fails to obtain an IP address after sending three successive BOOTP request
packets.

3.3 DHCP/BOOTP Client Configuration

An S3100-52P Ethernet switch can operate as a DHCP client or BOOTP client. In this
case, the IP address of the management VLAN interface is obtained through DHCP or
BOOTP.

3.3.1 Prerequisites

Before configuring the management VLAN, you need to create the VLAN that is to act
as the management VLAN. As VLAN 1 is the default VLAN, there is no need to create it
if you configure VLAN 1 to be the management VLAN.

3.3.2 Configuring a DHCP/BOOTP Client

Table 3-1

Configure a DHCP/BOOTP client

Operation

Command

Description

Enter system view

system-view

Required

Configure a specified

VLAN to be the

management VLAN

management-vlan vlan-id

Required
By default, VLAN 1

operates as the

management VLAN.

Create the management

VLAN interface and enter

VLAN interface view

interface vlan-interface

vlan

-id

Required

Configure the way in

which the management

VLAN interface obtains

an IP address

ip address

{ bootp-alloc |

dhcp-alloc

}

Required
By default, no IP

address is assigned to

the management

VLAN interface.