Display Mac-Address Mac-Learning - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256
characters.
Description
Use the display mac-address aging-time command to display the aging time of dynamic entries in
the MAC address table.
Related commands: mac-address (system view), mac-address (Ethernet interface view),
mac-address timer, and display mac-address.
Examples
# Display the aging time of dynamic entries in the MAC address table.
<Sysname> display mac-address aging-time
Mac address aging time: 300s
The above information indicates that the aging time of dynamic entries in the MAC address table is 300
seconds.

display mac-address mac-learning

Syntax
display mac-address mac-learning [ interface-type interface-number ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. Displays MAC address
learning status of the specified interface.
|: 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 mac-learning command to display MAC address learning status of the
specified or all Layer 2 Ethernet ports.
Examples
# Display MAC address learning status of all Ethernet ports.
<Sysname> display mac-address mac-learning
Mac address learning status of the switch: enable
PortName
Learning Status
7-4

Advertisement

Table of Contents
loading

Table of Contents