Table 48 Command output
Field
Security log file
Security log file size quota
Security log file directory
Alarm-threshold
Current usage
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
mdc-admin
Examples
# Disable GigabitEthernet 3/0/1 from generating link up or link down logs.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet 3/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.
Description
•
Enabled—Security logs can be output to the security log file.
•
Disabled—Security logs cannot be output to the security log file.
Maximum storage space reserved for the security log file.
Security log file directory.
Alarm threshold of the security log file usage.
Current usage of the security log file.
Security log file writing frequency.
211