Configuring Inside Nat Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "natEntity": { "children": [ { "natInst": { "children": [ { "natDom": { "attributes": { "name": "default" }, "children": [ { "natIf": { "attributes": { "id": "eth1/2", "natIf": "ip-nat-inside" } } } ] } } ] } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/2", "layer": "Layer3", "userCfgdFlags": "admin_layer" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <nat-items> <inst-items> <dom-items> <Dom-list> <name>default</name> <if-items> <If-list> <id>eth1/2</id> <natIf>ip-nat-inside</natIf> </If-list> </if-items> </Dom-list> </dom-items> </inst-items> </nat-items> <intf-items> <phys-items> <PhysIf-list> <id>eth1/2</id> <layer>Layer3</layer> <userCfgdFlags>admin_layer</userCfgdFlags> </PhysIf-list> </phys-items> </intf-items> </System>