Configuring Shut of All LAN VLANs on an Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/3" }, "children": [ { "l1PhysIfExtended": { "attributes": { "shutDownLan": "enable" } } } ] } }, { "l1PhysIf": { "attributes": { "id": "eth1/2" }, "children": [ { "l1PhysIfExtended": { "attributes": { "shutDownLan": "enable" } } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <intf-items> <phys-items> <PhysIf-list> <id>eth1/3</id> <physExtd-items> <shutDownLan>enable</shutDownLan> </physExtd-items> </PhysIf-list> <PhysIf-list> <id>eth1/2</id> <physExtd-items> <shutDownLan>enable</shutDownLan> </physExtd-items> </PhysIf-list> </phys-items> </intf-items> </System>