show iparp stats

show iparp stats [[vr_name | vr {all | vr_name} ] { no-refresh |refresh} {vr} summary]
show iparp stats [vlan {all {vr vr_name}} | [ {vlan} vlan_name | vlan vlan_list] {no-refresh |refresh}
show iparp stats ports {all | port_list} { no-refresh |refresh}

Description

Displays the IP ARP statistics for one or more VRs, VLANs, or ports.

Syntax Description

vr_name Specifies a VR or VRF for which to display statistics.
vlan_name Specifies a VLAN for which to display statistics.
vlan_list Specifies a VLAN list of IDs to display statistics.
refresh Continuous refresh of output.
port_list Specifies a list of ports for which to display statistics.

Default

Shows all VLAN ARP statistics in a dynamic display.

Usage Guidelines

VLAN statistics and totals are displayed for a single VR. When you display IPARP statistics for one or all VLANS, the display includes the specified VLANS for the specified VR. If you do not specify a VR for a VLAN report, the display includes the specified VLANS for the current VR context.

Counters displayed under Pending, Failed, ARP Unneeded are per VR and show iparp stats includes VR-Management as well which typically skews the ARP statistics considerably. The Total entries counter reflects the total number of entries that are currently allocated and not freed. Hence they also include Failed entries as well as ARP unneeded entries. Dynamic Entries counter indicates the reachable entries.

Periodically as part of cleanup, failed entries will go down and hence the total entries goes down. In certain scenarios they may help detect a problem (e.g., memory leak or an attack). Since the counters together accurately convey the state of the system, we choose to display these entries. The show iparp stats command shows totals across all VRs* including VR-Mgmt.

Example

The following example displays ARP table statistics for all VRs and VRFs:

Switch.1 # show iparp stats vr all
IP ARP VR Statistics                                  Wed Apr 07 15:30:49 2010
ARP Total    Dynamic     Static    Pending   Unneeded     Failed  (Rejected)
==============================================================================
VR-Default
96           89          5          0          0          2          0
VR-Mgmt
4            2           2          0          0          0          0
VR-SV_PPPOE
287          286         1          0          0          0          2785
VR-NV_PPPOE
19           19          0          0          0          0          0
chicago2
50           44          5          0          1          0          0
Total for all VRs
456          440         13         0          1          2          2785
==============================================================================
U->page up  D->page down  ESC->exit

The following example displays ARP table statistics for all VLANs in the current VR context:

Switch.2 # show iparp stats vlan all
IP ARP VLAN Statistics                                 Wed Apr 07 15:30:49 2010
VLAN                            ARP Total            Dynamic             Static
===============================================================================
VLAN_06-AAR                            94                 89                  5
VLAN_07-AAR                           122                121                  1
VLAN_02-BOT                            43                 42                  1
===============================================================================
Totals for VR U3c-South.                         Total Entries  :           455
Dynamic :         440     Static   :          13    Pending  :             0
Failed  :           2     Unneeded :           0   (Rejected):          5639
Last Rejected ARP :
IP: 10.66.118.243      Port: 1:23     Vlan: VLAN_02-BOT
===============================================================================
U->page up  D->page down  ESC->exit

The following example displays ARP table statistics for ports 1:1 to 1:17:

Switch.3 # show iparp stats ports 1:1-1:17
IP ARP Port Statistics                                 Wed Apr 07 15:30:49 2010
Port             Link State         ARP Total          Dynamic           Static
===============================================================================
1:1                   A                    94               89                5
1:2                   A                    37               37                0
1:3                   A                   122              121                1
1:4                   R                     0                0                0
1:5                   R                     0                0                0
1:6                   A                    43               43                0
1:7                   A                   118              118                0
1:8                   R                     0                0                0
1:9                   R                     0                0                0
1:10                  A                     8                8                0
1:11                  A                     8                6                2
1:12                  A                    41               41                0
1:13                  A                    17               17                0
1:14                  R                     0                0                0
1:15                  R                     0                0                0
1:16                  A                     8                8                0
1:17                  A                     8                6                2
===============================================================================
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
U->page up  D->page down  ESC->exit

History

This command was first available in ExtremeXOS 12.4.2.

The no-refresh keyword was removed in ExtremeXOS 16.1.

The vlan_list variable was added in ExtremeXOS 16.1.

The refresh keyword was added in ExtremeXOS 16.1.

Platform Availability

This command is available on all platforms.