06-06-2019 01:13 PM
Solved! Go to Solution.
08-27-2020 07:56 AM
Hi,
About this, I’ve reach out the support team and now the SNMP traps on my VSPs devices are working fine.
So, first, I’ve configured a loopback IP address (CLIP) on the switch to use it as the SNMP sender source. On the VOSS CLI reference doc (https://documentation.extremenetworks.com/VOSS/SW/71x/9035528_CLIRefVOSS_7.1_CRG.pdf), page 2110, it says that the IP SNMP sender source should be a CLIP address. If is not a CLIP address, then the config snmp-server force-trap-sender enable will be ignored and the switch automatically uses the IP address of the logical interface that is closest (from the perspective of the routing table). If the reachability to the SNMP server is over an IS-IS/SPB IP shortcut NNI, the switch automatically uses the IS-IS IP source address and the settings from this command are ignored.
After this, I was able to use the command snmp-sever force-trap-sender enable properly. So, my snmp config, look like this:
------------------------------------------
snmp-server contact "Contact"
snmp-server location "Location"
snmp-server authentication-trap enable
snmp-server force-iphdr-sender enable
snmp-server sender-ip <XMC Server IP> <CLIP address of the switch>
snmp-server force-trap-sender enable
snmp-server user user_xmc group "xmcgroup"
snmp-server user user_xmc group "xmcgroup"
snmp-server view "xmc_read" 1
snmp-server view "xmc_write" 1
snmp-server view "xmc_notify" 1
snmp-server group "xmcgroup" "" auth-priv read-view xmc_read write-view xmc_write notify-view root
snmp-server group "user_xmc" "" auth-priv read-view xmc_read write-view xmc_write notify-view xmc_notify
snmp-server host <XMC server IP> v3 authPriv user_xmc inform
------------------------------------------
After this config, I was able to see traffic on the tcpdump capture coming through port 162 (SNMP traps) to the XMC from the VSP.
At last I removed the VSP switches from XMC and added them again using the CLIP address.
I hope this helps someone else.
Regards
08-27-2020 07:56 AM
Hi,
About this, I’ve reach out the support team and now the SNMP traps on my VSPs devices are working fine.
So, first, I’ve configured a loopback IP address (CLIP) on the switch to use it as the SNMP sender source. On the VOSS CLI reference doc (https://documentation.extremenetworks.com/VOSS/SW/71x/9035528_CLIRefVOSS_7.1_CRG.pdf), page 2110, it says that the IP SNMP sender source should be a CLIP address. If is not a CLIP address, then the config snmp-server force-trap-sender enable will be ignored and the switch automatically uses the IP address of the logical interface that is closest (from the perspective of the routing table). If the reachability to the SNMP server is over an IS-IS/SPB IP shortcut NNI, the switch automatically uses the IS-IS IP source address and the settings from this command are ignored.
After this, I was able to use the command snmp-sever force-trap-sender enable properly. So, my snmp config, look like this:
------------------------------------------
snmp-server contact "Contact"
snmp-server location "Location"
snmp-server authentication-trap enable
snmp-server force-iphdr-sender enable
snmp-server sender-ip <XMC Server IP> <CLIP address of the switch>
snmp-server force-trap-sender enable
snmp-server user user_xmc group "xmcgroup"
snmp-server user user_xmc group "xmcgroup"
snmp-server view "xmc_read" 1
snmp-server view "xmc_write" 1
snmp-server view "xmc_notify" 1
snmp-server group "xmcgroup" "" auth-priv read-view xmc_read write-view xmc_write notify-view root
snmp-server group "user_xmc" "" auth-priv read-view xmc_read write-view xmc_write notify-view xmc_notify
snmp-server host <XMC server IP> v3 authPriv user_xmc inform
------------------------------------------
After this config, I was able to see traffic on the tcpdump capture coming through port 162 (SNMP traps) to the XMC from the VSP.
At last I removed the VSP switches from XMC and added them again using the CLIP address.
I hope this helps someone else.
Regards
08-24-2020 08:30 AM
Hi Peter,
Actually I’ve already tried with snmp traps. The problem remains.
The use of informs is what we get when on XMC we select the “Register Trap Receiver”. Basically, the XMC sets the configuration of the snmp-server and it uses informs instead of traps.
The most annoying thing is that on XMC I cannot see any incoming traffic on port 162 from my VSPs. I see from my EXOS stacks, but not from my VSPs. So, I think is clearly something related with the VOSS configuration or the software version.
08-22-2020 09:28 AM
Hi Cesar,
I’m currently not 100% sure, but It looks like you have configured to send informs and not traps.
I personally use traps, because I never got informs running with netsight.
08-20-2020 02:35 PM
Hi Zdenek,
I’m having the exact same issue and I’ve tried your way, commands by that order. The VSP still does not send Traps to the XMC.
This is my config.
When I disable a link on a device connected to this VSP, I’m still not able to see any traffic coming on XMC (port 162), using the tcpdump command.
Also, you can see that I’ve enabled the Link-status trap.
So, any ideas on this?
Regards,
César Santos