Configuring Snmp Trap Hosts - IBM RackSwitch G8000 Application Manual

A top-of-rack (tor) switch
Hide thumbs Also See for RackSwitch G8000:
Table of Contents

Advertisement

Configuring SNMP Trap Hosts

322
RackSwitch G8000: Application Guide
SNMPv1 Trap Host
1. Configure a user with no authentication and password.
>> # /cfg/sys/ssnmp/snmpv3/usm 10/name "v1trap"
2. Configure an access group and group table entries for the user. Use the
following menu to specify which traps can be received by the user:
>> #
/cfg/sys/ssnmp/snmpv3/access
In the following example the user will receive the traps sent by the switch.
/c/sys/ssnmp/snmpv3/access 10
name "v1trap"
model snmpv1
nview "iso"
/c/sys/ssnmp/snmpv3/group 10
model snmpv1
uname v1trap
gname v1trap
3. Configure an entry in the notify table.
RS G8000(config)# snmp-server notify 10 name v1trap
RS G8000(config)# snmp-server notify 10 tag v1trap
4. Specify the IPv4 address and other trap parameters in the targetAddr and
targetParam tables. Use the following commands to specify the user name
associated with the targetParam table:
RS G8000(config)# snmp-server target-address 10 name v1trap address
10.70.70.190
RS G8000(config)# snmp-server target-address 10 parameters-name
v1param
RS G8000(config)# snmp-server target-address 10 taglist v1param
RS G8000(config)# snmp-server target-parameters 10 name v1param
RS G8000(config)# snmp-server target-parameters 10 user-name v1only
RS G8000(config)# snmp-server target-parameters 10 message snmpv1
Note: N/OS 6.8 supports only IPv4 addresses for SNMP trap hosts.
5. Use the community table to specify which community string is used in the trap.
/c/sys/ssnmp/snmpv3/comm 10
index v1trap
name public
uname v1trap
<user number>
(Access group to view SNMPv1 traps)
(Assign user to the access group)
(Define the community string)

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents