RackSwitch G8000 Application Guide

Configuring SNMP Trap Hosts

SNMPv1 trap host

1.Configure an entry in the notify table.

RS G8000 (config)# snmp-server notify 10 name public

RS G8000 (config)# snmp-server notify 10 tag v1trap

2.Specify the IP address and other trap parameters in the targetAddr and targetParam tables. Use the following command to specify the user name used with this targetParam table:

snmp-server target-parameters <1-16>user-name

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

SNMPv2 trap host configuration

The SNMPv2 trap host configuration is similar to the SNMPv1 trap host configuration. Wherever you specify the model, use snmpv2 instead of snmpv1.

RS G8000 (config)#

snmp-server read-community public

RS G8000 (config)#

snmp-server target-address 1 name v2trap2

RS G8000 (config)#

address 10.70.70.190

snmp-server target-address 1

RS G8000 (config)#

parameters-name v2param2

snmp-server target-address 1 taglist v2param2

RS G8000 (config)#

snmp-server target-parameters 1 name v2param2

RS G8000

(config)#

snmp-server target-parameters 1 user-name v2only

RS G8000

(config)#

snmp-server target-parameters 1 message snmpv2

RS G8000

(config)#

snmp-server notify 1 name public

RS G8000

(config)#

snmp-server notify 1 tag v2param2

BMD00041, November 2008

Chapter 1: Accessing the Switch „ 23

Page 23
Image 23
Blade ICE G8000 manual Configuring Snmp Trap Hosts, SNMPv1 trap host, SNMPv2 trap host configuration