1title Default Authentication Options
2description This section defines the default authentication
3description information.  Setting these up properly in your
4description ~/.snmp/snmp.conf file will greatly reduce the amount of
5description command line arguments you need to type (especially for snmpv3).
6
7token defaultPort
8info  The default port number to use
9info  This token specifies the default port number you want packets to
10info  be sent to and received from.
11info  override: with -p on the command line.
12info  arguments: portnum
13question 1 Enter the default port number to use
14
15token defVersion
16info  The default snmp version number to use.
17info  override: with -v on the command line.
18info  arguments: 1|2c|3
19question 1 Enter the default snmp version number to use (1|2c|3)
20validanswer 1 ^(1|2c|3)$
21
22token defCommunity
23info  The default snmpv1 and snmpv2c community name to use when needed.
24info  If this is specified, you don't need to include the community
25info  name as an argument to the snmp applications.
26info  override: with -c on the command line.
27info  arguments: communityname
28question 1 Enter the default community name to use
29
30token defSecurityName
31info  The default snmpv3 security name to use when using snmpv3
32info  override: with -u on the command line.
33info  arguments: securityname
34question 1 Enter the default security name to use
35
36token defContext
37info  The default snmpv3 context name to use
38info  override: with -n on the command line.
39info  arguments: contextname
40question 1 Enter the default context name to use
41
42token defSecurityLevel
43info  The default snmpv3 security level to use
44info  override: with -l on the command line.
45info  arguments: noAuthNoPriv|authNoPriv|authPriv
46question 1 Enter the default privacy pass phrase to use
47validanswer 1 ^(noAuthNoPriv|authNoPriv|authPriv|nanp|anp|ap)$
48
49token defAuthType
50info  The default snmpv3 authentication type name to use
51info  override: with -a on the command line.
52info  arguments: authtype
53question 1 Enter the default authentication type to use (MD5|SHA)
54validanswer 1 ^(MD5|SHA)$
55
56token defAuthPassphrase
57info  The default snmpv3 authentication pass phrase to use
58info  Note: It must be at least 8 characters long.
59info  override: with -A on the command line.
60info  arguments: passphrase
61question 1 Enter the default authentication pass phrase to use
62
63token defPrivType
64info  The default snmpv3 privacy (encryption) type name to use
65info  override: with -x on the command line.
66info  arguments: privtype
67question 1 Enter the default privacy type to use (DES|AES)
68validanswer 1 ^(DES|AES)$
69
70token defPrivPassphrase
71info  The default snmpv3 privacy pass phrase to use
72info  Note: It must be at least 8 characters long.
73info  override: with -X on the command line.
74info  arguments: passphrase
75question 1 Enter the default privacy pass phrase to use
76
77
78