VMware Cloud Community
jerry2096
Contributor
Contributor
Jump to solution

identify VMNIC MAC addresses from the Physical Switch (cisco) side

I have several vmnics connected to 2 network switches for load balance of guest machines.

On ESX server if I run "ifconfig -a" and can see MAC addresses of each vmnic, but these are not the MAC addresses shown at the cisco switch side.

How do I know which vmnic is connected with which physical switch port?

Another question is about CDP (cisco discovery protocol) support, I can see that ESX server has status of "listen", do I need to enable "advertise" for the cisco switch to identify? Any relationship between?

thanks in advance.

Reply
0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Take a look at this article for more info regarding CDP: http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/

You have to enable this from the CLI using the following:

esxcfg-vswitch -B {listen,advertise,both,down} vSwitch0 

(e.g.)
esxcfg-vswitch -B both vSwitch0

To see what it's set to you can use:

esxcfg-vswitch -B vSwitch0

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

View solution in original post

Reply
0 Kudos
3 Replies
lamw
Community Manager
Community Manager
Jump to solution

Take a look at this article for more info regarding CDP: http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/

You have to enable this from the CLI using the following:

esxcfg-vswitch -B {listen,advertise,both,down} vSwitch0 

(e.g.)
esxcfg-vswitch -B both vSwitch0

To see what it's set to you can use:

esxcfg-vswitch -B vSwitch0

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Reply
0 Kudos
jerry2096
Contributor
Contributor
Jump to solution

Thank you, that's what I wanted.

Reply
0 Kudos
TomHowarth
Leadership
Leadership
Jump to solution

if that is what you wanted, award points to those that have helped you.

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "VMware Virtual Infrastructure Security: Securing ESX and the Virtual Environment”.

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
Reply
0 Kudos