Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

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

Who Me Too'd this topic

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"
}
]
}
}
Who Me Too'd this topic