7-5
GigabitEthernet2/0/1 enable
GigabitEthernet2/0/2 enable
GigabitEthernet2/0/3 enable
GigabitEthernet2/0/4 enable
Table 7-2 display mac-address mac-learning command output description
Field Description
Mac-address learning status of the switch
Global MAC address learning status, enabled or
disabled
PortName Port name
Learning Status
MAC address learning status for a port, enabled or
disabled
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 CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the 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, which is a case sensitive string of 1 to 256
characters.
Description
Use the display mac-address statistics command 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 0 0 0 0
Static Unicast 0 1 1 2 1024
Total Unicast 2 16384
Dynamic Multicast 0 0 0 0
Static Multicast 0 0 0 0 1024