yewnix
asked on
SNMP Trap Help
I need to place a SNMP Trap event on the dot1dTpFdbTable ( .1.3.6.1.2.1.17.4.3 )
This table contains the bridge # the MAC address is located on.
I need to know when an entry is added or deleted and this entries corresponding bridge # and MAC Address.
Please help!
This table contains the bridge # the MAC address is located on.
I need to know when an entry is added or deleted and this entries corresponding bridge # and MAC Address.
Please help!
Fer witch device is this for? i.e. Nortlel / Cisco?
ASKER
HP ProCurve 5412zl
1. Select the device from the appropriate topology map:
• For HP Toptools for Hubs & Advancestack Assistant for Windows: HP Toptools for Hubs & ASA Topology View
• For HP Toptools for Hubs & Advancestack Assistant for Openview NNM/NT: NNM Topology Map
• For HP Toptools for Hubs & Toptools for Hubs & Switches: Maps
2. Right mouse click to bring up the popup menu.
3. Select the SNMP menu item:
• For HP Toptools for Hubs & Advancestack Assistant for Windows: 'SNMP Config'
• For HP Toptools for Hubs & Advancestack Assistant for Openview NNM/NT: 'SNMP Configure Hub/Bridge' or use the menu selection 'Monitor->SNMP Configuration'
• For HP Toptools for Hubs & Toptools for Hubs & Switches: 'SNMP/TRAP Configuration...'
4. The "Device Configuration" window will then appear. This window has the following areas, or tabs, for SNMP configuration: Thresholds, Trap Receivers, Community Names, & Authorized Managers.
• For HP Toptools for Hubs & Advancestack Assistant for Windows: HP Toptools for Hubs & ASA Topology View
• For HP Toptools for Hubs & Advancestack Assistant for Openview NNM/NT: NNM Topology Map
• For HP Toptools for Hubs & Toptools for Hubs & Switches: Maps
2. Right mouse click to bring up the popup menu.
3. Select the SNMP menu item:
• For HP Toptools for Hubs & Advancestack Assistant for Windows: 'SNMP Config'
• For HP Toptools for Hubs & Advancestack Assistant for Openview NNM/NT: 'SNMP Configure Hub/Bridge' or use the menu selection 'Monitor->SNMP Configuration'
• For HP Toptools for Hubs & Toptools for Hubs & Switches: 'SNMP/TRAP Configuration...'
4. The "Device Configuration" window will then appear. This window has the following areas, or tabs, for SNMP configuration: Thresholds, Trap Receivers, Community Names, & Authorized Managers.
ASKER
I don't have this software and I'm looking for the snmp trap commands.
Thanks.
Thanks.
The example configuration assumes setting SNMPv1 and SNMPv2c for reading. This configuration is sufficient for most monitoring applications.
hp-test(config)# snmp-server host 10.229.255.14 "public"
hp-test(config)# snmp-server community "public" manager restricted
By default, for HP switches the public community is set to unrestricted. This means that it is possible to write data to the MIB tree via SNMPv2.
hp-test(config)# snmp-server host 10.229.255.14 "public"
hp-test(config)# snmp-server community "public" manager restricted
By default, for HP switches the public community is set to unrestricted. This means that it is possible to write data to the MIB tree via SNMPv2.
ASKER
Yes this allows for SNMP communication.. but does not set a SNMP Trap for the MIB I specified with my criteria which was my original question.
Pardon me, I misunderstood...
So just to be clear, are you asking how to add the the specific MIB to an SNMP Trap in order to pull the nesessay information you are requesting from the HP Switch?
So just to be clear, are you asking how to add the the specific MIB to an SNMP Trap in order to pull the nesessay information you are requesting from the HP Switch?
ASKER
Sorry.. was probably my poor explanation... hopefully this will help you to understand what I'm asking. If you still have more question please let me know.
I would like to set a SNMP Trap on dot1dTpFdbTable ( .1.3.6.1.2.1.17.4.3 ) MIB.
Here is an example of 1 entry in this table
OID: .1.3.6.1.2.1.17.4.3.1.1.0. 0.94.0.1.1 0
Value: 00-00-5E-00-01-0A
Type: OctetString
I would like a trap set on this table to notify me when a Mac Address is learned or goes offline(which means it is removed from the table).
The data sent to me should be the OID and the Value.
In this case it would tell me that:
00-00-5E-00-01-0A has been learned to OID .1.3.6.1.2.1.17.4.3.1.1.0. 0.94.0.1.1 0
With SNMP Traps your monitoring and data gathering becomes a push(not pull) from the switch to the receiver.
I would like to set a SNMP Trap on dot1dTpFdbTable ( .1.3.6.1.2.1.17.4.3 ) MIB.
Here is an example of 1 entry in this table
OID: .1.3.6.1.2.1.17.4.3.1.1.0.
Value: 00-00-5E-00-01-0A
Type: OctetString
I would like a trap set on this table to notify me when a Mac Address is learned or goes offline(which means it is removed from the table).
The data sent to me should be the OID and the Value.
In this case it would tell me that:
00-00-5E-00-01-0A has been learned to OID .1.3.6.1.2.1.17.4.3.1.1.0.
With SNMP Traps your monitoring and data gathering becomes a push(not pull) from the switch to the receiver.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Are you sure there isn't a way to do this using an enterpriseSpecific trap with variable bindings?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I know they have to be defined.. I'm asking how can I define an enterprise specific trap to:
"I would like to set a SNMP Trap on dot1dTpFdbTable ( .1.3.6.1.2.1.17.4.3 ) MIB.
Here is an example of 1 entry in this table
OID: .1.3.6.1.2.1.17.4.3.1.1.0. 0.94.0.1.1 0
Value: 00-00-5E-00-01-0A
Type: OctetString
I would like a trap set on this table to notify me when a Mac Address is learned or goes offline(which means it is removed from the table).
The data sent to me should be the OID and the Value.
In this case it would tell me that:
00-00-5E-00-01-0A has been learned to OID .1.3.6.1.2.1.17.4.3.1.1.0. 0.94.0.1.1 0"
"I would like to set a SNMP Trap on dot1dTpFdbTable ( .1.3.6.1.2.1.17.4.3 ) MIB.
Here is an example of 1 entry in this table
OID: .1.3.6.1.2.1.17.4.3.1.1.0.
Value: 00-00-5E-00-01-0A
Type: OctetString
I would like a trap set on this table to notify me when a Mac Address is learned or goes offline(which means it is removed from the table).
The data sent to me should be the OID and the Value.
In this case it would tell me that:
00-00-5E-00-01-0A has been learned to OID .1.3.6.1.2.1.17.4.3.1.1.0.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.