configure ip nat rule destination

configure ip nat rule rule_name destination [[dst_ip_addr new-destination new_dst_ip_addr {{vr} vr_name}] | none]


Configures the IP address that is to be translated and the IP address to which this is to be translated for destination Network Address Port (NAT) rules.

Syntax Description

ip Specifies Internet Protocol (IP).
nat Specifies NAT.
rule Specifies NAT rule.
rule_name Specifies the NAT rule name.
destination Specifies modifying the destination IP address.
dst_ip_addr Specifies the destination IP address that needs to be translated.
new-destination Specifies a destination IP address after translation.
new_dst_ip_addr Specifies the destination IP address after translation.
vr Specifies a virtual router (VR) on which the packet is sent out after translation.
vr_name Specifies an existing VR/VRF name on which the packet is sent out on after translation. If not specified, the VR context from where this command is executed is used.
none Deletes the IP address configuration.


If no VR is specified, the current VR context is used.

Usage Guidelines

This command configures the destination NAT rule address information. To configure the source information, run the command configure ip nat rule rule_name source [[[src_ip_addr src_mask | src_ipNetmask ] {{source-vr} src_vr_name} new-source new_src_ip_addr] | none].


The following example configures the rule named "ipOnlyRule" to translate the destination the IP address from to The egress VLAN is present in the VR "VR-user-out":

# configure ip nat rule ipOnlyRule destination new-destination vr VR-user-out


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 Switch Engine 32.2 Feature License Requirements document.