执行display dhcp-access statistics packet命令查看产品DHCPACC组件是否收到报文。 display dhcp-access statistics packet
————————————————————————-
Received Packets
————————————————————————-
Received from Clients : 8
Discover Packets : 0
Request Packets : 3
BootP Request : 0
Select Request : 0
Reboot Request : 0
Renew Request : 0
Rebind Request : 0
Decline Packets : 0
Release Packets : 2
Inform Packets : 0
Received from Servers : 6
Offer Packets : 3
Ack Packets : 3
Nak Packets : 0
Forcerenew Packets : 0
Received Invalid Packets
Discover Packets Forbidden by ACL : 0
Request Packets Forbidden by ACL : 0
Client Packet Check Error
Option Error : 0
Hops Error : 0
Htype Error : 0
Length Error : 0
MC Error : 0
NULL MAC : 0
Sname Error : 0
BootFile Error : 0
Server Packet Check Error
Option Error : 0
Access Limit : 0
Invalid Server IP In Offer : 0
Invalid Server IP In Nak : 0
Invalid Server IP In NakNew : 0
Htype Error : 0
Length Error : 0
MC Error : 0
Sname Error : 0
BootFile Error : 0
Conflict IP In Offer : 0
Conflict IP In Ack : 0
————————————————————————-
Sent Packets
————————————————————————-
Send to Clients : 0
Offer Packets : 0
Ack Packets : 0
Nak Packets : 0
Send to Servers : 0
Discover Packets : 0
Request Packets : 0
Release Packets : 0
Decline Packets : 0
————————————————————————-
回显中的Discover Packets字段表示DHCP Discover报文上送到DHCPACC组件计数。
此时如果有计数增长,表示报文已上送至DHCPACC组件。可以执行命令trace enable打开用户的业务跟踪功能,再执行命令trace access-user创建业务跟踪对象,然后执行命令terminal debugging和terminal monitor打开命令行用户终端显示功能,搜集业务跟踪的消息并执行步骤7联系技术支持工程师。
此时若没有计数增长,参考步骤4b继续定位报文丢失阶段。