144
C
HAPTER
10: DHCP S
ERVER
C
ONFIGURATION
DHCP Server
Displaying and
Debugging
You can verify your DHCP-related configuration by executing the display command in
any view.
To clear the information about DHCP servers, execute the reset command in user
view.
Executing the save command will not save the lease information on a DHCP server to
the flash memory. Therefore, the configuration file contains no lease information
after the DHCP server restarts or you clear the lease information by executing the
reset dhcp server ip-in-use command. In this case, any lease-update requests will be
denied, and the clients must apply for IP addresses again.
DHCP Server
Configuration
Example
Currently, DHCP networking can be implemented in two ways. One is to deploy the
DHCP server and DHCP clients in the same network segment. This enables the clients
to communicate with the server directly. The other is to deploy the DHCP server and
DHCP clients in different network segments. In this case, IP address assigning is
carried out through DHCP relay. Note that DHCP configuration is the same in both
scenarios.
Network requirements
The DHCP server assigns IP addresses dynamically to the DHCP clients on the same
network segment. The network segment 10.1.1.0/24, to which the IP addresses of
the address pool belong, is divided into two sub-network segment: 10.1.1.0/25 and
10.1.1.128/25. The switch operating as the DHCP server hosts two VLANs, whose
interface IP addresses are 10.1.1.1/25 and 10.1.1.129/25 respectively.
Table 132
Display and debug a DHCP server
Operation
Command
Display the statistics on IP
address conflicts
display dhcp server conflict
{
all
|
ip
ip-address
}
Display lease expiration
information
display dhcp server expired
{
ip
ip-address
|
pool
[
pool-name
] |
interface
[
interface-type interface-number
]
all
}
Display the free IP addresses
display dhcp server free-ip
Display information about
address binding
display dhcp server ip-in-use
{
ip
ip-address
|
pool
[
pool-name
] |
interface
[
interface-type interface-number
]
all
}
Display the statistics on a DHCP
server
display dhcp server statistics
Display information about
DHCP address pool tree
display dhcp server tree
{
pool
[
pool-name
] |
interface
[
interface-type interface-number
] |
all
}
Clear IP address conflict
statistics
reset dhcp server conflict
{
all
|
ip
ip-address
}
Clear dynamic address binding
information
reset dhcp server ip-in-use
{
ip
ip-address
|
pool
[
pool-name
]
|
interface
[
interface-type interface-number
] |
all
}
Clear the statistics on a DHCP
server
reset dhcp server statistics
Содержание 5500 SI - Switch - Stackable
Страница 24: ...24 ABOUT THIS GUIDE...
Страница 30: ...30 CHAPTER 1 GETTING STARTED Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection...
Страница 50: ...50 CHAPTER 1 GETTING STARTED...
Страница 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Страница 78: ...78 CHAPTER 3 PORT OPERATION...
Страница 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Страница 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Страница 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Страница 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Страница 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Страница 349: ...349...
Страница 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Страница 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Страница 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Страница 614: ...614 CHAPTER 32 CLUSTERING...
Страница 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...