<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>x83.net &#187; community</title>
	<atom:link href="http://www.x83.net/tag/community/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 09:50:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configure SNMP on Juniper</title>
		<link>http://www.x83.net/junos-snmp/</link>
		<comments>http://www.x83.net/junos-snmp/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 03:54:06 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Juniper]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[set snmp]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[snmpwalk]]></category>

		<guid isPermaLink="false">http://www.x83.net/blog/?p=71</guid>
		<description><![CDATA[
set snmp location &#8220;My home Network&#8221;
set snmp contact &#8220;giany at x83.net&#8221;
set snmp community nMSuser authorization read-only
set snmp community nMSuser clients 10.2.2.1/32
set snmp community nMSuser clients 10.0.9.0/24
[root@box ~]# snmpwalk -v 1 -c &#8216;nMSuser&#8217; 10.2.2.2 &#124; head
SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. olive internet router, kernel JUNOS 7.4R2.6 #0: 2006-01-20 14 Build date: 2006-01-20 14:19:29 UTC Copyright [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
set snmp location &#8220;My home Network&#8221;<br />
set snmp contact &#8220;giany at x83.net&#8221;<br />
set snmp community nMSuser authorization read-only<br />
set snmp community nMSuser clients 10.2.2.1/32<br />
set snmp community nMSuser clients 10.0.9.0/24</p></blockquote>
<blockquote><p>[root@box ~]# snmpwalk -v 1 -c &#8216;nMSuser&#8217; 10.2.2.2 | head<br />
SNMPv2-MIB::sysDescr.0 = STRING: Juniper Networks, Inc. olive internet router, kernel JUNOS 7.4R2.6 #0: 2006-01-20 14 Build date: 2006-01-20 14:19:29 UTC Copyright (c) 1996-2006 Juniper Networks, Inc.<br />
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.2636.1.1.1.2.1<br />
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (158417) 0:26:24.17<br />
SNMPv2-MIB::sysContact.0 = STRING: giany at x83.net<br />
SNMPv2-MIB::sysName.0 = STRING: olive.x83.net<br />
SNMPv2-MIB::sysLocation.0 = STRING: My home Network<br />
SNMPv2-MIB::sysServices.0 = INTEGER: 4</p></blockquote>
<p>Its a good policy to restrict to only a few clients. If I use snmpwalk from a restricted ip /var/log/security prints:</p>
<blockquote><p>Aug  1 16:45:59  olive.x83.net snmpd[2658]: SNMPD_AUTH_RESTRICTED_ADDRESS: validate_SNMP_community: request from address 10.1.1.1 not allowed</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/junos-snmp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
