User Manual

Table Of Contents
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Set the destination of SNMP notifications.
Up to 8 entries can be specified.
If this command is executed with the "no" syntax, the specified destination hosts are deleted.
[Note]
Note that if this is specified as an IPv6 link local address, and you add a setting that specifies a different transmitting interface
for the same address, the combination of address and transmitting interface is considered to have changed, and all settings of the
old combination are deleted. For example if there are multiple settings that specify "fe80::10%vlan1" and you newly add the
setting "fe80::10%vlan2," all settings for "fe80::10%vlan1" are deleted, and only the settings of the added "fe80::10%vlan2"
will remain.
[Example]
Using SNMPv1, set 192.168.100.11 as the destination for traps. Set "snmptrapname" as the trap community name.
SWX3220(config)#snmp-server host 192.168.100.11 traps version 1 snmptrapname
Using SNMPv2c, set 192.168.100.12 as the destination for notifications. Specify the notification type as informs, and the
notification screen community name as "snmpinformsname".
SWX3220(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".
SWX3220(config)#snmp-server host 192.168.10.13 traps version 3 priv admin1
4.13.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.
Command Reference | Maintenance and operation functions | 71