Configuring a MAC Address Table
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "bdEntity": { "children": [ { "l2VlanConfig": { "attributes": { "accEncap": "vlan-1" } } } ] } }, { "igmpsnoopEntity": { "children": [ { "igmpsnoopInst": { "children": [ { "igmpsnoopDom": { "children": [ { "igmpsnoopVlan": { "attributes": { "vlanid": "vlan1" }, "children": [ { "igmpsnoopIgmpsnBase": { "attributes": { "lookupMac": "yes" } } } ] } } ] } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <bd-items> <vlanconfig-items> <VlanConfig-list> <accEncap>vlan-1</accEncap> </VlanConfig-list> </vlanconfig-items> </bd-items> <igmpsnoop-items> <inst-items> <dom-items> <vlan-items> <Vlan-list> <vlanid>vlan1</vlanid> <igmpsnbase-items> <lookupMac>true</lookupMac> </igmpsnbase-items> </Vlan-list> </vlan-items> </dom-items> </inst-items> </igmpsnoop-items> </System>