Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MAC address tables in Cisco switches

Posted on 2013-01-10
6
Medium Priority
?
695 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 1400 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 600 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
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
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 1400 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this article, the configuration steps in Zabbix to monitor devices via SNMP will be discussed with some real examples on Cisco Router/Switch, Catalyst Switch, NAS Synology device.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

885 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