R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

63
Views
Interface view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Examples
# Disable port Ten-GigabitEthernet1/0/1 from generating link up or link down logs.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] undo enable log updown
info-center diagnostic-logfile enable
Use info-center diagnostic-logfile enable to enable saving diagnostic logs into the diagnostic log file.
Use undo info-center diagnostic-logfile enable to disable saving diagnostic logs into the diagnostic log
file.
Syntax
info-center diagnostic-logfile enable
undo info-center diagnostic-logfile enable
Default
Saving diagnostic logs to the diagnostic log file is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables the system to save generated diagnostic logs to the diagnostic log file for
centralized management. This facilitates users in monitoring device activities and debugging problems.
Examples
# Enable saving diagnostic logs into the diagnostic log file.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile enable
info-center diagnostic-logfile frequency
Use info-center diagnostic-logfile frequency to configure the interval at which the system saves
diagnostic logs from the diagnostic log buffer to the diagnostic log file.