< Home

(Optional) Configuring the Function of Recording Logs When DHCP Messages Are Exchanged

Context

After the function of recording logs when DHCP messages are exchanged, the device records a DHCP/6/SNP_RCV_MSG log each time it receives a DHCP message. This log can be used in smart O&M and other scenarios. The network analyzer can perform smart analysis on whether the user obtains an IP address through this log.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run dhcp snooping packet-flow log enable

    The function of recording logs when DHCP messages are exchanged is enabled.

    By default, the function of recording logs when DHCP messages are exchanged is disabled.

Verifying the Configuration

Run the display dhcp snooping command to enable the function of recording logs when DHCP messages are exchanged.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >