R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

366
Current usage: 30%
Writing frequency: 1 hour 0 min 0 sec
Table 88 Command output
Field Descri
p
tion
Security log file
Enabled—Security logs can be output to the security log file.
Disabled—Security logs cannot be output to the security log file.
Security log file size quota Maximum storage space reserved for the security log file.
Security log file directory Security log file directory.
Alarm-threshold Alarm threshold of the security log file usage.
Current usage Current usage of the security log file.
Writing frequency Security log file writing frequency.
Related commands
authorization-attribute (Security Command Reference)
enable log updown
Use enable log updown to enable an interface to generate link up or link down logs when the interface
state changes.
Use undo enable log updown to disable an interface from generating link up or link down logs when the
interface state changes.
Syntax
enable log updown
undo enable log updown
Default
All interfaces are allowed to generate link up and link down logs.
Views
Interface view
Predefined user roles
network-admin
Examples
# Disable port GigabitEthernet 2/1/1 from generating link up or link down logs.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/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.