© Copyright IBM Corp. 2011 319
Chapter 27. Simple Network Management Protocol
IBM Networking OS 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.
SNMP Version 1 & Version 2
To access the SNMP agent on the G8000, 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:
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:
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 G8000(config)# snmp-server trap-source loopback <1-5>
SNMP Version 3
SNMP version 3 (SNMPv3) is an enhanced version of the Simple Network
Management Protocol, approved by the Internet Engineering Steering Group in
March, 2002. SNMPv3 contains additional security and authentication features that
provide data origin authentication, data integrity checks, timeliness indicators and
encryption to protect against threats such as masquerade, modification of
information, message stream modification and disclosure.
SNMPv3 allows clients to query the MIBs securely.
SNMPv3 configuration is managed using the following command path menu:
For more information on SNMP MIBs and the commands used to configure SNMP
on the switch, see the IBM Networking OS 6.8 Command Reference.
RS G8000(config)# snmp-server read-community <1-32 characters>
-and-
RS G8000(config)# snmp-server write-community <1-32 characters>
RS G8000(config)# snmp-server trap-src-if <trap source IP interface>
RS G8000(config)# snmp-server host <IPv4 address> <trap host community string>
RS G8000(config)# snmp-server ?