Configuring the Interface to be a Boundary of a PIM6 Domain
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/2", "layer": "Layer3", "userCfgdFlags": "admin_layer" } } } ] } }, { "pimEntity": { "children": [ { "pimInst": { "children": [ { "pimDom": { "attributes": { "name": "default" }, "children": [ { "pimIf": { "attributes": { "id": "eth1/2", "pimSparseMode": "yes" } } } ] } } ] } } ] } }, { "pim6Entity": { "children": [ { "pim6Inst": { "children": [ { "pim6Dom": { "attributes": { "name": "default" }, "children": [ { "pim6If": { "attributes": { "border": "yes", "id": "eth1/2" } } } ] } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <intf-items> <phys-items> <PhysIf-list> <id>eth1/2</id> <layer>Layer3</layer> <userCfgdFlags>admin_layer</userCfgdFlags> </PhysIf-list> </phys-items> </intf-items> <pim-items> <inst-items> <dom-items> <Dom-list> <name>default</name> <if-items> <If-list> <id>eth1/2</id> <pimSparseMode>true</pimSparseMode> </If-list> </if-items> </Dom-list> </dom-items> </inst-items> </pim-items> <pim6-items> <inst-items> <dom-items> <Dom-list> <name>default</name> <if-items> <If-list> <id>eth1/2</id> <border>true</border> </If-list> </if-items> </Dom-list> </dom-items> </inst-items> </pim6-items> </System>