ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0
Management Commands 7-53
v1.0, November 2010
snmp-server enable traps stpmode
This command enables the sending of new root traps and topology change notification traps.
no snmp-server enable traps stpmode
This command disables the sending of new root traps and topology change notification traps.
snmptrap
This command adds an SNMP trap receiver. The maximum length of <name> is 16 case-sensitive
alphanumeric characters. The <snmpversion> is the version of SNMP. The version parameter
options are snmpv1 or snmpv2. The SNMP trap address can be set using both an IPv4 address
format as well as an IPv6 global address format.
The following shows an example of the CLI command.
(Netgear Switch)# snmptrap mytrap ip6addr 3099::2
Default enabled
Format snmp-server enable traps stpmode
Mode Global Config
Format no snmp-server enable traps stpmode
Mode Global Config
Note: The <name> parameter does not need to be unique, however; the <name> and
<ipaddr | hostname> pair must be unique. Multiple entries can exist with the same
<name>, as long as they are associated with a different <ipaddr | hostname>. The
reverse scenario is also acceptable. The <name> is the community name used
when sending the trap to the receiver, but the <name> is not directly associated
with the SNMP Community Table, See “snmp-server community” on page39.”
Default snmpv2
Format snmptrap <name> {ipaddr <ipaddr|hostname> | ip6addr <ip6addr|
hostname>} [snmpversion <snmpversion>]
Mode Global Config