Configuring OSPF Shutdown on the Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "ospfv3Entity": { "children": [ { "ospfv3If": { "attributes": { "adminSt": "disabled", "id": "tunnel123" } } } ] } }, { "interfaceEntity": { "children": [ { "tunnelifIf": { "attributes": { "id": "tunnel123", "tunMode": "gre/ipv6" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <ospfv3-items> <if-items> <If-list> <id>tunnel123</id> <adminSt>disabled</adminSt> </If-list> </if-items> </ospfv3-items> <intf-items> <tunnelif-items> <If-list> <id>tunnel123</id> <tunMode>gre/ipv6</tunMode> </If-list> </tunnelif-items> </intf-items> </System>