3Com 3.01.01 Switch User Manual


 
DHCP Relay 57
Displaying and Debugging DHCP Relay
Execute display command in all views to display the current DHCP Relay
configuration, and to verify the effect of the configuration. Execute the
debugging command in user view to debug DHCP Relay configuration.
Example: Configuring
DHCP Relay
Configure the VLAN interface corresponding to the user and the related DHCP
server so as to use DHCP relay.
Figure 3 Networking Diagram of Configuring DHCP Relay
1 Configure the DHCP Server IP addresses into DHCP Server Group 1.
[SW8800]dhcp-server 1 ip 1.99.255.36 1.99.255.35
2 Associate DHCP Server Group 1 with VLAN interface 2.
[SW8800-VLAN-Interface2]dhcp-server 1
3 Configure the IP address corresponding to DHCP server group 2.
[SW8800]dhcp-server 2 ip 1.88.255.36 1.88.255.35
4 Associate the DHCP Server Group 2 with VLAN interface 3.
[SW8800-VLAN-Interface3]dhcp-server 2
5 Configure the corresponding interface and gateway address of VLAN2.
[SW8800]vlan 2
[SW8800-vlan2]port GigabitEthernet 1/1/2
[SW8800]interface vlan 2
[SW8800-VLAN-Interface2]ip address 1.1.2.1 255.255.0.0
Table 13 Displaying and Debugging DHCP Relay
Operation Command
Display the information about the DHCP
server group
display dhcp-server groupNo
Display the information about the DHCP
server group corresponding to the VLAN
interface.
display dhcp-server interface
vlan-interface vlan-id
Enable DHCP relay debugging debugging dhcp-relay
Disable DHCP relay debugging undo debugging dhcp-relay
Display address information for all the legal
clients of the DHCP Server group.
display dhcp-security [ ip_address |
dynamic | static ]
VLAN 2
VLAN 3
VLAN
4000
VLAN
3001
Server Group 1
Server Group 2
1.99.255.36
1.99.255.35
1.88.255.36
1.88.255.35
IP Network
Switch