cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
614
Views
0
Helpful
2
Replies

SNMP Configuration

I'm configuring SNMP for L2 & L3 switches.While configuring snmp traps i'm able to understand some commands but unable to understand some commands also.So unable to decide which all commands should i add as don't know the piece of information it will provide.Kindly help.

snmp-server enable traps call-home message-send-fail server-fail
snmp-server enable traps tty
snmp-server enable traps rf
snmp-server enable traps auth-framework sec-violation
snmp-server enable traps flex-links status
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps ethernet cfm cc mep-up mep-down cross-connect loop config
snmp-server enable traps ethernet cfm crosscheck mep-missing mep-unknown service-up
snmp-server enable traps ether-oam
snmp-server enable traps rep
snmp-server enable traps entity-diag boot-up-fail hm-test-recover hm-thresh-reached scheduled-test-fail
snmp-server enable traps ethernet evc status create delete
snmp-server enable traps energywise
snmp-server enable traps trustsec-server radius-server provision-secret
snmp-server enable traps trustsec authz-file-error cache-file-error keystore-file-error keystore-sync-fail random-number-fail src-entropy-fail
snmp-server enable traps trustsec-policy peer-policy-updated authz-sgacl-fail
snmp-server enable traps cef resource-failure peer-state-change peer-fib-state-change inconsistency
snmp-server enable traps vrfmib vrf-up vrf-down vnet-trunk-up vnet-trunk-down

2 Replies 2

pieterh
VIP
VIP

it can be sufficient to just enter "snmp-server enable traps" instead of enabling individual traps
this will enable all trap types the devices knows
NB! it will show in the config as all individual "snmp-server enable traps ...."  commands like above
and the number of lines can very with device-model/ modules-installed/OS-version/license etc.

after you detect some traps fill your snmp-server with traps that you think are unnecessary,  then 
you can remove some of them with "no snmp-server enable traps ...."

balaji.bandi
Hall of Fame
Hall of Fame

As per the config you are sending specific traps, if that is your intention, that should work as expected.

if you like to send all traps use generic all traps to syslogs server.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help