Chapter 41. Simple Network Management Protocol
SNMP Version 1 & Version 2
© Copyright Lenovo 2016
Lenovo Enterprise Network Operating System provides Simple Network
Management Protocol (SNMP) version 1, version 2, and version 3 support for
access through any network management software, such as IBM Director or
HP‐OpenView.
Note: SNMP read and write functions are enabled by default. For best security
practices, if SNMP is not needed for your network, it is recommended that you
disable these functions prior to connecting the switch to the network.
To access the SNMP agent on the G8264, the read and write community strings on
the SNMP manager must be configured to match those on the switch. The default
read community string on the switch is public and the default write community
string is private.
The read and write community strings on the switch can be changed using the
following commands on the CLI:
RS G8264(config)# snmpserver readcommunity <1‐32 characters>
‐and‐
RS G8264(config)# snmpserver writecommunity <1‐32 characters>
The SNMP manager must be able to reach the management interface or any one of
the IP interfaces on the switch.
For the SNMP manager to receive the SNMPv1 traps sent out by the SNMP agent
on the switch, configure the trap host on the switch with the following command:
RS G8264(config)# snmpserver trapsource <trap source IP interface>
RS G8264(config)# snmpserver host <IPv4 address> <trap host community string>
Note: You can use a loopback interface to set the source IP address for SNMP
traps. Use the following command to apply a configured loopback interface:
RS G8264(config)# snmpserver trapsource loopback <1‐5>
641