Solved

MAC address tables in Cisco switches

Posted on 2013-01-10
6
668 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
Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trouble enabling network for Hyper-V client 10 44
Import AD groups from one domain to another 9 33
Cisco 3650 switch 7 45
Changing VLAN information 3 15
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

831 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