Add sub-interface REST API question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add sub-interface REST API question

L0 Member

Trying to add sub-interface to aggregated one via REST-API on 9.1 and realized that I can't even see them using GET method:

curl -k -X GET 'https://MyFW/restapi/v9.1/Network/EthernetInterfaces' -H 'X-PAN-KEY'

gives me only physical interfaces and does not even show already created ones (ae with sub-ints), see below.

Did anyone succeed on this task?

Spoiler
{
"@status": "success",
"@code": "19",
"result": {
"@total-count": "4",
"@count": "4",
"entry": [
{
"@name": "ethernet1/1",
"aggregate-group": "ae8",
},
{
"@name": "ethernet1/3",
"link-state": "auto",
"aggregate-group": "ae8",
},
{
"@name": "ethernet1/10",
"link-state": "auto",
"aggregate-group": "ae1",
},
{
"@name": "ethernet1/12",
"aggregate-group": "ae2",
"link-state": "auto"
}
]
}
}
0 REPLIES 0
  • 2304 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!