

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.net-snmp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3AApplications_25b</id>
		<title>Template:FAQ:Applications 25b - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.net-snmp.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AFAQ%3AApplications_25b"/>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.org/wiki/index.php?title=Template:FAQ:Applications_25b&amp;action=history"/>
		<updated>2026-04-08T04:17:38Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://www.net-snmp.org/wiki/index.php?title=Template:FAQ:Applications_25b&amp;diff=2778&amp;oldid=prev</id>
		<title>Wes: /* How do I specify IPv6 addresses in tools command line arguments? */</title>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.org/wiki/index.php?title=Template:FAQ:Applications_25b&amp;diff=2778&amp;oldid=prev"/>
				<updated>2007-08-30T20:04:24Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;How do I specify IPv6 addresses in tools command line arguments?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&#039;diff diff-contentalign-left&#039;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;en&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 20:04, 30 August 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= How do I specify IPv6 addresses in tools command line arguments? =&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;IPv6 addresses pose a particular problem for the Net-SNMP command line tools, which parse host names into pieces.&amp;#160; In particular, normally if you specify a simple host name, it assumes you want UDP in IPv4 on port 161.&amp;#160; IE, these two commands are actually the same (by default):&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;IPv6 addresses pose a particular problem for the Net-SNMP command line tools, which parse host names into pieces.&amp;#160; In particular, normally if you specify a simple host name, it assumes you want UDP in IPv4 on port 161.&amp;#160; IE, these two commands are actually the same (by default):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	<entry>
		<id>http://www.net-snmp.org/wiki/index.php?title=Template:FAQ:Applications_25b&amp;diff=2777&amp;oldid=prev</id>
		<title>Wes at 20:03, 30 August 2007</title>
		<link rel="alternate" type="text/html" href="http://www.net-snmp.org/wiki/index.php?title=Template:FAQ:Applications_25b&amp;diff=2777&amp;oldid=prev"/>
				<updated>2007-08-30T20:03:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= How do I specify IPv6 addresses in tools command line arguments? =&lt;br /&gt;
&lt;br /&gt;
IPv6 addresses pose a particular problem for the Net-SNMP command line tools, which parse host names into pieces.  In particular, normally if you specify a simple host name, it assumes you want UDP in IPv4 on port 161.  IE, these two commands are actually the same (by default):&lt;br /&gt;
&lt;br /&gt;
  snmpget 127.0.0.1 sysUpTime.0&lt;br /&gt;
  snmpget udp:127.0.0.1:161 sysUpTime.0&lt;br /&gt;
&lt;br /&gt;
However, for IPv6 this causes a problem because IPv6 addresses also use a colon to separate addressing parts.  Thus you need to enclose the address in square brackets ( [ and ] ).  Because most shells use these brackets too, you also likely need to quote it:&lt;br /&gt;
&lt;br /&gt;
  snmpget &amp;#039;udp6:[::1]:161&amp;#039; sysUpTime.0&lt;/div&gt;</summary>
		<author><name>Wes</name></author>	</entry>

	</feed>