Adds VLANs to the Network Address Translation (NAT).
ip | Specifies Internet Protocol (IP). |
nat | Specifies enabling NAT. |
add | Specifies adding a VLAN. |
vlan | Specifies adding a VLAN. |
vlan_name | Specifies the VLAN to add. |
direction | Configures directions for NAT translation on this VLAN. |
ingress | Configures VLAN as an ingress VLAN for NAT. Dynamic port translation rules are created for flows ingressing on this VLAN. |
egress | Configures VLAN as an egress VLAN for NAT. Dynamic port translation rules are not created for flows ingressing on this VLAN. |
both | Configures VLAN for NAT in both directions. Dynamic port translation rules are created for flows ingressing on this VLAN. |
N/A.
For NAT Port Translation (NAPT), dynamic NAPT rules are created for traffic coming on VLANs whose direction is configured as “ingress” or “both”.
To delete a VLAN, run the command configure ip nat delete {vlan} vlan_name.
The following example adds the VLAN "vlan1" to NAT as an ingress VLAN:
# configure ip nat add vlan vlan1 direction ingress
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 32.6.1 Feature License Requirements document.