Technical data

BLADE OS 5.1 Application Guide
24
Chapter 1: Accessing the Switch BMD00136, November 2009
Configuring SNMP Trap Hosts
SNMPv1 Trap Host Configuration
1. Configure a user with no authentication and password.
2. Configure an access group and group table entries for the user.
3. Configure an entry in the notify table.
4. Specify the IP address and other trap parameters in the targetAddr and targetParam tables.
5. Use the community table to specify which community string is used in the trap.
RS G8000 (config)# snmp-server user 10 name v1trap
RS G8000 (config)# snmp-server group 10 security snmpv1
RS G8000 (config)# snmp-server group 10 user-name v1trap
RS G8000 (config)# snmp-server group 10 group-name v1trap
RS G8000 (config)# snmp-server access 10 name v1trap
RS G8000 (config)# snmp-server access 10 security snmpv1
RS G8000 (config)# snmp-server access 10 notify-view iso
RS G8000 (config)# snmp-server notify 10 name v1trap
RS G8000 (config)# snmp-server notify 10 tag v1trap
RS G8000 (config)# snmp-server target-address 10 name v1trap
address 100.10.2.1
RS G8000 (config)# snmp-server target-address 10 taglist v1trap
RS G8000 (config)# snmp-server target-address 10 parameters-name
v1param
RS G8000 (config)# snmp-server target-parameters 10 name v1param
RS G8000 (config)# snmp-server target-parameters 10 message snmpv1
RS G8000 (config)# snmp-server target-parameters 10 user-name v1trap
RS G8000 (config)# snmp-server target-parameters 10 security snmpv1
RS G8000 (config)# snmp-server community 10 index v1trap
RS G8000 (config)# snmp-server community 10 user-name v1trap