Display Mac-Address Mac-Learning - HP 3100 v2 Series Command Reference Manual

Hide thumbs Also See for 3100 v2 Series:
Table of Contents

Advertisement

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 aging-time to display the aging time of dynamic entries in the MAC
address table.
Related commands: mac-address (system view), mac-address (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 output shows 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.
|: 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 mac-learning to display the 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
Ethernet1/0/1
Ethernet1/0/2
Learning Status
enable
enable
52

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents