User Manual

The log contains a maximum of 10,000 events. If this maximum number is exceeded, the oldest events are successively deleted.
In order to save more than the maximum number of logs, you must use the logging host command to forward the log to the
SYSLOG server and save it on the host.
The level of log events to be output can be specified by the logging trap command.
[Note]
Log events are accumulated in RAM, and are automatically backed up to Flash ROM at regular intervals. When the power is
turned off, log entries that are not backed up will not be saved, so you must back them up manually if you want to save the log.
The log is maintained when the reload command or a firmware update etc. cause a reboot.
[Example]
Show the log.
SWR2311P#show logging
4.10 SNMP
4.10.1 Set host that receives SNMP notifications
[Syntax]
snmp-server host host_address type version version community
snmp-server host host_address type version version seclevel user
no snmp-server host host_address
no snmp-server host host_address type version version community
no snmp-server host host_address type version version seclevel user
[Parameter]
host_address : Destination IPv4 address or IPv6 address for notifications
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
type : Notification message
Setting value Description
traps
Send notifications as traps (without response
confirmation)
informs
Send notifications as inform requests (with
response confirmation). This can be specified if
version is '2c' or '3'.
version : SNMP version
Setting value Description
1 Use SNMPv1
2c Use SNMPv2c
3 Use SNMPv3
community : Community name (maximum 32 characters)
This can be specified if version is '1' or '2c'
seclevel : Security level requested for authenticating the notification
This can be specified only if version is '3'
Setting value Description
noauth
No authentication / No encryption
(noAuthNoPriv)
auth Authentication / No encryption (authNoPriv)
52 | Command Reference | Maintenance and operation functions