User Manual

Table Of Contents
SWP2(config)#snmp-server host 192.168.100.12 informs version 2c snmpinformsname
Using SNMPv3, set 192.168.10.13 as the destination for notifications. Set the notification type to traps, set the security level for
transmission to priv, and set the user name to "admin1".
SWP2(config)#snmp-server host 192.168.10.13 traps version 3 priv admin1
4.12.2 Setting the time to wait before sending a notification message at system boot
[Syntax]
snmp-server startup-trap-delay sec
no snmp-server startup-trap-delay
[Parameter]
sec : <10-600>
Wait time (seconds)
[Initial value]
snmp-server startup-trap-delay 10
[Input mode]
global configuration mode
[Description]
Sets the time to wait before sending an SNMP notification message (trap) at system startup.
SNMP notification messages generated after system boot and before the wait time has elapsed will be sent after the wait time
has elapsed.
If this command is executed with the "no" syntax, the setting is cleared.
[Note]
The wait time measurement starts and ends at the timing at which the following logs are output.
[ SNMP]:dbg: SNMP startup trap delay timer start (delay_sec : XX)
[ SNMP]:dbg: SNMP startup trap delay timer end (delay_sec : XX)
[Example]
Set the time to wait before sending an SNMP notification message at system startup to 30 seconds.
SWP2(config)#snmp-server startup-trap-delay 30
4.12.3 Set notification type to transmit
[Syntax]
snmp-server enable trap trap_type [trap_type]
no snmp-server enable trap
[Parameter]
trap_type : Type of trap
60 | Command Reference | Maintenance and operation functions