Connectivity Guide

Table Of Contents
JSON content None
Parameters
port-channelid-number — Enter port-channelid-number, where id-number is from 1 to 128.
Example
curl -X GET -k -u admin:admin -H "accept:application/json"
"https://10.11.86.113/restconf/data/interfaces/interface/port-channel10"
Delete a port-channel conguration
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10
JSON content None
Parameters
port-channel id-number — Enter port-channelid-number, where id-number is from 1 to 128.
Example
curl -X DELETE -k -u admin:admin -H "accept: application/json"
-H "Content-Type: application/json"
"https://10.11.86.113/restconf/data/interfaces/interface/port-channel10"
Remove port-channel minimum link conguration
RESTCONF
endpoint
/restconf/data/interfaces/interface/port-channel10/min-links
JSON content None
Parameters
port-channel id-number — Enter port-channelid-number, where id-number is from 1 to 128.
Example
curl -X DELETE -k -u admin:admin -H "accept:application/json"
-H "Content-Type:application/json"
"https://10.11.86.113/restconf/data/interfaces/interface/port-channel10/min-
links"
VLAN
Create VLAN interface
RESTCONF
endpoint
/restconf/data/interfaces
JSON content
{
"interface": [{
"type": "iana-if-type:l2vlan",
"enabled": true,
"description": "vlan20",
"name": "vlan20"
}]
}
Parameters
type string — Enter iana-if-type:l2vlan for a VLAN interface.
enabled bool — Enter true to enable the VLAN; enter false to disable the VLAN.
RESTCONF API 929