Method used to configure the logging function when IP addresses are allocated through DHCP on the AR

Huawei AR series routers record logs when IP addresses are allocated through DHCP. The logs are stored in a non-TXT file. The configuration procedure is as follows.
-Interface address pool
[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 address pool
[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