Configuring the Native VLAN ID for a Virtual Ethernet Interface
DME
YANG
Copy
POST http://<IP_Address>/api/mo/sys/intf.json
{ "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/1", "nativeVlan": "vlan-60" }}}]}}
Response
{ imdata": [] }
Copy
<System> <intf-items> <phys-items> <PhysIf-list> <id>eth1/1</id> <nativeVlan>vlan-60</nativeVlan> </PhysIf-list> </phys-items> </intf-items> </System>