Solved

MAC address tables in Cisco switches

Posted on 2013-01-10
6
659 Views
Last Modified: 2013-01-16
A VMware server is attached to a Cisco switch. The VM has serveral VM guests and they have assigned the virtual MAC address by the server.

Under the MAC address table, will those virtual MAC addresses be displayed on that port.

Can a physical port be associated with different MAC addrese, or there is on one-to-one mapping ?

Thanks
0
Comment
Question by:AXISHK
6 Comments
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 350 total points
ID: 38765731
If you do a show mac-address-table (or show mac address-table on some switches) it will show which physical port that last ARP response it saw the port come in on.

A port can have many mac addresses associated with it.  Think about it, if you have two switches connected to each other.  Switch 1 will show all MAC addresses for devices on switch 2 on the port that switch 2 is connected to.
0
 

Author Comment

by:AXISHK
ID: 38765774
If Switch 1 connect to Switch 2 and on Switch 1, it will shows all MAC addresses learned on Switch 2, not the MAC address port on Switch 2. Correct ?

Is there any screen dump to show how it actually look on a Cisco switch ?

Tks
0
 
LVL 18

Assisted Solution

by:Akinsd
Akinsd earned 150 total points
ID: 38766075
http://www.cisco.com/en/US/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli/MACAddress.html

This example shows how to display the MAC address table:

 switch# show mac-address-table


 VLAN      MAC Address       Type    Age       Port


 ---------+-----------------+-------+---------+------------------------------


 1         0018.b967.3cd0    dynamic 10        Eth1/3


 1         001c.b05a.5380    dynamic 200       Eth1/3


 Total MAC Addresses: 2


 

This example shows how to display the current aging time:

 switch# show mac-address-table aging-time


 Vlan  Aging Time


 ----- ----------


 1     300


 13    300


 42    300
0
Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

 
LVL 9

Expert Comment

by:Sandeep Gupta
ID: 38766313
yes you can do one to one mapping of physical port and mac address
0
 

Author Comment

by:AXISHK
ID: 38766571
To clarify my understanding, if Switch 1 connect to Switch 2 and on Switch 1, it will shows all MAC addresses learned on Switch 2 together with the physical port of switch 1.

Corrrect ?
0
 
LVL 57

Accepted Solution

by:
giltjr earned 350 total points
ID: 38766824
Yes.  Think about what the mac address table is.  This is the table the switch uses to determine which port a frame should be forwarded through to get to that mac.  Say you have:

                  PC1
                    /\
                    |
                   \/
SW1 <----> SW2
                   /\
                    |
                   \/
                  PC2


Now:

      SW2 is connected to port 9 on SW1
      PC1 is connected to port 20 on SW2
      PC2 is connected to port 21 on SW2

If SW1 needs to send a frame to PC1 or PC2 it needs to put it on port 9, so PC1 and PC2's MAC addresses will both show as being associated with port 9 on SW1.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now