<pre>curlcurl -H ''Content-Type: application/json'' -H ''Accept: application/json'' -u admin:admin -X PUT -d '{"interface"'{"interface":[{"name":"vxlanTun0", "type":""name":"vxlanTun0", "type":"v3po:vxlan-tunnel"", "enabled":"true", ""enabled":"true", "link-up-down-trap-enable"": "enabled""enabled", "vxlan""vxlan":{"src":""src":"10.3.0.9"", "dst":""dst":"10.1.0.20"", "vni":"100", ""vni":"100", "encap-vrf-id":"0"":"0"}}]}' <a href="' http://10.3.0.9:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun0">http://10.3.0.9:8183/restconf/config/ietf-interfaces:interfaces/interface/vxlanTun0</a></pre> |