IP Voice VLAN

RESTCONF supports managing the voice VLANs. The URI to configure a voice VLAN on the specified interface is:

/restconf/data/interfaces/interface/<interface>/ethernet/config

The URI to modify IP voice VLAN for interface configuration using PATCH method is:

/restconf/data/interfaces/interface/ethernet%201%2F1%2F4/ethernet/config
{
   "openconfig-if-ethernet:config" : {
      "ip-voice-vlan" : 100
   }
}

DELETE method
/restconf/data/interfaces/interface/<interface>/ethernet/config/ip-voice-vlan

Supported HTTP Operations

GET method

URL: https://<host>/restconf/data/interfaces/interface/ethernet%201%2F1%2F4/ethernet/config
Request body: None

Response body:  
   {
   "openconfig-if-ethernet:config" : {
      "duplex-mode" : "FULL",
      "auto-negotiate" : true,
      "icx-openconfig-if-ethernet-aug:ip-voice-vlan" : 100,
      "icx-openconfig-if-ethernet-aug:ip-dhcp-client-enable" : true,
      "icx-openconfig-if-ethernet-aug:ethernet-clock" : "none"
   }
}

PATCH or PUT method

URL: https://<host>/restconf/data/interfaces/interface/ethernet%201%2F1%2F4/ethernet/config	
Request body:
 	{
   "openconfig-if-ethernet:config" : {
      "ip-voice-vlan" : 100
   }
}

Response body: None

DELETE method

URL: https://<host>/restconf/data/interfaces/interface/ethernet%201%2F1%2F4/ethernet/config/ip-voice-vlan
Request body: None

Response body: None