[j-nsp] SNMP walk on JunOS from inside a routing instance
Hugo Slabbert
hugo at slabnet.com
Thu Apr 28 12:16:17 EDT 2016
On Thu 2016-Apr-28 13:13:35 +0100, James Bensley <jwbensley at gmail.com> wrote:
>On 28 April 2016 at 12:50, Dale Shaw <dale.shaw+j-nsp at gmail.com> wrote:
>> Hi James,
>> My memory's a bit hazy on this, but do you see everything you want to see if
>> you prefix the community string with a "@" in your cacti config?
>
>
>
>Hi Dale,
>
>As per my original email, I am prefixing the routing-instance name on
>the SNMP get's;
>
>snmpwalk -v 2c -c TEST-SNMP at SecretCommunity 10.254.242.1 .iso | grep ifDesc
>
>Without the routing-instance name the SNMP gets timeout. I can prefix
>it as default at SecretCommunity which will for example bring back all
>the interfaces on the MX not in any VRf/routing-instance.
>
>So it seems I have to specify a routing instance when using the config
>from my original post, and I can specify "default@" to see interfaces
>in the default table, I can also specify
>A.Nother.Routing-Instance.Name at SecretCommunity and see interfaces in
>that RI too, but nothing I can do seems to pull all interfaces when
>making the SNMP get from within the RI when compared to making the get
>from a host default.inet0.
Use a community of simply "@SecretCommunity", *WITHOUT* the actual RI
specified. That will pull everything. It's a little weird, but it works.
>
>Cheers,
>James.
--
Hugo Slabbert | email, xmpp/jabber: hugo at slabnet.com
pgp key: B178313E | also on Signal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://puck.nether.net/pipermail/juniper-nsp/attachments/20160428/86c9b83c/attachment.sig>
More information about the juniper-nsp
mailing list