Configuring MLD Snooping
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "mldsnoopEntity": { "children": [ { "mldsnoopInst": { "children": [ { "mldsnoopDom": { "children": [ { "mldsnoopVlan": { "attributes": { "mldSnoop": "yes", "vlanid": "vlan1" } } } ] } } ] } } ] } }, { "bdEntity": { "children": [ { "l2VlanConfig": { "attributes": { "accEncap": "vlan-1" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <mldsnoop-items> <inst-items> <dom-items> <vlan-items> <Vlan-list> <vlanid>vlan1</vlanid> <mldSnoop>true</mldSnoop> </Vlan-list> </vlan-items> </dom-items> </inst-items> </mldsnoop-items> <bd-items> <vlanconfig-items> <VlanConfig-list> <accEncap>vlan-1</accEncap> </VlanConfig-list> </vlanconfig-items> </bd-items> </System>