display mac-address statistics

Syntax

display mac-address statistics [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display mac-address statistics to display the statistics of the MAC address table.

Examples

# Display the statistics of the MAC address table.

<Sysname> display mac-address statistics
MAC TYPE            LEARNED    USER-DEFINED  SYSTEM-DEFINED IN-USE    AVAILABLE
Dynamic   Unicast   26         0             0              26
Static    Unicast   0          0             0              0         1024
Total     Unicast                                           26        8192

Dynamic Multicast   0          0             0              0
Static  Multicast   0          0             0              0         512
Total   Multicast                                           0         512

Table 13: Command output

Field

Description

MAC TYPE

MAC address type:

  • Dynamic Unicast

  • Static Unicast

  • Total Unicast

  • Dynamic Multicast

  • Static Multicast

  • Total Multicast

LEARNED

Dynamically learned MAC addresses

USER-DEFINED

User defined MAC addresses (dynamic and static)

SYSTEM-DEFINED

MAC addresses generated by the system (for example, 802.1x and MAC authentication)

IN-USE

Number of existing MAC addresses of a specific type

AVAILABLE

Maximum number of MAC addresses supported by the system