Management Commands
677
ProSafe M4100 and M7100 Managed Switches
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).
Format snmptrap mode <name> { <ipaddr | hostname> |<ip6addr |hostname>}
Mode
no snmptrap mode
Use this command to deactivate an SNMP trap. Disabled trap receivers are unable to receive
traps.
Format no snmptrap mode <name> { <ipaddr | hostname> |<ip6addr |hostname>}
Mode
snmp trap link-status
Use this command to enable link status traps by interface.
Note: This command is valid only when the Link Up/Down Flag is enabled.
For more information, see snmp-server enable traps linkmode on
page 674.
no snmp trap link-status
Use this command to disable link status traps by interface.
Note: This command is valid only when the Link Up/Down Flag is enabled.
Format snmptrap ipaddr <name> <ipaddrold> <ipaddrnew | hostnamenew>
Mode
Global Config
Global Config
Global Config
Format snmp trap link-status
Mode
Interface Config