Security-Logfile Save; Snmp-Agent Trap Enable Syslog - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

Related commands
display logbuffer

security-logfile save

Use security-logfile save to manually save security logs from the security log file buffer to 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 Security Command Reference.
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-logfile directory
authorization-attribute (Security Command Reference)

snmp-agent trap enable syslog

Use snmp-agent trap enable syslog to enable SNMP notifications for log messages.
Use undo snmp-agent trap enable syslog to disable SNMP notifications for log messages.
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
406

Advertisement

Table of Contents
loading

Table of Contents