Dears,
I configured snmp on Juniper EX4600 Switch to send snmp traps from EX4600 irb.590 "10.58.253.130" to NetAct on "10.7.192.199" dst-port 262 but we cannot find any snmp traffic “out” of the switch interface irb.590 as shown below:
-Attached is the full cofiguration
-Is ther any missing snmp configuration ?
-Here is the configuration :
nsn@EX-4600-torhos301> show configuration | match snmp | display set
set system login class snmp permissions view
set system login user netact class snmp
set snmp view remote-view oid .1 include
set snmp community netact view remote-view
set snmp community netact authorization read-write
set snmp trap-options source-address 10.58.253.130
set snmp trap-group NetAct version v2
set snmp trap-group NetAct destination-port 262
set snmp trap-group NetAct categories authentication
set snmp trap-group NetAct categories chassis
set snmp trap-group NetAct categories link
set snmp trap-group NetAct categories routing
set snmp trap-group NetAct categories startup
set snmp trap-group NetAct categories rmon-alarm
set snmp trap-group NetAct categories services
set snmp trap-group NetAct targets 10.7.192.199
{master:0}
nsn@EX-4600-torhos301> show log messages | match snmp
May 2 14:40:02 EX-4600-torhos301 snmpd[1727]: SNMPD_SOCKET_FAILURE: bind_snmptrap_socket: socket failure: bind error on trap socket source ipv4 address 10.58.253.130, retry during send. (Can't assign requested address)
May 2 14:40:07 EX-4600-torhos301 snmpd[1727]: SNMPD_TRAP_TARGET_ADD_NOTICE: trap target is added, address : 10.7.192.199
nsn@EX-4600-torhos301> monitor traffic interface irb.590 matching "host 10.7.192.199" no-resolve
verbose output suppressed, use <detail> or <extensive> for full protocol decode
Address resolution is OFF.
Listening on irb.590, capture size 96 bytes
^C
22 packets received by filter
0 packets dropped by kernel
{master:0}
nsn@EX-4600-torhos301> monitor traffic interface irb.590 matching "host 10.58.253.130" no-resolve
verbose output suppressed, use <detail> or <extensive> for full protocol decode
Address resolution is OFF.
Listening on irb.590, capture size 96 bytes
17:29:13.997683 Out IP 10.58.253.130 > 224.0.0.18: VRRPv2-advertisement 20: vrid=190 prio=250 authtype=none intvl=1
17:29:14.754691 Out IP 10.58.253.130 > 224.0.0.18: VRRPv2-advertisement 20: vrid=190 prio=250 authtype=none intvl=1
17:29:18.331664 Out IP 10.58.253.130 > 224.0.0.18: VRRPv2-advertisement 20: vrid=190 prio=250 authtype=none intvl=1
17:29:25.247637 Out IP 10.58.253.130 > 224.0.0.18: VRRPv2-advertisement 20: vrid=190 prio=250 authtype=none intvl=1
^C
25 packets received by filter
0 packets dropped by kernel
{master:0}
nsn@EX-4600-torhos301>
nsn@EX-4600-torhos301> show route 10.58.253.130
- BAR.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 0.0.0.0/0 *[Static/5] 7w5d 14:00:54
> to 10.58.229.173 via irb.904
- InterDS.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 0.0.0.0/0 *[Static/5] 2w4d 15:21:36
> to 10.58.229.205 via irb.801
- OAM.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 10.58.253.130/32 *[Local/0] 7w5d 15:56:06
Local via irb.590
SDM-DB.inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 0.0.0.0/0 *[Static/5] 2w4d 15:21:36
> to 10.58.229.197 via irb.800
SDM-DIAM.inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 0.0.0.0/0 *[Static/5] 7w5d 14:02:14
> to 10.58.229.189 via irb.902
SDM-SIG.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
- 0.0.0.0/0 *[Static/5] 7w5d 14:02:14
> to 10.58.229.181 via irb.901
{master:0}
nsn@EX-4600-torhos301>