TimKapHwan <
tkap...@gmail.com> wrote:
> While reading this article I???ve found strange syntaxes never seen
> before: %snmpwalk -c public@1 crumpy vtpVlanState
> @ after the public. It means the VLAN 1 part of the read community
> string.
>
> Can someone explain is it just Cisco feature or I can use it anywhere
> else? Are where any over possible ways to use it?
In this example, the community string is overloaded to carry something
nowadays called a context name. There is no standard for this as far
as far as community-based SNMPv1 and SNMPv2c are concerned. The @
separator is quite popular since Cisco switches use it. SNMPv3 provides
proper support for contexts (but if you are using earlier versions of
SNMP, you will have to experiment with the boxes you have to deal with).
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone:
+49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax:
+49 421 200 3103 <
http://www.jacobs-university.de/>