LocalLB::NATV2

Introduced : BIG-IP_v11.0.0
The NAT interface enables you to work with the statistics and definitions contained in a local load balancer&aposs network address translations (NAT). For example, use the NAT interface to both get and set the NAT statistics and attributes of a local load balancer. Note: The NAT interface has been changed with respect to the prior version; it now uses a name everywhere for the NAT key, hence the changed name, NATV2.

Methods

Method Description Introduced
create Creates the specified NATs. BIG-IP_v11.0.0
delete_all_nats Deletes all NATs. BIG-IP_v11.0.0
delete_nat Deletes the specified NATs. BIG-IP_v11.0.0
get_all_statistics Gets statistics for all NATs. BIG-IP_v11.0.0
get_arp_state Gets the ARP states for the specified NATs. BIG-IP_v11.0.0
get_auto_lasthop Gets the attribute that specifies auto-lasthop behavior, for the specified NATs. BIG-IP_v11.4.0
get_description Gets the descriptions for a set of NATs. BIG-IP_v11.0.0
get_enabled_state Gets the states of the specified NATs. BIG-IP_v11.0.0
get_list Gets a list of all NATs. BIG-IP_v11.0.0
get_origin_address Gets origin addresses for the specified NATs. BIG-IP_v11.0.0
get_statistics Gets statistics for the specified NATs. BIG-IP_v11.0.0
get_traffic_group Gets the traffic group to which the specified NATs apply in an active-active, redundant load balancer configuration. Note that if the keyword “default” was used to set the traffic group, the value returned here will be the actual name of the traffic group that was inherited. BIG-IP_v11.0.0
get_translation_address Gets translation addresses for the specified NATs. Note: A set_translation_address method is not supported. BIG-IP_v11.0.0
get_version Gets the version information for this interface. BIG-IP_v11.0.0
get_vlan Gets the lists of VLANs on which access to the specified NATs is enabled or disabled. BIG-IP_v11.0.0
is_traffic_group_inherited Gets a flag indicating whether the traffic group was inherited from the containing folder. BIG-IP_v11.2.0
reset_statistics Resets statistics for the specified NATs. BIG-IP_v11.0.0
set_arp_state Sets the ARP states for the specified NATs. BIG-IP_v11.0.0
set_auto_lasthop Sets the attribute that specifies auto-lasthop behavior, for the specified NATs. This controls how the system routes return traffic. The default is AUTO_LASTHOP_DEFAULT. BIG-IP_v11.4.0
set_description Sets the description for a set of NATs. This is an arbitrary field which can be used for any purpose. BIG-IP_v11.0.0
set_enabled_state Sets the states of the specified NATs. BIG-IP_v11.0.0
set_origin_address Sets origin addresses for the specified NATs. BIG-IP_v11.0.0
set_traffic_group Sets the traffic groups for the specified NATs. BIG-IP_v11.0.0
set_vlan Adds VLANs to the list of VLANs on which access to the specified NATs is enabled or disabled. BIG-IP_v11.0.0

Structures

Structure

Description

NATStatisticEntry

A struct that describes a NAT statistic entry for a particular NAT address.

NATStatistics

A struct that describes NAT statistics and timestamp.


Enumerations

Enumeration Description

Exceptions

Exception Description

Constants

Constant Type Value Description

Aliases

Alias Type Description
NATStatisticEntrySequence NATStatisticEntry [] A sequence of NAT statistics.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.