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
}
}
/restconf/data/interfaces/interface/<interface>/ethernet/config/ip-voice-vlan
Supported HTTP Operations
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"
}
}
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
URL: https://<host>/restconf/data/interfaces/interface/ethernet%201%2F1%2F4/ethernet/config/ip-voice-vlan
Request body: None Response body: None