cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

How to send specific traps to a specific snmp server

ronaldobf
Beginner
Beginner

Hi guys.

Today I got a request to insert an equipment to our monitoring system.

The customer already has its monitoring system with its configuration.

Since I only manage the WAN, I would like to make polling and also get traps for only a specific BGP peer and the WAN interface.

For polling, I know I can use the snmp view, but for trap generation, how can I prevent my monitoring system to receive unnecessary traps (the ones I am not interested to and the customer still needs it in order to monitor all the equipment).

example:

Customer has its monitoring server in order to receive all the traps related to interface, CPU, internal routing protocol states, environmental traps, etc and I only need to receive traps for a specific interface, a specific BGP peer.

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Vinod Arya
Cisco Employee
Cisco Employee

I dont think there is a way to control Traps per interface wise.

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

snmp-server host

snmp-server host x.x.x.x public bgp .. .. .

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

View solution in original post

3 REPLIES 3

Vinod Arya
Cisco Employee
Cisco Employee

I dont think there is a way to control Traps per interface wise.

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

snmp-server host

snmp-server host x.x.x.x public bgp .. .. .

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Got it. That´s what I thought.

Thanks.


@Vinod Arya wrote:

I dont think there is a way to control Traps per interface wise.

 

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

 

snmp-server host

 

snmp-server host x.x.x.x public bgp .. .. .

 

-Thanks


Do you have to first enable the specific trap and then point it to a host?

 

Example:

snmp-server enable trap cpu

snmp-server host user1 192.168.1.1 cpu

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: