authopts
来自「snmp的源代码,已经在我的ubuntu下编译通过」· 代码 · 共 78 行
TXT
78 行
title Default Authentication Optionsdescription This section defines the default authenticationdescription information. Setting these up properly in yourdescription ~/.snmp/snmp.conf file will greatly reduce the amount ofdescription command line arguments you need to type (especially for snmpv3).token defaultPortinfo The default port number to useinfo This token specifies the default port number you want packets to info be sent to and received from.info override: with -p on the command line.info arguments: portnumquestion 1 Enter the default port number to usetoken defVersioninfo The default snmp version number to use.info override: with -v on the command line.info arguments: 1|2c|3question 1 Enter the default snmp version number to use (1|2c|3)validanswer 1 ^(1|2c|3)$token defCommunityinfo The default snmpv1 and snmpv2c community name to use when needed.info If this is specified, you don't need to include the communityinfo name as an argument to the snmp applications. info override: with -c on the command line.info arguments: communitynamequestion 1 Enter the default community name to usetoken defSecurityNameinfo The default snmpv3 security name to use when using snmpv3info override: with -u on the command line.info arguments: securitynamequestion 1 Enter the default security name to usetoken defContextinfo The default snmpv3 context name to useinfo override: with -n on the command line.info arguments: contextnamequestion 1 Enter the default context name to usetoken defSecurityLevelinfo The default snmpv3 security level to useinfo override: with -l on the command line.info arguments: noAuthNoPriv|authNoPriv|authPrivquestion 1 Enter the default privacy pass phrase to usevalidanswer 1 ^(noAuthNoPriv|authNoPriv|authPriv|nanp|anp|ap)$token defAuthTypeinfo The default snmpv3 authentication type name to useinfo override: with -a on the command line.info arguments: authtypequestion 1 Enter the default authentication type to use (MD5|SHA)validanswer 1 ^(MD5|SHA)$token defAuthPassphraseinfo The default snmpv3 authentication pass phrase to useinfo Note: It must be at least 8 characters long.info override: with -A on the command line.info arguments: passphrasequestion 1 Enter the default authentication pass phrase to usetoken defPrivTypeinfo The default snmpv3 privacy (encryption) type name to useinfo override: with -x on the command line.info arguments: privtypequestion 1 Enter the default privacy type to use (DES)validanswer 1 ^(DES)$token defPrivPassphraseinfo The default snmpv3 privacy pass phrase to useinfo Note: It must be at least 8 characters long.info override: with -X on the command line.info arguments: passphrasequestion 1 Enter the default privacy pass phrase to use
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?