Command Manual – Network Protocol
Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands
Huawei Technologies Proprietary
4-32
Example
# Bind the PC with a MAC address of 0000-e03f-0305 to 10.1.1.1, whose subnet mask
is 255.255.255.0.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] dhcp server ip-pool 0
[Quidway-dhcp-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[Quidway-dhcp-0] static-bind mac-address 0000-e03f-0305
4.3 DHCP Relay Configuration Commands
4.3.1 debugging dhcp relay
Syntax
debugging dhcp relay { all| packet | error | event }
undo debugging dhcp relay { all| packet | error | event }
View
User view
Parameter
all: Enables all types of debugging concerning DHCP Relay.
packet: Enables debugging for packets.
error: Enables debugging for error messages.
event: Enables debugging for events.
Description
Use the debugging dhcp-relay command to enable debugging for DHCP Relay.
Use the undo debugging dhcp-relay command to disable specified type of debugging
concerning DHCP Relay.
Debugging for DHCP Relay is disabled by default.
Example
# Enable debugging for DHCP Relay.
<Quidway> debugging dhcp relay
*0.7200205-DHCP-8-dhcp_debug:
From client to server:
Interface: VLAN-Interface 1
Type: dhcp-request
ClientHardAddress: 0010-dc19-695d