Enables Network Address Translation (NAT) rules.
ip | Specifies Internet Protocol (IP). |
nat | Specifies NAT. |
rule | Specifies enabling a NAT rule. |
rule_name | Specifies the NAT rule to enable. |
N/A.
A rule is programmed in hardware only after global NAT and the specific rule are enabled.
Enabling a rule is allowed only after all of the necessary configurations for the rule are complete. After a rule is enabled, configuration changes (IP address, egress VLAN, etc.) are not allowed for the rule. You must disable a rule to make configuration changes to it.
The following example the enables the IP NAT rule "rule1":
# enable ip nat rule rule1
This command was first available in ExtremeXOS 31.2.
This command is available on the switches that support the IP NAT feature. For information about which switches support this and other features, see the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.