Configuring a Fabric-Facing Port on an Ethernet Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/2", "layer": "Layer3", "medium": "p2p", "userCfgdFlags": "admin_layer" }, "children": [ { "l1PhysIfExtended": { "attributes": { "portTypeFabric": "yes" } } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <intf-items> <phys-items> <PhysIf-list> <id>eth1/2</id> <layer>Layer3</layer> <medium>p2p</medium> <userCfgdFlags>admin_layer</userCfgdFlags> <physExtd-items> <portTypeFabric>yes</portTypeFabric> </physExtd-items> </PhysIf-list> </phys-items> </intf-items> </System>