<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SNMP issue with FDM and Rest API in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926528#M1104418</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for your reply. 162 is actually the default port which is applied when we don't specify &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"udpPort": &lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;Below the Response body without specifying a UDP port:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "f3l2qhbhorsfo",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "snmpv2-host",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"description": null,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"managerAddress": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "bz3l66jx3vyn3",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "SNMP_SRV",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "546eaf59-5789-11ee-935e-1384687f42af",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "networkobject"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;"udpPort": 162,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"pollEnabled": true,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"trapEnabled": false,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"securityConfiguration": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"community": "*********",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "snmpv2csecurityconfiguration"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"interface": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "ktvt2jciheggh",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "diagnostic",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"hardwareName": "Management1/1",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "03a2b781-3d4f-11ee-b62e-cfdbafb0cf5d",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "physicalinterface"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "384a8de9-57ae-11ee-935e-d7f3a7b081f7",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "snmphost",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"links": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"self": "&lt;A href="https://10.29.113.108/api/fdm/v6/object/snmphosts/384a8de9-57ae-11ee-935e-d7f3a7b081f7" target="_blank"&gt;https://10.29.113.108/api/fdm/v6/object/snmphosts/384a8de9-57ae-11ee-935e-d7f3a7b081f7&lt;/A&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The snmp host is created, but with UDP 162. That's why I'm trying to force the use of 161 but I have the error above.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2023 12:10:17 GMT</pubDate>
    <dc:creator>uRLKuzE</dc:creator>
    <dc:date>2023-09-20T12:10:17Z</dc:date>
    <item>
      <title>SNMP issue with FDM and Rest API</title>
      <link>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926443#M1104408</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;
&lt;P&gt;I'm currently configuring a cluster of FTD 3120 with FDM running version 7.2.5. Using the REST API I'm trying to push an snmp configuration but I'm getting a strange error when I specify UDP port 161 instead of 162. Below the JSON config I'm trying:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"version": null,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"name": "snmpv2-host",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"description": null,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"managerAddress": {&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"version": "bz3l66jx3vyn3",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"name": "SNMP_SRV",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"id": "546eaf59-5789-11ee-935e-1384687f42af",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"type": "networkobject"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;},&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"udpPort": 161,&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"pollEnabled": true,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"trapEnabled": false,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"securityConfiguration": {&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"community": "Cisco123",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"type": "snmpv2csecurityconfiguration"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;},&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"interface": {&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"version": "ktvt2jciheggh",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"name": "diagnostic",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"id": "03a2b781-3d4f-11ee-b62e-cfdbafb0cf5d",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"type": "physicalinterface"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;},&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"id": null,&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"type": "snmphost"&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;And the result:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"error": {&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"severity": "ERROR",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"key": "Validation",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"messages": [&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"description": "VAL.snmpUdpPortCannotBePassed",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"code": "&lt;STRONG&gt;snmpUdpPortCannotBePassed&lt;/STRONG&gt;",&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"location": ""&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Strangely, If I change 161 for the default value 162, the configuration is accepted and the snmp configuration is created. Using any other port triggers the issue.&lt;/FONT&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Anyone having an idea of what can cause this ? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 13:50:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926443#M1104408</guid>
      <dc:creator>uRLKuzE</dc:creator>
      <dc:date>2023-09-20T13:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP issue with FDM and Rest API</title>
      <link>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926522#M1104417</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - I though 161 was the default value ; could you just remove that line :&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"udpPort": 161,&lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 11:57:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926522#M1104417</guid>
      <dc:creator>Mark Elsen</dc:creator>
      <dc:date>2023-09-20T11:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP issue with FDM and Rest API</title>
      <link>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926528#M1104418</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for your reply. 162 is actually the default port which is applied when we don't specify &lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;EM&gt;"udpPort": &lt;/EM&gt;&lt;/FONT&gt;&lt;/STRONG&gt;Below the Response body without specifying a UDP port:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "f3l2qhbhorsfo",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "snmpv2-host",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"description": null,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"managerAddress": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "bz3l66jx3vyn3",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "SNMP_SRV",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "546eaf59-5789-11ee-935e-1384687f42af",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "networkobject"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;"udpPort": 162,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"pollEnabled": true,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"trapEnabled": false,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"securityConfiguration": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"community": "*********",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "snmpv2csecurityconfiguration"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"interface": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"version": "ktvt2jciheggh",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"name": "diagnostic",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"hardwareName": "Management1/1",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "03a2b781-3d4f-11ee-b62e-cfdbafb0cf5d",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "physicalinterface"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;},&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"id": "384a8de9-57ae-11ee-935e-d7f3a7b081f7",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"type": "snmphost",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"links": {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;"self": "&lt;A href="https://10.29.113.108/api/fdm/v6/object/snmphosts/384a8de9-57ae-11ee-935e-d7f3a7b081f7" target="_blank"&gt;https://10.29.113.108/api/fdm/v6/object/snmphosts/384a8de9-57ae-11ee-935e-d7f3a7b081f7&lt;/A&gt;"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The snmp host is created, but with UDP 162. That's why I'm trying to force the use of 161 but I have the error above.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 12:10:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/snmp-issue-with-fdm-and-rest-api/m-p/4926528#M1104418</guid>
      <dc:creator>uRLKuzE</dc:creator>
      <dc:date>2023-09-20T12:10:17Z</dc:date>
    </item>
  </channel>
</rss>

