show fdb stats

show fdb stats {{ports {all | port_list} | vlan {all} | [ {vlan} vlan_name | vlan vlan_list] {no-refresh |refresh}}

Description

Displays FDB entry statistics for the specified ports or VLANs in either a dynamic or a static report.

Syntax Description

all Requests statistics for all ports or all VLANs.
port_list Specifies which ports are to be included in the statistics display.
vlan_name Specifies a single This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches. to be included in the statistics display.
vlan_list Specifies a VLAN list of IDs to be included in the statistics display.
refresh Specifies a continuous refresh of output.

Default

Summary FDB statistics for the switch.

Usage Guidelines

The dynamic display remains visible and continues to update until you press [Esc].

The show fdb stats command output displays the following information:

Port When you chose to display statistics for ports, this column displays port numbers.
Link State When you chose to display statistics for ports, this column displays the link states, which are described at the bottom of the display.
VLAN When you chose to display statistics for VLANs, this column displays VLAN names.
MAC Addresses This column displays the total number of MAC addresses for each port or VLAN.
Dynamic This column displays the total number of MAC addresses that were learned dynamically for each port or VLAN.
Static This column displays the total number of MAC addresses that are configured on this switch for each port or VLAN.
Dropped This column displays the total number of dynamic MAC addresses that were discovered, but not stored in the FDB. Discovered MAC addresses might be dropped because a configured learning limit is reached, the FDB is in lockdown, or a port forwarding state is in transition. Some conditions that lead to dropped MAC addresses can produce log messages or SNMP traps.

Example

The following command example displays summary FDB statistics for the switch:

torino1.1 # show fdb stats
Total: 4 Static: 3 Perm: 3 Dyn: 1 Dropped: 0
FDB Aging time: 300
FDB VPLS Aging time: 300
torino1.2 #

The following command example displays FDB statistics for ports 1 to 16 on slot 1:

# show fdb stats ports 1:1-1:16
FDB Stats                                     Mon Mar 15 15:30:49 2010
Port        Link   MAC
State   Addresses      Dynamic       Static      Dropped
=======================================================================
1:1           A         2394         2389            5            2
1:2           A           37           37            0            0
1:3           A          122          121            1          452
1:4           R            0            0            0            0
1:5           R            0            0            0            0
1:6           A           43           43            0            0
1:7           A          118          118            0            0
1:8           R            0            0            0            0
1:9           R            0            0            0            0
1:10          A            8            8            0            0
1:11          A         2998         2990            8            1
1:12          A          486          486            0            0
1:13          R            0            0            0            0
1:14          A           42           42            0            0
1:15          A          795          795            0            0
1:16          A           23           23            0            2
=======================================================================
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
U->page up  D->page down ESC->exit

The following command example displays FDB statistics for all VLANs:

# show fdb stats vlan all
FDB Stats                                           Mon Mar 15 15:30:49 2010
VLAN                       MAC Addresses     Dynamic     Static     Dropped
=============================================================================
SV_PPPOE                            2394        2389           5          2
NV_PPPOE                             122         121          1         452
=============================================================================
U->page up  D->page down  ESC->exit

History

The dynamic display for 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 ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.