EasyManua.ls Logo

H3C S5100-SI

H3C S5100-SI
830 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1-7
Displaying and Maintaining DHCP Relay Agent Configuration
To do… Use the command… Remarks
Display the information about a specified
DHCP server group
display dhcp-server groupNo
Display the information about the DHCP
server group to which a specified VLAN
interface is mapped
display dhcp-server interface
Vlan-interface vlan-id
Display the specified client address entries
on the DHCP relay agent
display dhcp-security
[ ip-address | dynamic | static ]
Available in any
view
Clear the statistics information of the
specified DHCP server group
reset dhcp-server groupNo
Available in user
view
DHCP Relay Agent Configuration Example
Network requirements
VLAN-interface 1 on the DHCP relay agent (Switch A) connects to the network where DHCP clients
reside. The IP address of VLAN-interface 1 is 10.10.1.1/24 and IP address of VLAN-interface 2 is
10.1.1.2/24 that communicates with the DHCP server 10.1.1.1/24. As shown in the figure below, Switch
A forwards messages between DHCP clients and the DHCP server to assign IP addresses in subnet
10.10.1.0/24 to the clients.
Network diagram
Figure 2-4 Network diagram for DHCP relay agent
Configuration procedure
# Create DHCP server group 1 and configure an IP address of 10.1.1.1 for it.
<SwitchA> system-view
[SwitchA] dhcp-server 1 ip 10.1.1.1
# Map VLAN-interface 1 to DHCP server group 1.
[SwitchA] interface Vlan-interface 1
[SwitchA-Vlan-interface1] dhcp-server 1

Table of Contents

Related product manuals