Security-Logfile Save; Snmp-Agent Trap Enable Syslog - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

security-logfile save

Use
security-logfile save
the security log file.
Syntax
security-logfile save
Views
Any view
Predefined user roles
security-audit
Usage guidelines
The system clears the security log file buffer after saving the buffered security logs to the security log
file automatically or manually.
If the security log file buffer is empty, this command displays a success message event though no
security logs are saved to the security log file.
To use this command, a local user must have the security-audit user role. For information about
configuring the security-audit user role, see AAA configuration in User Access and Authentication
Configuration Guide.
Examples
# Manually save the security logs in the security log file buffer to the security log file.
<Sysname> security-logfile save
The contents in the security log file buffer have been saved to the file
flash:/seclog/seclog.log.
Related commands
info-center security
authorization-attribute

snmp-agent trap enable syslog

Use
snmp-agent trap enable syslog
Use
undo snmp-agent trap enable syslog
Syntax
snmp-agent trap enable syslog
undo snmp-agent trap enable syslog
Default
The device does not send SNMP notifications for log messages.
Views
System view
Predefined user roles
network-admin
to manually save security logs from the security log file buffer to
-
logfile directory
(User Access and Authentication Command Reference)
to enable SNMP notifications for log messages.
31
to disable SNMP notifications for log messages.

Advertisement

Table of Contents
loading

Table of Contents