Quick Reference Guide
Management | 73
• snmp-server community ipmask: Sets a client IP mask for an SNMP community.
•[
no] snmp-server community mode name: Activates [deactivates] the designated SNMP community.
All configured communities are enabled by default.
•
snmp-server community ro: Restricts access to switch information to read-only.
•
snmp-server community rw: Sets access to switch information to read/write.
•
snmptrap ipaddr: Assigns an IP address to a specified community name.
•[
no] snmptrap mode: Activates [deactivates] an SNMP trap receiver name.
In Privileged Exec mode:
• To view the SNMP configuration, use the
show snmpcommunity command.
• To display SNMP trap receiver entries, use the
show snmptrap command.
See also Link Layer Discovery Protocol (LLDP) on page 75.
Managing SNMP Traps
SNMP trap events are logged and sent out via SNMP. For trap management, use the CLI commands listed
below.
Traps can be enabled for the following features:
• Authentication
• Link up/down
• Multiple users
• Spanning Tree
• OSPF
• DVMRP
• PIM (both DM and SM with one command)
Commands to [disable] enable traps are listed here.
Global Config Mode:
•[
no] ip dvmrp trapflags: This command sets the DVMRP Traps flag (disabled by default).
•[
no] ip pim-trapflags: This command sets the PIM Traps flag (disabled by default).
•[
no] snmp-server enable traps bcaststorm: This command sets Broadcast Storm flag (sending of
traps enabled by default).
•[
no] snmp-server enable traps linkmode: This command sets the Link Up/Down flag (traps enabled
by default).
•[
no] snmp-server enable traps multiusers: This command sets the Multiple Users flag (traps
enabled by default).
•[
no] snmp-server enable traps stpmode: This command sets the Spanning Tree flag (traps enabled
by default).
Note: The DVMRP, OSPF, and PIM traps and associated commands are supported only in the
Layer 3 software image of SFTOS.