enable ip nat rule

enable ip nat rule rule_name

Description

Enables Network Address Translation (NAT) rules.

Syntax Description

ip Specifies Internet Protocol (IP).
nat Specifies NAT.
rule Specifies enabling a NAT rule.
rule_name Specifies the NAT rule to enable.

Default

N/A.

Usage Guidelines

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.

Example

The following example the enables the IP NAT rule "rule1":

# enable ip nat rule rule1

History

This command was first available in ExtremeXOS 31.2.

Platform Availability

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 32.1 Feature License Requirements document.