Article Overview

Use the display mac-address and display bridge mac-address commands to view MAC addresses on Huawei core switches.

Key Commands

  1. Display the MAC address table Use the command display mac-address to view all learned MAC addresses on the switch, including the associated VLAN, outbound interface, and entry type. You can filter by specific MAC address, VLAN, or interface:

    display mac-address [mac-address] [vlan vlan-id | vsi vsi-name] display mac-address [vlan vlan-id | interface-type interface-number] This command helps identify which devices are connected to which ports and VLANs on the switch .

  2. Display the system or bridge MAC address The command display bridge mac-address shows the switch's system MAC address, which is also used for management interfaces, Layer 2 physical interfaces, and Layer 2 Eth-Trunk interfaces .
  3. Display interface-specific MAC addresses To view MAC addresses assigned to specific interfaces, including Layer 3 interfaces or sub-interfaces, use:

    display interface This provides the MAC address for each interface, which may differ from the system MAC address for Layer 3 or sub-interfaces .

  4. Additional useful commands
    • display arp – shows IP-to-MAC mappings for devices that have communicated with the switch .
    • display interface brief – shows interface status, speed, and duplex, useful for correlating MAC addresses to active ports .
    • display lldp neighbor – lists connected devices and their MAC addresses via LLDP, helpful for network topology mapping .

Understanding MAC Address Types

  • System MAC address: The main device MAC, used by management and Layer 2 interfaces.
  • Interface MAC addresses: Unique to VLANIF, Layer 3 interfaces, sub-interfaces, and Eth-Trunks.
  • Physical MAC addresses: Globally unique hardware addresses for terminals.
  • Broadcast and multicast MAC addresses: Used for sending packets to all devices or groups of devices on a LAN .

Practical Tips

  • Use the verbose option to get detailed information about each MAC entry.
  • Filter by VLAN or interface to quickly locate specific devices.
  • Combine display mac-address with display arp to map IP addresses to MAC addresses for troubleshooting.
  • Regularly check the MAC address table to monitor network activity and detect unauthorized devices. By using these commands and understanding the MAC address types, you can efficiently manage and monitor Huawei core switches, ensuring proper network operation and security .

MAC Address Table Configuration Commands

The display mac-address command displays all MAC address entries, such as dynamic MAC address entries, static MAC address

Mastering Huawei Switch Management: 9 Essential Query Commands

The display mac-address command shows the MAC address table of the switch, which maps MAC addresses to specific ports. This

9 Essential Huawei Switch Commands Every Network Pro Should

This fundamental command lists the MAC addresses dynamically learned by the switch or statically configured and associates them

display mac-address

Using the display mac-address command, you can view information about a MAC address table. The displayed

How Do I Know the System MAC Address of a Switch?

Can the System MAC Address of a Switch Be Changed? How Do I Check the Reason Why a Card Was Reset? How Can I Perform

MAC Address Table Configuration

MAC Address Table Configuration This chapter describes how to configure the Medium Access Control (MAC) address table. Each

Understanding MAC Addresses

Multicast MAC address: indicates a group of terminals on a LAN. All the MAC addresses with the eighth bit as 1 are multicast MAC

Display IP addresses of clients connected to S series switch

When an S series switch, except S1700, works at Layer 2, only the MAC address of the interface is displayed, but IP

forum.huawei.com

We''re sorry but web site doesn''t work properly without JavaScript enabled. Please enable it to continue.

HUAWEI S Series Switch-Query MAC Address Entries and ARP Entries

HUAWEI S Series Switch-Query MAC Address Entries and ARP Entries video

9 Query Commands for Huawei Switches

Purpose: Used to quickly view the IP address configuration and status of all interfaces of the switch to facilitate

Essential Display Commands for Daily Maintenance of Huawei Switches

Quickly view IP address allocation status, management status, and protocol status for all interfaces, facilitating rapid identification of

Huawei

We''re sorry but web site doesn''t work properly without JavaScript enabled. Please enable it to continue.

Huawei Technical Support

Huawei Technical Support

How Do I Check the System MAC Address of a Device?

To check the system MAC address a device, run the display system mac-address command and check the value of

MAC Address Table Configuration Commands

When the switch has many MAC address entries of different types, you can use the display mac-address total-number command to

huawei switch cheat sheet · GitHub

Check the MAC address table: Use the command "display mac-address" to view the MAC address table of the

display mac-address

This page provides instructions for displaying MAC address information on Huawei devices, including commands, syntax,

Huawei Enterprise Support Community

We''re sorry but web site doesn''t work properly without JavaScript enabled. Please enable it to continue.

How to View MAC Address on Huawei S5700|S6700|S12700|S2700

In this video, I demonstrate how to view MAC addresses on Huawei S5700, S6700, S12700, S2700, and S3700

huawei switch cheat sheet · GitHub

It can also be used to gather information about the switches, such as their IP addresses, MAC addresses, and

01-02 MAC ADDRESS TABLE CONFIGURATION

When the switch receives a packet, it searches the MAC address table for the MAC address of the destination. If the switch finds the

Displaying System MAC Address

Displaying System MAC Address You can run the display commands to view the system MAC address.

How Do I Check the MAC Address of a Device?

How Many MAC Address Flaps Will Trigger an Alarm? Will a Device Detect MAC Address Flapping in the Remaining Aging Time

CX320 Switch Module V100R001 Command Reference 14

If mac-address all is specified, all VLANs associated with MAC addresses are displayed. If vlan vlan-id is specified, configuration of

What are the common check commands for Huawei switches?

To view MAC address table information, you can use the command display mac-address. To view routing table

Querying Dynamic MAC Addresses on S Series Switches Through MIB

Querying Dynamic MAC Addresses on S Series Switches Through MIB This document describes how to obtain the MAC address

MAC query by IP address on Huawei S5700 switch

For boxed devices, such as S2700/5700/S6700, you can view the mac address of the Layer 2 interface, which is the MAC of the

display mac-address

The display mac-address command displays the MAC address table of the switch modules. A MAC address entry contains the

Related Resources

Ready to Deploy Your Modular Data Center?

Request a free quote for micro‑module pods, containerized edge shelters, cold/hot aisle containment, 19″ racks, intelligent PDUs, environment monitoring, or complete modular systems. EU‑owned Polish facility – reliable, scalable, and cost‑effective infrastructure for your IT equipment.