LocalLB::NAT

Introduced : BIG-IP_v9.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: This entire interface has been deprecated in favor of NATV2, which uses a name of the NAT for the key everywhere instead of translation/origin address.

Methods

Method Description Introduced
create Creates the specified NATs. BIG-IP_v9.0
delete_all_nats Deletes all NATs. BIG-IP_v9.0
delete_nat Deletes the specified NATs. BIG-IP_v9.0
get_all_statistics Gets statistics for all NATs. BIG-IP_v9.0
get_arp_state Gets the ARP states for the specified NATs. BIG-IP_v9.0
get_enabled_state Gets the states of the specified NAT addresses. BIG-IP_v9.0
get_list Gets a sequence of all NAT definitions. BIG-IP_v9.0
get_statistics Gets statistics for a sequence of NATs. BIG-IP_v9.0
get_unit_id Gets the controller to which the specified NATs apply in an active-active, redundant load balancer configuration. BIG-IP_v9.0
get_version Gets the version information for this interface. BIG-IP_v9.0
get_vlan Gets the lists of VLANs on which access to the specified NATs is disabled. BIG-IP_v9.0
reset_statistics Resets statistics for a NAT. BIG-IP_v9.0
set_arp_state Sets the ARP states for the specified NATs. BIG-IP_v9.0
set_enabled_state Sets the state for a list of NAT addresses. BIG-IP_v9.0
set_unit_id Sets the Unit IDs for the specified NATs. BIG-IP_v9.0
set_vlan Adds VLANSs to the list of VLANs on which access to the specified NATs is disabled. BIG-IP_v9.0

Structures

Structure

Description

NATDefinition

A struct that describes a NAT definition for translation and original IP addresses.

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
NATDefinitionSequence NATDefinition [] A sequence of NAT definitions.
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.