Configuring Network Address Translation (NAT)
Enable Network Address Translation (NAT)
Network Address Translation (NAT) enables private IP internetworks that use nonregistered IP addresses to connect to the Internet.
NAT operates on a device, usually connecting two networks, and translates private (not globally unique) IP addresses in the internal
network into legal IP addresses before packets are forwarded to another network.
Before you can use the NX-API REST NAT configuration APIs, you must enable NAT on the switch.
Follow these steps to enable NAT.
Enter global configuration mode:
config t
Enable the NAT feature:
switch(config)# feature nat
NAT configuration mode is now active. You can now issue NX-API REST NAT configuration calls.
Configuring tcp-timeout for NAT Translation Table
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat translation tcp-timeout 100
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
tcpTimeout | nat:NatTimeout (scalar:Uint32) | NAT tcp timeout values | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring udp-timeout for NAT Translation Table
Configures udp-timeout for a NAT translation table.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat translation udp-timeout 101
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
udpTimeout | nat:NatTimeout (scalar:Uint32) | NAT udp timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Timeout for NAT Translation Table
Configures timeout for NAT translation table.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat translation timeout 102
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
timeout | nat:NatTimeout (scalar:Uint32) | NAT timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Maximum Size of NAT Table for All Hosts
Configures the maximum size of NAT the table for all hosts.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat translation max-entries all-host 103
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
allhost | nat:NatMaxTranslationAllHost (scalar:Uint32) | NAT max translations all host | RANGE: [0 , 1023] DEFAULT: 0 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Maximum Size of NAT Table
Configures the maximum size of the NAT table.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat translation max-entries 104
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
maxtranslation | nat:NatMaxTranslation (scalar:Uint32) | NAT max translations | RANGE: [1 , 1023] DEFAULT: 80 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a NAT Pool with Network Mask
Creates a NAT pool with a network mask.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat pool pool5 netmask 255.0.255.0
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natPool |
sys/nat/inst/pool-{poolname} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
mask | address:Ip
| NAT netmask for pool-range | Value must match ipv4 or ipv6 known format |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a NAT Pool with Network Mask
Deletes a NAT pool with a network mask.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
no ip nat pool pool5 netmask 255.0.255.0
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natPool |
sys/nat/inst/pool-{poolname} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a NAT Pool with Prefix Length
Creates a NAT pool with a prefix length.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat pool pool5 prefix-length 24
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natPool |
sys/nat/inst/pool-{poolname} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
prefixlen | nat:NatPrefixType (scalar:Uint32) | NAT prefix len for pool-range | RANGE: [0 , 32] DEFAULT: 0 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a NAT Pool with Prefix Length
Deletes a NAT pool with a prefix length.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
no ip nat pool pool5 prefix-length 24
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natPool |
sys/nat/inst/pool-{poolname} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating a NAT Pool with Network Mask
Creates a NAT pool with a network mask.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat pool pool5 20.1.1.1 20.1.1.5 netmask 255.0.255.0
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natPool |
sys/nat/inst/pool-{poolname} |
natPoolAddress |
sys/nat/inst/pool-{poolname}/startip-{[startip]}-endip-{[endip]} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
mask | address:Ip
| NAT netmask for pool-range | Value must match ipv4 or ipv6 known format |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
natPoolAddress Properties
The following table contains information about the natPoolAddress properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
endip | address:Ip
| NAT end ip address for pool-range | Value must match ipv4 or ipv6 known format |
startip | address:Ip
| NAT start ip address for pool-range | Value must match ipv4 or ipv6 known format |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a NAT Pool with Network Mask
Deletes a NAT pool with a network mask.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
no ip nat pool pool5 20.1.1.1 20.1.1.5 netmask 255.0.255.0
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natPool |
sys/nat/inst/pool-{poolname} |
natPoolAddress |
sys/nat/inst/pool-{poolname}/startip-{[startip]}-endip-{[endip]} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
natPoolAddress Properties
The following table contains information about the natPoolAddress properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
endip | address:Ip
| NAT end ip address for pool-range | Value must match ipv4 or ipv6 known format |
startip | address:Ip
| NAT start ip address for pool-range | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Creating NAT Pool with Prefix Length
Creates a NAT pool with a prefix length.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
ip nat pool pool5 20.1.1.1 20.1.1.5 prefix-length 3
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natPool |
sys/nat/inst/pool-{poolname} |
natPoolAddress |
sys/nat/inst/pool-{poolname}/startip-{[startip]}-endip-{[endip]} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
prefixlen | nat:NatPrefixType (scalar:Uint32) | NAT prefix len for pool-range | RANGE: [0 , 32] DEFAULT: 0 |
natPoolAddress Properties
The following table contains information about the natPoolAddress properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
endip | address:Ip
| NAT end ip address for pool-range | Value must match ipv4 or ipv6 known format |
startip | address:Ip
| NAT start ip address for pool-range | Value must match ipv4 or ipv6 known format |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a NAT Pool with Prefix Length
Deletes a NAT pool with a prefix length.
CLI Commands
The CLI commands and options listed below are the equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload or the YANG tab to view the XML payload.
no ip nat pool pool5 20.1.1.1 20.1.1.5 prefix-length 3
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natPool |
sys/nat/inst/pool-{poolname} |
natPoolAddress |
sys/nat/inst/pool-{poolname}/startip-{[startip]}-endip-{[endip]} |
natPool Properties
The following table contains information about the natPool properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
poolname | nat:NatPoolname (string:Basic) | Defines set of address | MAX SIZE: 63 |
natPoolAddress Properties
The following table contains information about the natPoolAddress properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
endip | address:Ip
| NAT end ip address for pool-range | Value must match ipv4 or ipv6 known format |
startip | address:Ip
| NAT start ip address for pool-range | Value must match ipv4 or ipv6 known format |
status | mo:ModificationStatus (scalar:Bitmask32) | The upgrade status. This property is for internal use only. | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring A Static Rule For Inside Local Address (TCP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat inside source static tcp 1.2.3.4 60634 1.2.3.4 60634 vrf SampleString_123 match-in-vrf group 746 dynamic no-alias add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
addRoute | nat:booltype (scalar:Bool) | Adds route for translations | SELECTION: true or false DEFAULT: 0 |
dynamic | nat:booltype (scalar:Bool) | Dynamic flag for Twice-Nat | SELECTION: true or false DEFAULT: 0 |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
groupId | nat:twicenatgroup (scalar:Uint32) | Group id for Twice-Nat | RANGE: [1 , 1024] |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
matchInVrf | nat:booltype (scalar:Bool) | Match in vrf, flag used in vrf-aware Nat | SELECTION: true or false DEFAULT: 0 |
noAlias | nat:booltype (scalar:Bool) | no-alias flag disables addition of alias | SELECTION: true or false DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting A Static Rule For Inside Local Address (TCP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat inside source static tcp 1.2.3.4 60634 1.2.3.4 60634 vrf SampleString_123 match-in-vrf group 746 dynamic no-alias add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-udp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 or ipv6 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 or ipv6 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring A Static Rule For Inside Local Address (UDP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat inside source static udp 1.2.3.4 60634 1.2.3.4 60634 vrf SampleString_123 match-in-vrf group 746 dynamic no-alias add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
addRoute | nat:booltype (scalar:Bool) | Adds route for translations | SELECTION: true or false DEFAULT: 0 |
dynamic | nat:booltype (scalar:Bool) | Dynamic flag for Twice-Nat | SELECTION: true or false DEFAULT: 0 |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 or ipv6 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
groupId | nat:twicenatgroup (scalar:Uint32) | Group id for Twice-Nat | RANGE: [1 , 1024] |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 or ipv6 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
matchInVrf | nat:booltype (scalar:Bool) | Match in vrf, flag used in vrf-aware Nat | SELECTION: true or false DEFAULT: 0 |
noAlias | nat:booltype (scalar:Bool) | no-alias flag disables addition of alias | SELECTION: true or false DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting A Static Rule For Inside Local Address (UDP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat inside source static udp 1.2.3.4 60634 1.2.3.4 60634 vrf SampleString_123 match-in-vrf group 746 dynamic no-alias add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static/protocol-udp-localip-[1.2.3.4]-localport-60634-globalip-[1.2.3.4]-globalport-60634 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 or ipv6 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 or ipv6 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring a Static Rule for Outside Global Address (TCP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat outside source static tcp 1.2.3.4 32741 1.2.3.4 32741 vrf SampleString_123 match-in-vrf group 212 dynamic no-alias add-route add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-32741-globalip-[1.2.3.4]-globalport-32741 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
addRoute | nat:booltype (scalar:Bool) | Adds route for translations | SELECTION: true or false DEFAULT: 0 |
dynamic | nat:booltype (scalar:Bool) | Dynamic flag for Twice-Nat | SELECTION: true or false DEFAULT: 0 |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 or ipv6 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
groupId | nat:twicenatgroup (scalar:Uint32) | Group id for Twice-Nat | RANGE: [1 , 1024] |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 or ipv6 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
matchInVrf | nat:booltype (scalar:Bool) | Match in vrf, flag used in vrf-aware Nat | SELECTION: true or false DEFAULT: 0 |
noAlias | nat:booltype (scalar:Bool) | no-alias flag disables addition of alias | SELECTION: true or false DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Static Rule for Outside Global Address (TCP)
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat outside source static tcp 1.2.3.4 32741 1.2.3.4 32741 vrf SampleString_123 match-in-vrf group 212 dynamic no-alias add-route add-route
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natDom | sys/nat/inst/dom-SampleString_123 |
natInst | sys/nat/inst |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-inside-source-static |
natIpNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static |
natStaticNat | sys/nat/inst/dom-SampleString_123/xlate-outside-source-static/protocol-tcp-localip-[1.2.3.4]-localport-32741-globalip-[1.2.3.4]-globalport-32741 |
natDom Properties
The following table contains information about the natDom properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
name | naming:Name256 string:Basic | The name of the object. | RANGE:
Min: "1"
Max: "128" |
natIpNat Properties
The following table contains information about the natIpNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
xlateType | nat:InterfaceType (scalar:Enum8) | Xlate type to define translation | SELECTION: 0 - inside-source-static 1 - outside-source-static 2 - inside-source-dynamic 3 - outside-source-dynamic |
natStaticNat Properties
The following table contains information about the natStaticNat properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
globalIp | address:Ip
| Global ip address of a network | Value must match ipv4 or ipv6 known format |
globalPort | nat:port (scalar:Uint32) | Port number for global ip | RANGE: [0 , 65535] DEFAULT: 0 |
localIp | address:Ip
| Local ip address of a network | Value must match ipv4 or ipv6 known format |
localPort | nat:port (scalar:Uint32) | Port number for localip | RANGE: [0 , 65535] DEFAULT: 0 |
protocol | nat:ProtocolType (scalar:Enum8) | Specifies tcp/udp/any protocol | SELECTION: 0 - any 1 - tcp 2 - udp DEFAULT: any |
status | mo:ModificationStatus (scalar:Bitmask32) | Modification status | SELECTION: 2 - created 4 - modified 8 - deleted 16 - replaced |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Translation Entries Creation Delay Due To Batching Before Program To TCAM
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation creation-delay 250
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natEntity |
sys/nat |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
creationDelay | nat:BatchTimeout (scalar:Enum32) | Creation delay timeout for NAT | SELECTION: 0 - 0 250 - 250 500 - 500 750 - 750 1000 - 1000 DEFAULT: 1000 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Translation Entries Creation Delay Due To Batching Before Program To TCAM
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation creation-delay 250
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natInst |
sys/nat/inst |
natEntity |
sys/nat |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
creationDelay | nat:BatchTimeout (scalar:Enum32) | Creation delay timeout for NAT | SELECTION: 0 - 0 250 - 250 500 - 500 750 - 750 1000 - 1000 DEFAULT: 1000 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Sampling Timeout for NAT
Note:
- This example is specifically for the Cisco Nexus 3000 platform.
- This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation sampling-timeout 1775
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
samplingTimeout | nat:SamplingTimeout (scalar:Uint32) | Sampling Timeout value | RANGE: [120 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Sampling Timeout for NAT
Note:
- This example is specifically for the Cisco Nexus 3000 platform.
- This example was added in Release 9.3(1)
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation sampling-timeout 1775
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
samplingTimeout | nat:SamplingTimeout (scalar:Uint32) | Sampling Timeout value | RANGE: [120 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Timeout for NAT ICMP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation icmp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
icmpTimeout | nat:NatTimeout (scalar:Uint32) | NAT icmp timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Timeout for NAT ICMP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation icmp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
icmpTimeout | nat:NatTimeout (scalar:Uint32) | NAT icmp timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Timeout for NAT TCP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation tcp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
tcpTimeout | nat:NatTimeout (scalar:Uint32) | NAT tcp timeout values | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Timeout for NAT TCP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation tcp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
tcpTimeout | nat:NatTimeout (scalar:Uint32) | NAT tcp timeout values | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Timeout for NAT UDP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation udp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
udpTimeout | nat:NatTimeout (scalar:Uint32) | NAT udp timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Timeout for NAT UDP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation udp-timeout 66551
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
udpTimeout | nat:NatTimeout (scalar:Uint32) | NAT udp timeout value | RANGE: [60 , 172800] DEFAULT: 3600 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Specifying FINRST Timeout for NAT TCP Flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation finrst-timeout 85545
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
finRstTimeout | nat:FinSynTimeout (scalar:Sint32) | FIN or RST wait timeout | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Specified FINRST Timeout for NAT TCP flows
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation finrst-timeout 85545
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
finRstTimeout | nat:FinSynTimeout (scalar:Sint32) | FIN or RST wait timeout | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Specifying FINRST Timeout as NEVER
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation finrst-timeout never
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
finRstTimeout | nat:FinSynTimeout (scalar:Sint32) | FIN or RST wait timeout | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting FINRST Timeout as NEVER
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation finrst-timeout never
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
finRstTimeout | nat:FinSynTimeout (scalar:Sint32) | FIN or RST wait timeout | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Specifying Syn-Timeout for NAT TCP FLOWS
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
ip nat translation syn-timeout 85545
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
synTimeout | nat:FinSynTimeout (scalar:Sint32) | SYN wait timeout value | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting Specified Syn-Timeout for NAT TCP FLOWS
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no ip nat translation syn-timeout 85545
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
natEntity |
sys/nat |
natInst |
sys/nat/inst |
natInst Properties
The following table contains information about the natInst properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
synTimeout | nat:FinSynTimeout (scalar:Sint32) | SYN wait timeout value | RANGE: [-1 , 172800] DEFAULT: 60 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html