3com 8807 참조 가이드
850
C
HAPTER
47: DHCP C
ONFIGURATION
C
OMMANDS
Related command: dhcp server ip-pool and static-bind ip-address.
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.
mask is 255.255.255.0.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] dhcp server ip-pool 0
[3Com-dhcp-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[3Com-dhcp-0] static-bind mac-address 0000-e03f-0305
DHCP Relay
Configuration
Commands
Configuration
Commands
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 concerning DHCP Relay.
Debugging for DHCP Relay is disabled by default.
Example
# Enable debugging for DHCP Relay.
<SW8800> debugging dhcp relay
*0.7200205-DHCP-8-dhcp_debug:
From client to server:
Interface: VLAN-Interface 1
Type: dhcp-request
ClientHardAddress: 0010-dc19-695d
ServerIpAddress: 192.168.1.2
*0.7200230-DHCP-8-dhcp_debug: