Got it

Checking the MAC addresses on a switch

Latest reply: Jul 19, 2017 09:45:41 19296 1 1 0 0

Hi there, Community!

This post is regarding the procedure of checking the MAC addresses on a switch. Please see the process below.

MAC address


1. Check the system MAC address.

a) On a fixed switch:

<S5700>display bridge mac-add

System bridge MAC address: xxxx-xxxx-xxxx

b) On a modular switch:

<S9303>display system-mac

MAC-num      :1

Index         MAC Addr


default       xxxx-xxxx-xxxx

current       xxxx-xxxx-xxxx

Huawei Switches

2. Check the MAC address of an interface.

<S5700>display interface GigabitEthernet0/0/10
GigabitEthernet0/0/10 current state : UP
Line protocol current state : UP
Switch Port, Link-type : trunk(configured),
PVID :    1, TPID : 8100(Hex), The Maximum Frame Length is 1600
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is xxxx-xxxx-xxxx
Current system time: 2015-03-02 02:50+08:00
Speed : 1000,   Loopback: INTERNAL
Duplex: FULL,   Negotiation: DISABLE
Mdi   : AUTO,   Flow-control: DISABLE
Last 300 seconds input rate 480 bits/sec, 0 packets/sec
Last 300 seconds output rate 480 bits/sec, 0 packets/sec
Input peak rate 13880 bits/sec, Record time: 2015-03-02 02:50
Output peak rate 13880 bits/sec, Record time: 2015-03-02 02:50
Input:  510225 packets, 80014227 bytes
  Unicast:                          0,  Multicast:                      510225
  Broadcast:                        0,  Jumbo:                               0
  Discard:                          0,  Pause:                               0
  Frames:                           0

  Total Error:                      0
  CRC:                              0,  Giants:                              0
  Jabbers:                          0,  Fragments:                           0
  Runts:                            0,  DropEvents:                          0
  ---- More ----

3. Check the MAC address entries learned by a switch.

a) Check all MAC address entries on the switch.

<S5700>display mac-address 

b) Check the MAC address entries on an interface.

<S5700>display mac-address GigabitEthernet 0/0/X

c) Check all the dynamic MAC address entries in the system.

<S5700>display mac-address dynamic

You can change the dynamic parameter in the command to blackhole, static, security, sticky, and summary to check blackhole MAC address entries, static MAC address entries, secure dynamic MAC address entries, sticky MAC address entries, and statistics on MAC address entries, respectively.

The commands and command outputs are not provided here.

For more information about MAC address-related commands, download the product documentation and see Reference - Command Reference - Ethernet Switching Configuration Commands - MAC Address Table Configuration Commands.

This is thus the procedure of checking the MAC addresses on a switch.

  • x
  • convention:

Created Jul 19, 2017 09:45:41

View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.