DHCPv6 Snooping
Supported HTTP Operations
The following HTTP operations are
supported for the ipv6 dhcp6
snooping vlan command.
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=610/config/dhcp6_snoop_container
Request body: None
Response body:{
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": true
}
}
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config/dhcp6_snoop_container
Request body:
{
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": false
}
}
Response body: None
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=102/config/dhcp6_snoop_container
Request body:
{
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": true
}
}
Response body: None
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=101/config
Request body:
{
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": true
}
}
Response body: None
PATCH method for DHCPv6 Snoop on multi VLAN
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans
{
"openconfig-network-instance:vlans": {
"vlan": [
{
"vlan-id": 11,
"config": {
"vlan-id": 11,
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": true
}
}
},
{
"vlan-id": 1,
"config": {
"vlan-id": 1,
"icx-openconfig-vlan-aug:dhcp6_snoop_container": {
"dhcp6_snoop": true
}
}
}
]
}
}
URL: https://<host>/restconf/data/network-instances/network-instance/default-vrf/vlans/vlan=610/config/dhcp6_snoop_container
Request body: None Response body: None
The following HTTP operations are supported for DHCPv6 snooping trust.
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F4/config/dhcp6_snoop_trust_container
Request body: None
Response body:{
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F1/config/dhcp6_snoop_trust_container
Request body:{
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
Response body: None
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F2/config/dhcp6_snoop_trust_container
Request body: {
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
Response body: None
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F4/config
Request body: {
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
Response body: None
PATCH method for DHCP Snoop for multiple physical interfaces
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces
{
"openconfig-interfaces:interfaces": {
"interface": [
{
"name": "ethernet 1/1/1",
"config": {
"name": "ethernet 1/1/1",
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
},
{
"name": "ethernet 1/1/2",
"config": {
"name": "ethernet 1/1/2",
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
},
{
"name": "ethernet 1/1/3",
"config": {
"name": "ethernet 1/1/3",
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
}
]
}
}
PATCH method for DHCPv6 Snoop trust for multiple LAG interfaces
URL: https://<host>/restconf/data/openconfig-interfaces:interfaces
{
"openconfig-interfaces:interfaces": {
"interface": [
{
"name": "lag 1",
"config": {
"name": "lag 1",
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
},
{
"name": "lag 2",
"config": {
"name": "lag 2",
"icx-openconfig-if-dhcp-snoop-aug:dhcp6_snoop_trust_container": {
"dhcp6_snoop_trust": true
}
}
}
]
}
}DELETEURL: https://<host>/restconf/data/openconfig-interfaces:interfaces/interface=ethernet%201%2F1%2F4/config/dhcp6_snoop_trust_container
Request body: None Response body: None