54
C
HAPTER
11: DHCP/BOOTP C
LIENT
C
ONFIGURATION
Configuring a
DHCP/BOOTP Client
Configuration Example
Network requirements
To manage the switch S4200GA remotely, which operates as a DHCP client, through
Telnet, The following are required:
■
S4200GA has an IP address that is obtained through DHCP
■
The route between S4200GA and the remote console is reachable.
To achieve this, you need to perform the following configuration for the switch:
■
Configuring the management VLAN interface to obtain an IP address through
DHCP
■
Configuring a default route
Configuration procedures
1
Enter system view.
<S4200GA>
system-view
2
Create VLAN 10 and configure VLAN 10 to be the management VLAN.
[4200GA]
vlan 10
[4200GA-vlan10]
quit
[4200GA]
management-vlan 10
3
Create VLAN 10 interface and enter VLAN interface view.
[4200GA]
interface vlan-interface 10
4
Configure the management VLAN interface to obtain an IP address through DHCP.
[4200GA-Vlan-interface10]
ip address dhcp-alloc
[4200GA-Vlan-interface10]
quit
5
Configure a default route.
[4200GA]
ip route-static 0.0.0.0 0.0.0.0 1.1.1.2
Table 36
Configure 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.
Display the information
about the BOOTP client
display bootp client
[
interface
vlan-interface
vlan
-
id
]
Optional
You can execute these two
commands in any view.
Display the information
about the DHCP client
display dhcp client
[
verbose
]
Summary of Contents for 3CR17660-91
Page 10: ...8 CONTENTS ...
Page 14: ...4 ABOUT THIS GUIDE ...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM ...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS ...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION ...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION ...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION ...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION ...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT ...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET ...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION ...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION ...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION ...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION ...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION ...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES ...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION ...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging ...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER ...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING ...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging ...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST ...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS ...