<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Viewing CDP Data on VMware ESX</title>
	<atom:link href="http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<lastBuildDate>Wed, 08 Feb 2012 17:13:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Vishal</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-51421</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Tue, 23 Aug 2011 21:37:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-51421</guid>
		<description>Scott,

Thanks for the article, I notice that the tlv_length is maxing out at 31 and  device_id field is alaso maxing out to 31chars. Is there such limitation? I am noticing that the host name is gettign truncated to 31 chars. Is there a  known issue?

Thanks
Vish 
Looks for Real name and the truncated name in the following trace.

[root@ht-152123456789012345678901234567890 ~]# hostname
ht-152123456789012345678901234567890 &lt;- Real name

  \==+CDP Status :
                  &#124;----Cdp Version..................................2
                  &#124;----Timeout......................................60
                  &#124;----Time-to-live.................................180
                  &#124;----Samples......................................16784
                  &#124;----Device Id....................................ht-1521234567890123456789012345 &lt;- CDP returned name
                  &#124;----Ip Address...................................0.0.0.0
                  &#124;----Ip Prefix....................................0.0.0.0/0
                  &#124;----Port Id...................................... 
                  &#124;----Capabilities.................................8
                  &#124;----Version......................................Releasebuild-260247
                  &#124;----Platform.....................................VMware ESX
                  &#124;----Vlan.........................................0
                  &#124;----Duplex.......................................false
                  &#124;----MTU..........................................1500
@</description>
		<content:encoded><![CDATA[<p>Scott,</p>
<p>Thanks for the article, I notice that the tlv_length is maxing out at 31 and  device_id field is alaso maxing out to 31chars. Is there such limitation? I am noticing that the host name is gettign truncated to 31 chars. Is there a  known issue?</p>
<p>Thanks<br />
Vish<br />
Looks for Real name and the truncated name in the following trace.</p>
<p>[root@ht-152123456789012345678901234567890 ~]# hostname<br />
ht-152123456789012345678901234567890 &lt;- Real name</p>
<p>  \==+CDP Status :<br />
                  |&#8212;-Cdp Version&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.2<br />
                  |&#8212;-Timeout&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..60<br />
                  |&#8212;-Time-to-live&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;180<br />
                  |&#8212;-Samples&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..16784<br />
                  |&#8212;-Device Id&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;ht-1521234567890123456789012345 &lt;- CDP returned name<br />
                  |&#8212;-Ip Address&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..0.0.0.0<br />
                  |&#8212;-Ip Prefix&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;0.0.0.0/0<br />
                  |&#8212;-Port Id&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
                  |&#8212;-Capabilities&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;8<br />
                  |&#8212;-Version&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..Releasebuild-260247<br />
                  |&#8212;-Platform&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.VMware ESX<br />
                  |&#8212;-Vlan&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..0<br />
                  |&#8212;-Duplex&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;false<br />
                  |&#8212;-MTU&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;1500<br />
@</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-48462</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 27 May 2010 14:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-48462</guid>
		<description>Excellent.  Thanks Scott.   This helps when you have a new build and the ESXi system isn&#039;t online yet due to a wiring goofup.</description>
		<content:encoded><![CDATA[<p>Excellent.  Thanks Scott.   This helps when you have a new build and the ESXi system isn&#8217;t online yet due to a wiring goofup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christoph Wegener</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-46549</link>
		<dc:creator>Christoph Wegener</dc:creator>
		<pubDate>Thu, 05 Nov 2009 01:55:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-46549</guid>
		<description>Yay. Number on result on Google for &quot;vmware-vim-cmd cdp info&quot; is this post and it&#039;s exactly what I was looking for. :)
That little balloon showing the CDP info in the vSphere Client is just clumsy!</description>
		<content:encoded><![CDATA[<p>Yay. Number on result on Google for &#8220;vmware-vim-cmd cdp info&#8221; is this post and it&#8217;s exactly what I was looking for. <img src='http://blog.scottlowe.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
That little balloon showing the CDP info in the vSphere Client is just clumsy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aenagy</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-44576</link>
		<dc:creator>aenagy</dc:creator>
		<pubDate>Mon, 25 May 2009 15:10:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-44576</guid>
		<description>With CDP enabled on ESX/ESXi will the host simply recieve CDP packets or will it also generate CDP packets? Our network team will veto any device generating CDP packets that they do not administer.

Thanks.</description>
		<content:encoded><![CDATA[<p>With CDP enabled on ESX/ESXi will the host simply recieve CDP packets or will it also generate CDP packets? Our network team will veto any device generating CDP packets that they do not administer.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer Geisler</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-43986</link>
		<dc:creator>Jennifer Geisler</dc:creator>
		<pubDate>Thu, 26 Mar 2009 04:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-43986</guid>
		<description>Hi Scott.  I&#039;m glad that you found that viewing CDP data from the Cisco is easy!  As the Manager of Network Systems Networking and Switching for Cisco, I&#039;m always heartened to hear about people who can provide insight and knowledge about Cisco.  You definitely have some sharp readers!  I look forward to reading more of your blog.  Best, Jennifer.</description>
		<content:encoded><![CDATA[<p>Hi Scott.  I&#8217;m glad that you found that viewing CDP data from the Cisco is easy!  As the Manager of Network Systems Networking and Switching for Cisco, I&#8217;m always heartened to hear about people who can provide insight and knowledge about Cisco.  You definitely have some sharp readers!  I look forward to reading more of your blog.  Best, Jennifer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-43962</link>
		<dc:creator>William</dc:creator>
		<pubDate>Wed, 25 Mar 2009 03:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-43962</guid>
		<description>Whoops, my previous comment mentioned vimsh, but the command used is actually part of the standard Service Console utilities. 

Though the same information can be extracted via vimsh using the following for ESX 3.5+

vmware-vim-cmd hostsvc/net/query_networkhint

on ESXi 3.5+

vim-cmd hostsvc/net/query_networkhint

--William Lam</description>
		<content:encoded><![CDATA[<p>Whoops, my previous comment mentioned vimsh, but the command used is actually part of the standard Service Console utilities. </p>
<p>Though the same information can be extracted via vimsh using the following for ESX 3.5+</p>
<p>vmware-vim-cmd hostsvc/net/query_networkhint</p>
<p>on ESXi 3.5+</p>
<p>vim-cmd hostsvc/net/query_networkhint</p>
<p>&#8211;William Lam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-43961</link>
		<dc:creator>William</dc:creator>
		<pubDate>Wed, 25 Mar 2009 02:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-43961</guid>
		<description>Hi Scott,

Great post, vimsh is an awesome tool to pull out information that just is not available through the traditional methods. After reading your post, you motivated me to create a small Perl script that utilizes the VI Perl Toolkit to extract the CDP information provided with either vCenter or individual ESX/ESXi instance: http://engineering.ucsb.edu/~duonglt/vmware/cdp.pl 

The Perl script functions similar to that of my VMware Health Script, you can take a look at the VMTN document for instructions, but it works similar to those of the VI Perl Toolkit Utilities 

I&#039;ve just updated with few fixes/enhancements:
http://communities.vmware.com/docs/DOC-9420

--William Lam</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>Great post, vimsh is an awesome tool to pull out information that just is not available through the traditional methods. After reading your post, you motivated me to create a small Perl script that utilizes the VI Perl Toolkit to extract the CDP information provided with either vCenter or individual ESX/ESXi instance: <a href="http://engineering.ucsb.edu/~duonglt/vmware/cdp.pl" rel="nofollow">http://engineering.ucsb.edu/~duonglt/vmware/cdp.pl</a> </p>
<p>The Perl script functions similar to that of my VMware Health Script, you can take a look at the VMTN document for instructions, but it works similar to those of the VI Perl Toolkit Utilities </p>
<p>I&#8217;ve just updated with few fixes/enhancements:<br />
<a href="http://communities.vmware.com/docs/DOC-9420" rel="nofollow">http://communities.vmware.com/docs/DOC-9420</a></p>
<p>&#8211;William Lam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wharlie</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-43958</link>
		<dc:creator>wharlie</dc:creator>
		<pubDate>Wed, 25 Mar 2009 00:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-43958</guid>
		<description>You can also use:
vmware-vim-cmd hostsvc/net/query_networkhint
as per http://kb.vmware.com/kb/1007069</description>
		<content:encoded><![CDATA[<p>You can also use:<br />
vmware-vim-cmd hostsvc/net/query_networkhint<br />
as per <a href="http://kb.vmware.com/kb/1007069" rel="nofollow">http://kb.vmware.com/kb/1007069</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DK</title>
		<link>http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/comment-page-1/#comment-43957</link>
		<dc:creator>DK</dc:creator>
		<pubDate>Tue, 24 Mar 2009 23:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.scottlowe.org/2009/03/24/viewing-cdp-data-on-vmware-esx/#comment-43957</guid>
		<description>awesome.  i was looking for something like this, not for cdp but for vmnic info.</description>
		<content:encoded><![CDATA[<p>awesome.  i was looking for something like this, not for cdp but for vmnic info.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

