Configuring an Interface as a Trunk Port and Enabling a List of Allowed VLANs
DME
Copy
POST http://<IP_Address>/api/mo/sys.json
{ "topSystem": { "children": [ { "l1PhysIf": { "attributes": { "rn": "phys-[eth3/21]", "id": "eth3/21", "descr": "MDT test: trunk port", "layer": "Layer2", "mode": "trunk", "mtu": "9216", "adminSt": "up", "trunkLog": "enable", "trunkVlans": "2-150", "snmpTrapSt": "disable" }}}}}