Example of a configuration
IP configuration
IP address setting of the device suitable for the SNMP trap recipient used.
Execute the following commands:
configure terminal
int vlan 1
no ip address
ip address 192.168.1.1 255.255.255.0
end
Trap configuration forr SNMPv2c notifications
To configure the sending of SNMP traps, an SBMP community is required.
This community is used along with other SNMP parameters to send traps to a trap recipient.
The selection of the traps recipient is made using tags that are set when SNMP notifications
are called.
Execute the following commands:
configure terminal
snmp community index v2trapindex name public security v2secname
snmp targetaddr trapringer param pav2c ipv4 192.168.1.254 taglist
publictrapv2tag
snmp targetparams pav2c user v2secname security-model v2c message-
processing v2c
snmp notify testnotify tag publictrapv2tag type trap
end
Event configuration
Enables the sending of traps.
Execute the following commands:
configure terminal
events
client config trap
end
For system messages all configured SNMP notification are always called.
With RMOB events. the SNMP notifications to be called must be configured explicitly, see
section "RMON".
Network protocols
8.6 SNMP
SCALANCE W770/W730 acc. to IEEE 802.11n Command Line Interface
406
Configuration Manual, 09/2017, C79000-G8976-C324-08