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