A SERVICE OF

logo

RackSwitch G8000 Application Guide
Chapter 1: Accessing the Switch
23BMD00041, November 2008
Configuring SNMP Trap Hosts
SNMPv1 trap host
1. Configure an entry in the notify table.
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
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 notify 10 name public
RS G8000 (config)# snmp-server notify 10 tag v1trap
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
RS G8000 (config)# snmp-server read-community public
RS G8000 (config)# snmp-server target-address 1 name v2trap2
address 10.70.70.190
RS G8000 (config)# snmp-server target-address 1
parameters-name v2param2
RS G8000 (config)# 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