Specifications
300 Implementing IBM System Networking 10Gb Ethernet Switches
4. Specify the IPv4 address and other trap parameters in the targetAddr and targetParam
tables. Use the commands shown in Example 7-15 to specify the user name associated
with the targetParam table.
Example 7-15 SNMP trap destination and trap parameters configuration
RS8264(config)#snmp-server target-address 10 name v2trap address 100.10.2.1
RS8264(config)#snmp-server target-address 10 taglist v2trap
RS8264(config)#snmp-server target-address 10 parameters-name v2param
RS8264(config)#snmp-server target-parameters 10 name v2param
RS8264(config)#snmp-server target-parameters 10 message snmpv2c
RS8264(config)#snmp-server target-parameters 10 user-name v2trap
RS8264(config)#snmp-server target-parameters 10 security snmpv2
5. Use the community table to specify which community string is used in the trap, as shown
in Example 7-16.
Example 7-16 SNMP community configuration
RS8264(config)#snmp-server community 10 index v2trap
RS8264(config)#snmp-server community 10 user-name v2trap
SNMPv3 trap configuration
To configure a user for SNMPv3 traps, you can choose to send the traps with both privacy
and authentication, with authentication only, or without privacy or authentication.
You can configure these settings in the access table by running the following commands:
RS8264(config)#snmp-server access <1-32> level
RS8264(config)#snmp-server target-parameters <1-16>
Configure the user in the user table.
It is not necessary to configure the community table for SNMPv3 traps, because the
community string is not used by SNMPv3.
Example 7-17 shows how to configure a SNMPv3 user v3trap with authentication only:
Example 7-17 SNMPv3 trap configuration
RS8264(config)#snmp-server user 11 name v3trap
RS8264(config)#snmp-server user 11 authentication-protocol md5
authentication-password
Changing authentication password; validation required:
Enter current admin password: <admin. password>
Enter new authentication password: <auth. password>
Re-enter new authentication password: <auth. password>
New authentication password accepted.
RS8264(config)#snmp-server access 11 notify-view iso
RS8264(config)#snmp-server access 11 level authnopriv
RS8264(config)#snmp-server group 11 user-name v3trap
RS8264(config)#snmp-server group 11 tag v3trap
RS8264(config)#snmp-server notify 11 name v3trap
RS8264(config)#snmp-server notify 11 tag v3trap
RS8264(config)#snmp-server target-address 11 name v3trap address
172.25.101.200
RS8264(config)#snmp-server target-address 11 taglist v3trap
RS8264(config)#snmp-server target-address 11 parameters-name v3param