Mac Address Table Configuration Commands; Display Mac-Address - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

MAC address table configuration commands

The MAC address table can contain only Layer 2 Ethernet ports and Layer 2 aggregate interfaces.
This document covers only the configuration of unicast MAC address table entries, including static,
dynamic, and blackhole MAC address table entries.

display mac-address

Description
Use the display mac-address command to display information about the MAC address table.
If you execute this command without specifying any parameters, it displays information of all MAC
address entries on the device, including unicast MAC address entries and static multicast MAC address
entries.
If you execute this command using only the vlan parameter or the count parameter, or only these two
parameters, it displays information of unicast MAC address entries and static multicast MAC address
entries.
Related commands: mac-address (system view), mac-address (interface view), and mac-address timer.
Syntax
display mac-address [ mac-address [ vlan vlan-id ] | [ [ dynamic | static ] [ interface interface-type
interface-number ] | blackhole ] [ vlan vlan-id ] [ count ] ] [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
1: Monitor level
Parameters
blackhole: Displays blackhole MAC address entries.
vlan vlan-id: Displays MAC address entries of the specified VLAN, where vlan-id is in the range of 1 to
4094.
count: Displays the number of MAC address entries specified by related parameters in the command.
When this parameter is used, the command displays only the number of specified MAC address entries,
rather than related information about these MAC address entries.
mac-address: Displays MAC address entries of a specified MAC address, in the format of H-H-H.
dynamic: Displays dynamic MAC address entries, which can be aged.
static: Displays static MAC address entries, which do not age.
interface interface-type interface-number: Displays the MAC address learning status of the specified
interface. interface-type interface-number specifies an interface by its type and number.
49

Advertisement

Table of Contents
loading

Table of Contents