11-26-2024 04:04 PM
Hello. I am trying to use the API "/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/globalInterface" to create a loopback interface.
API reference: API Reference (LAN) - Nexus Dashboard Fabric Controller API, Release 12.2.2 - Cisco DevNet
This is the JSON body I am trying to POST to the API.
11-27-2024 09:19 AM
{
"policy": "int_loopback_host",
"interfaceType": "INTERFACE_LOOPBACK_INTERNAL",
"interfaces": [
{
"serialNumber": "SDKT1234HD",
"ifName": "Loopback0",
"nvPairs": {
"LOOPBACK0_IP_RANGE": "10.1.1.1/32",
"ADMIN_STATE": "true",
"DESC": "Loopback interface for testing",
"MTU": "1500",
"ENABLE_NETFLOW": "false"
}
}
]
}
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide