Difference between revisions of "Com2sec"

From Net-SNMP Wiki
Jump to: navigation, search
(Information on the com2sec label)
 
Line 6: Line 6:
  
 
''sec.name'' is an arbitrary word that is used by the ''[[group]]'' label.  ''source'' describes a host or network.  And ''community'' is the ''[[community]]'' name that is used.
 
''sec.name'' is an arbitrary word that is used by the ''[[group]]'' label.  ''source'' describes a host or network.  And ''community'' is the ''[[community]]'' name that is used.
 +
 +
==examples==
 +
 +
com2sec localhost 127.0.0.1      public
 +
com2sec local    192.168.0.0/24  netsnmp
 +
com2sec trusted  192.168.1.1    secretWord

Revision as of 12:15, 7 July 2008

com2sec

The basic structure of the com2sec label is

#       sec.name  source          community

sec.name is an arbitrary word that is used by the group label. source describes a host or network. And community is the community name that is used.

examples

com2sec localhost 127.0.0.1       public
com2sec local     192.168.0.0/24  netsnmp
com2sec trusted   192.168.1.1     secretWord