Configuring Router Guard IP Multicast VLAN
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "igmpsnoopEntity": { "children": [ { "igmpsnoopInst": { "children": [ { "igmpsnoopDom": { "children": [ { "igmpsnoopIntf": { "attributes": { "id": "eth1/2", "rtrGrdEnable": "yes", "rtrGrdVlanId": "247" } } } ] } } ] } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/2", "layer": "Layer2", "userCfgdFlags": "admin_layer" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <igmpsnoop-items> <inst-items> <dom-items> <intf-items> <Intf-list> <id>eth1/2</id> <rtrGrdEnable>true</rtrGrdEnable> <rtrGrdVlanId>247</rtrGrdVlanId> </Intf-list> </intf-items> </dom-items> </inst-items> </igmpsnoop-items> <intf-items> <phys-items> <PhysIf-list> <id>eth1/2</id> <layer>Layer2</layer> <userCfgdFlags>admin_layer</userCfgdFlags> </PhysIf-list> </phys-items> </intf-items> </System>