How is an AR used as the DHCP server enabled to record logs when the DHCP server allocates IP addresses

A Huawei AR records logs when IP addresses are allocated through DHCP. The logs are stored in a non-TXT file. Perform the following configurations:
- Interface-based
[Huawei] interface gigabitethernet 1/0/0
[Huawei-GigabitEthernet1/0/0] dhcp select interface
[Huawei-GigabitEthernet1/0/0] dhcp server logging //Enable the DHCP server to record logs when the DHCP server allocates IP addresses.
- Global mode
[Huawei] ip pool global
[Huawei-ip-pool-global] logging //Enable the DHCP server to record logs when the DHCP server allocates IP addresses.

Scroll to top