<?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: FMC Rest API for HA Pair in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/fmc-rest-api-for-ha-pair/m-p/5112102#M1112835</link>
    <description>&lt;P&gt;Same issue, but I managed to do this with the device id of the standby node. ( just trial and error, trying with every DeviceID I could find )&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 14:15:52 GMT</pubDate>
    <dc:creator>KRVE</dc:creator>
    <dc:date>2024-05-21T14:15:52Z</dc:date>
    <item>
      <title>FMC Rest API for HA Pair</title>
      <link>https://community.cisco.com/t5/network-security/fmc-rest-api-for-ha-pair/m-p/4066185#M1069191</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get Subinterfaces created via FMC RestAPI but always receiving "BadRequest" response.&lt;/P&gt;&lt;P&gt;There is something not adding up which is the fact, "subinterfaces" is available under the "devicerecords", however this is an HA Pair. I've selected device ID for "Active" but still doesn't make a difference.&lt;/P&gt;&lt;P&gt;This is the URI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/34db7df4-c27b-11e8-9c88-a8166172884a/subinterfaces?bulk=false&lt;/PRE&gt;&lt;P&gt;Where "34db7df4-c27b-11e8-9c88-a8166172884a" is the HA Active device ID returned on the "GET".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "description": "Aaaaaaa-FW",
  "type": "SubInterface",
  "enabled": true,
  "MTU": 1500,
  "mode": "NONE",
  "subIntfId": 105,
  "ipv4": {
    "static": {
      "address": "192.168.0.1",
      "netmask": "25"
    }
  },
  "ifname": "Aaaaaaa-FW",
  "managementOnly": false,
  "enableAntiSpoofing": true,
  "securityZone": {
    "id": "88ca6be8-7e52-11ea-8a1c-71c9f258920c",
    "type": "SecurityZone"
  },
  "vlanId": 105,
  "fragmentReassembly": false,
  "name": "Port-Channel1"
}&lt;/PRE&gt;&lt;P&gt;I've confirmed the SZ ID "88ca6be8-7e52-11ea-8a1c-71c9f258920c" is correct via the GET Method in Objects/SecurityZones. Also maybe important to refer I'm trying to add sub-interface to an EtherChannel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions what I'm doing wrong?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 07:53:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-rest-api-for-ha-pair/m-p/4066185#M1069191</guid>
      <dc:creator>rgomez12</dc:creator>
      <dc:date>2020-04-15T07:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: FMC Rest API for HA Pair</title>
      <link>https://community.cisco.com/t5/network-security/fmc-rest-api-for-ha-pair/m-p/5112102#M1112835</link>
      <description>&lt;P&gt;Same issue, but I managed to do this with the device id of the standby node. ( just trial and error, trying with every DeviceID I could find )&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 14:15:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-rest-api-for-ha-pair/m-p/5112102#M1112835</guid>
      <dc:creator>KRVE</dc:creator>
      <dc:date>2024-05-21T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

