cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
603
Views
0
Helpful
0
Replies

Updating FTD Device Interface Configuration using FMC API

peterbankole1
Level 1
Level 1

I'm doing a PUT request using FMC REST API  to change the physicalinterface configuration of a FP2000 series firewall, however I get the return message below. 

 

{"error": {
"category": "FRAMEWORK",
"messages": [
{ "description": "Post not allowed for Physical Interfaces."
}],"severity": "ERROR"}}

 

When I do the PUT request I use the following link https://fmcrestapisandbox.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/devices/devicerecords/<Device ID/Container UUID>/physicalinterfaces

 

In the Body of the message I have:

{
"type": "PhysicalInterface",
"enabled": false,
"MTU": 1500,
"managementOnly": false,
"securityZone": {
"id": "8d770a60-44cf-11e9-9199-2424ffccb8e1",
"type": "SecurityZone"
},
"ifname": "Intf1",
"ipv4": {
"static": {
"address": "1.2.3.5",
"netmask": "25"
}
},
"name": "GigabitEthernet0/8"
}

 

Please assist

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card