Variable definitions
Use the information in the following table to help you use the snmplog command.
enable
maxfilesize
<64-256000>
Configuring a UNIX system log and syslog host
The syslog commands control a facility in UNIX machines that logs SNMP messages and
assigns each message a severity level based on importance.
Prerequisites
• Access Global Configuration mode.
Procedure steps
1. Enable the system log using the following command:
2. Configure the syslog host using the following command:
3. View the configuration to ensure it is correct:
Troubleshooting
Variable
syslog enable
Configure other syslog parameters as required using the parameters in the following
table.
syslog host <1-10>
Configure other syslog host parameters as required using the parameters in the
following table.
show syslog
show syslog host <1-10>
Configuring a UNIX system log and syslog host
Enables or disables the logging of traps.
Specifies the maximum file size for the trap log.
Value
July 2013
319