DHCP Relay Configuration Commands 119
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface vlan-interface 1
[SW5500-vlan-interface1]address-check enable
debugging dhcp-relay Syntax
debugging dhcp-relay
undo debugging dhcp-relay
View
User view
Parameter
None
Description
Use the debugging dhcp-relay command to enable DHCP relay debugging.
Use the undo debugging dhcp-relay command to disable DHCP relay
debugging. By default, DHCP relay debugging is disabled.
Related commands: dhcp-server ip, dhcp-server, display dhcp-server and
display
dhcp-server interface vlan-interface.
Example
To enable DHCP relay debugging, enter the following:
<SW5500>debugging dhcp-relay
*0.7200205-DHCP-8-dhcp_debug:
From client to server:
Interface: VLAN-Interface 1
ServerGroupNo: 0
Type: dhcp-request
ClientHardAddress: 0010-dc19-695d
ServerIpAddress: 192.168.1.2
*0.7200230-DHCP-8-dhcp_debug:
From server to client:
Interface: VLAN-Interface 1
ServerGroupNo: 0
Type: dhcp-ack
ClientHardAddress: 0010-dc19-695d
AllocatedIpAddress: 10.1.1.1
*0.7200580-DHCP-8-largehop:
Discard DHCP request packet because of too large hop count!
*0.7200725-DHCP-8-invalidpkt:
Wrong DHCP packet!
dhcp-security static Syntax
dhcp-security static
ip_address mac_address