Checking the MAC addresses on a switch

Latest reply: Jul 19, 2017 17:45:41 9057 1 0 0

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

 

1. Check the system MAC address.


1. On a fixed switch:


<S5700>display bridge mac-add
System bridge MAC address:
xxxx-xxxx-xxxx


2. On a modular switch:


<S9303>display system-mac
MAC-num      :1
Index         MAC Addr
----------------------------
default       xxxx-xxxx-xxxx

current       xxxx-xxxx-xxxx


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
Description:
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 10:50+08:00
Port Mode: COMMON COPPER
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 10:50
Output peak rate 13880 bits/sec, Record time: 2015-03-02 10: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.


1. Check all MAC address entries on a switch.


<S5700>display mac-address 


2. Check the MAC address entries on an interface.


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


3. Check all 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.


  • x
  • convention:

Admin Created Jul 19, 2017 17:45:41 Helpful(0) Helpful(0)

thanks
  • x
  • convention:

Come on!

Reply

Reply
You need to log in to reply 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top