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": "po123", "natIf": "ip-nat-inside" } } } ] } } ] } } ] } }, { "interfaceEntity": { "children": [ { "pcAggrIf": { "attributes": { "id": "po123" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <nat-items> <inst-items> <dom-items> <Dom-list> <name>default</name> <if-items> <If-list> <id>po123</id> <natIf>ip-nat-inside</natIf> </If-list> </if-items> </Dom-list> </dom-items> </inst-items> </nat-items> <intf-items> <aggr-items> <AggrIf-list> <id>po123</id> </AggrIf-list> </aggr-items> </intf-items> </System>