288
C
HAPTER
26: DHCP/BOOTP C
LIENT
C
ONFIGURATION
n
Currently, the Switch 4210 functioning as the DHCP client can use an IP address
for 24 days at most. That is, the DHCP client can obtain an address lease for no
more than 24 days even though the DHCP server offers a longer lease period.
n
To improve security and avoid malicious attack to the unused SOCKETs, the Switch
4210 provides the following functions:
■
UDP 67 and UDP 68 ports used by DHCP are enabled only when DHCP is
enabled.
■
UDP 67 and UDP 68 ports are disabled when DHCP is disabled.
The specific implementation is:
■
Using the ip address dhcp-alloc command enables the DHCP client, and UDP
port 68.
■
Using the undo ip address dhcp-alloc command disables the DHCP client, and
UDP port 68.
Displaying
DHCP/BOOTP Client
Configuration
DHCP Client
Configuration
Example
Network requirements
Using DHCP, VLAN-interface 1 of Switch B is connected to the LAN to obtain an IP
address from the DHCP server.
Configure the VLAN interface to
obtain IP address through DHCP
or BOOTP
ip address
{
bootp-alloc
|
dhcp-alloc
}
Required
By default, no IP address is
configured for the VLAN
interface.
Table 215
Configure a DHCP/BOOTP client
Operation
Command
Description
Operation
Command
Description
Display related information on a
DHCP client
display dhcp client
[
verbose
]
Optional
Available in any view
Display related information on a
BOOTP client
display bootp client
[
interface Vlan-interface
vlan-id
]
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...