Management Commands
547
ProSAFE M7100 Managed Switches
snmptrap ipaddr
Use this command to assign an IP address to a specified community name. The name can use up to
16 case-sensitive alphanumeric characters.
Note: IP addresses in the SNMP trap receiver table must be unique. If you
make multiple entries using the same IP address, the first entry is
retained and processed. All duplicate entries are ignored.
snmptrap mode
Use this command to activate or deactivate an SNMP trap. Enabled trap receivers are active (able
to receive traps). Disabled trap receivers are inactive (not able to receive traps).
no snmptrap mode
Use this command to deactivate an SNMP trap. Disabled trap receivers are unable to receive
traps.
snmptrap source-interface
Use this command to configure the global source interface (that is, the source IP address) for all
SNMP communication between the SNMP client and the server.
Format
snmptrap ipaddr <name> <ipaddrold> <ipaddrnew | hostnamenew>
Mode Global Config
Format snmptrap mode <name> {<ipaddr> | <hostname> | <ip6addr>}
Mode Global Config
Format no snmptrap mode <name> {<ipaddr> | <hostname> | <ip6addr>}
Mode Global Config
Format snmptrap source-interface {<unit/slot/port> | loopback <loopback-id>
| tunnel <tunnel-id> | vlan <vlan-id>}
Mode Global Config
Parameter Description
unit/slot/port The unit identifier that is assigned to the switch.
loopback-id The loopback interface that you want to use as the source IP address. The range of the
loopback ID is from 0 t
o 7.