show ip nat vlan counters

show ip nat vlan counters {vlan_name}

Description

Shows the number of packets translated and discarded in the Network Address Translation (NAT) VLAN egress and ingress directions.

Syntax Description

ip Shows Internet Protocol (IP) information.
nat Shows NAT information.
vlan Shows VLAN NAT information.
counters Shows NAT VLAN counter information
vlan_name Specifies which VLAN to show NAT information for.

Default

N/A.

Usage Guidelines

Source translations and discards constitute the packet counts in the egress direction. Destination translations and discards constitute the packet counts in the ingress direction.

To clear counters, run the command clear ip nat counters vlan {vlan_name}.

Example

The following example shows NAT VLAN counter information:

# show ip nat vlan counters
                                        Source        Source   Destination   Destination
VLAN Name                         Translations      Discards  Translations      Discards
================================  ============  ============  ============  ============
out                                     203284             0             0             0
in                                           0             0             0             0

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