Solved

MAC address tables in Cisco switches

Posted on 2013-01-10
6
669 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
USB management software on a network of computers 4 46
Hostname printer change 8 68
Layer 3 switch recommendation 15 51
Ping general failure windows 7 5 72
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

735 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