© Copyright Lenovo 2017
Table 157.
System SNMP Options (continued)
Command Syntax and Usage
snmpserver trapsource {<IP interface number>|loopback <1‐5>}
Configures the source interface for SNMP traps.
To send traps through the management ports, specify interface 126.
Command mode: Global configuration
no snmpserver trapsource [loopback]
Deletes all source interfaces for SNMP traps. The loopback option only
removes the loopback source interfaces.
Command mode: Global configuration
snmpserver writecommunity <1‐32 characters>
Configures the SNMP write community string. The write community string
controls SNMP "set" access to the switch. It can have a maximum of 32
characters.
The default write community string is private.
Command mode: Global configuration
[no] snmpserver writecommunityadditional <1‐32 characters>
Adds or removes an additional SNMP write community string. Up to 7
additional write community strings are supported.
Command mode: Global configuration
show snmpserver
Displays the current SNMP configuration.
Command mode: All
Chapter 4: Configuration Commands
375