Dhcp Relay Displaying; Dhcp Relay Configuration Example - 3Com 4200G 12-Port Configuration Manual

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

DHCP Relay Displaying

DHCP Relay
Configuration
Example
You can verify your DHCP relay-related configuration by executing the following
display commands in any view.
Table 343 Display DHCP relay information
Operation
Display information about a specified DHCP server
group
Display information about the DHCP server group
to which a specified VLAN interface is mapped
Display one or all user address entries, or a
specified type of entries in the valid user address
table of the DHCP server group
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
DHCP cli e nt
DHCP cli e nt
Sw itch ( DHCP rel a y )
Sw itch ( DHCP rel a y )
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
DHCP cli e nt
DHCP cli e nt
10.110.0.0
10.110.0.0
Ethernet
Ethernet
10.110.1.1
10.110.1.1
Internet
Internet
DHCP Relay Displaying 399
Command
display dhcp-server groupNo
display dhcp-server interface
vlan-interface vlan-id
display dhcp-security [ ip-address |
dynamic | static | tracker ]
DHCP server
DHCP server
202.38.1.2
202.38.1.2
202.38.1.1
202.38.1.1
Ethernet
Ethernet
202.38.0.0
202.38.0.0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents