cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
3
Replies

SNMP traps for a given destination

tszombathy
Level 1
Level 1

Hello,

Can anybody advise me how can I provide ONLY LinkUP/DOWN traps for a given destination, while I'm getting all the traps? I have the current config and here let's say I'd like to add a new trap desination.

snmp-server engineID local XXXXXXXXXX

snmp-server community XXXXXXXXXXX

snmp-server trap-source XXXXXXXXXXXX

snmp-server location XXXXXXXXXXXXXXXXXXXXXX

snmp-server contact XXXXXXXXXXXXXXXXXX

snmp-server enable traps config

snmp-server enable traps envmon

snmp-server host AAA.BBB.CCC.DDD public

snmp-server tftp-server-list 10

3 Replies 3

jegrimm
Level 1
Level 1

Hello,

I am not sure which versions but IOS 12.2(1) allows:

snmp-server traps enable linkup linkdown

Good Luck!

Jim

Hi Jim,

I run c2600-is-mz.121-11.bin and here I don't have the possibility you mentioned. Do you have any other idea?

I find out that the command snmp trap link-status issued on a per interface basis produces the traps but I can't see how can I direct only theese to the given destination (kind of an access list to associate???).

Regards,

Tibor

at the end of the

snmp-server host A.B.C.D community

there might be an opportunity to add trap types...Not sure on a 2600...Also up/down is under snmp trap types but this include authentication and cold/warm start stuff...

Jim

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: