RESTCONF API for VLAN CLI Command

This section provides the Representational State Transfer Configuration Protocol (RESTCONF) API sections for the VLAN CLI command.

POST or PATCH

GET

To access the top-level interfaces resource within the openconfig-relay-agent YANG model, use the following URL:

https://$ip:8080/rest/restconf/data/openconfig-relay-agent: relay-agent/dhcp/interfaces/interface=<vlan-id>/agent-information-option

Use this API operation to do the following:

Sample server response:

Based on Yang Model

DELETE

To access the top-level interfaces resource within the openconfig-relay-agent YANG model, use the following URL:

https://$ip:8080/rest/restconf/data/openconfig-relay-agent: relay-agent/dhcp/interfaces/interface=<vlan-id>

Use this API operation to do the following: