DHCP Relay Displaying
399
DHCP Relay Displaying
You can verify your DHCP relay-related configuration by executing the following
display
commands in any view.
DHCP Relay
Configuration
Example
Network requirements
The DHCP clients on the network segment 10.110.0.0 (255.255.255.0) are
connected to a port of VLAN 2, which has been created on the switch acting as a
DHCP relay. The IP address of the DHCP server is 202.38.1.2. DHCP packets between
the DHCP clients and the DHCP server are forwarded by the DHCP relay, through
which the DHCP clients can obtain IP addresses and related configuration information
from the DHCP server.
Network diagram
Figure 125
Network diagram for DHCP relay
Configuration procedure
1
Enter system view.
<S4200G>
system-view
2
Enable DHCP.
[4200G]
dhcp enable
3
Create DHCP server group 1 and configure an IP address of 202.38.1.2 for it.
[4200G]
dhcp-server 1 ip 202.38.1.2
4
Map VLAN 2 interface to DHCP server group 1.
[4200G]
interface vlan-interface 2
[4200G-Vlan-interface2]
dhcp-server 1
5
Configure an IP address for VLAN 2 interface, so that this interface is on the same
network segment with the DHCP clients.)
[4200G-Vlan-interface2]
ip address 10.110.1.1 255.255.0.0
Table 343
Display DHCP relay information
Operation
Command
Display information about a specified DHCP server
group
display dhcp-server
groupNo
Display information about the DHCP server group
to which a specified VLAN interface is mapped
display dhcp-server interface
vlan-interface
vlan-id
Display one or all user address entries, or a
specified type of entries in the valid user address
table of the DHCP server group
display dhcp-security
[
ip-address
|
dynamic
|
static
|
tracker
]
Ethernet
Ethernet
Internet
DHCP client
DHCP client
Sw itch ( DHCP relay )
10.110.0.0
DHCP server
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Ethernet
Ethernet
Internet
DHCP client
DHCP client
Sw itch ( DHCP relay )
10.110.0.0
DHCP server
202.38.1.2
10.110.1.1
202.38.0.0
202.38.1.1
Содержание 4200G 12-Port
Страница 10: ...8 CONTENTS...
Страница 14: ...4 ABOUT THIS GUIDE...
Страница 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Страница 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Страница 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Страница 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Страница 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Страница 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Страница 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Страница 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Страница 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Страница 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Страница 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Страница 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Страница 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Страница 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Страница 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Страница 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Страница 366: ...352 CHAPTER 39 INFORMATION CENTER...
Страница 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Страница 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Страница 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Страница 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...
Страница 422: ...408 CHAPTER 48 UDP HELPER CONFIGURATION...