Mac Address Table Commands; Display Mac-Address - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

MAC address table commands

This document covers the configuration of unicast MAC address entries, including static, dynamic,
blackhole, and multiport unicast MAC address entries.

display mac-address

Use
display mac
Syntax
display mac-address [ mac
[ interface interface-type interface-number ] | blackhole | multiport ]
[ vlan vlan-id ] [ count ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
-
mac
address
you can omit the leading zeros in each H section. For example, enter f-e2-1 for 000f-00e2-0001.
vlan vlan
: Displays dynamic MAC address entries.
dynamic
: Displays static MAC address entries.
static
interface interface
number.
blackhole
multiport
: Displays only the number of MAC address entries that match all entry attributes you specify
count
in the command. Detailed information about MAC address entries is not displayed. For example, you
can use the
of dynamic entries for VLAN 20. If you do not specify an entry attribute, the command displays the
number of entries in the MAC address table. If you do not specify this keyword, the command
displays detailed information about the specified MAC address entries.
Usage guidelines
A MAC address entry includes a destination MAC address, an outgoing interface, and a VLAN ID.
If you do not specify any parameters, the command displays all MAC address entries.
This command displays dynamic MAC address entries for an aggregate interface only when the
aggregate interface has a minimum of one Selected member port.
Multiport unicast MAC address entries have no impact on the MAC address learning. When
receiving a frame whose source MAC address matches a multiport unicast entry, the device can still
learn the MAC address of the frame and generate a dynamic entry. However, the generated dynamic
entry has lower priority. The device prefers to use the multiport unicast entry to forward frames
destined for the MAC address in the entry.
-
to display MAC address entries.
address
: Specifies a MAC address in the format of H-H-H. When entering a MAC address,
-
: Specifies a VLAN by its ID in the range of 1 to 4094.
id
-
type interface
: Displays blackhole MAC address entries.
: Displays multiport unicast MAC address entries.
display mac-address vlan 20 dynamic count
-
address [ vlan vlan-id ] | [ [ dynamic | static ]
-
number
1
: Specifies an interface by its type and
command to display the number

Advertisement

Table of Contents
loading

Table of Contents