cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
640
Views
10
Helpful
4
Replies

devices send snmp trap to stealthwach

dijix1990
VIP Alumni
VIP Alumni

I noticed strange situation, I configured netflow exporter on the asa's and snmp server for SMC to get name of interfaces, and I can see that SMC sent snmp request to device >161/udp, but device response to 162/udp. Why does it happen?

flow-export destination inside 192.168.0.55 2055
flow-export template timeout-rate 1
flow-export delay flow-create 60

class-map Netflow_Monitor
match any


policy-map global_policy
class Netflow_Monitor
  flow-export event-type all destination 192.168.0.55

SNMP:
snmp-server host inside 192.168.0.50 community snmpCom ver 2c
4 Replies 4

UDP/161 is used for SNMP polling by default, and UDP/162 is used by the device to send unsolicited SNMP traps.

did this answer your question?

--
Please remember to select a correct answer and rate helpful posts

Hi, I know it, use it in zabbix, but why ASA sends snmp trap to SMC, maybe it usual situation for connecting with SMC, because I didn't configure snmp trap, I try to understand why my CPI server can get snmp response and SMC can't, configuration the same and when I start to check session and noticed that asa send snmp trap

dijix1990
VIP Alumni
VIP Alumni

I found, when you run command - 

snmp-server host inside 192.168.0.50 community snmpCom ver 2c

asa does it as 

snmp-server host inside 192.168.0.50 community snmpCom ver 2c udp-port 162

so, it's because of asa behavour 

Well, yes.  When you define an SNMP server you are essentially telling the ASA to send SNMP traps to that server. If you do not want the ASA to send any SNMP traps remove the commands for snmp-server enable traps

--
Please remember to select a correct answer and rate helpful posts
Review Cisco Networking for a $25 gift card