⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucddemopublic.conf

📁 snmp的源代码,已经在我的ubuntu下编译通过
💻 CONF
字号:
#*************************************************************# Define the views that the demogroup will be# restricted to.## Format:#    view NAME TYPE SUBTREE [MASK]#view demoWrite included .1.3.6.1.4.1.2021.14.1.1view demoRead  included .1.3.6.1.4.1.2021.14.1.1view demoRead  included .1.3.6.1.2.1.1#    ---+---- #       +---------------------------------------------------------+#                                                                 |#*************************************************************    |# Map any v1 style communities to a securityName                  |#                                                                 |# Format:                                                         |#    com2sec NAME SOURCE COMMUNITY                                |#                                                                 |com2sec v1User  default v1demopublic                              |com2sec v2cUser default demopublic                                |#       ---+---                                                   |#          +----------------------------------------------------+ |#                                                               | |#                                                               | |#************************************************************** | |# Define the demogroup users and their access models            | |#                                                               | |# Format:                                                       | |#    group NAME MODEL SECURITY                                  | |#                                                               | |#                      +----------------------------------------+ |#                     \|/                                         |#                   _______                                       |group demogroup v1  v1User                                        |group demogroup v2c v2cUser                                       |#     ----+----                                                   |#         +---------------------------------------------------+   |#                                                             |   |#                                                             |   |#***********************************************************  |   |# Define views for the group                                  |   |#                                                             |   |# Format:                                                     |   |#    access NAME CONTEXT MODEL LEVEL PREFX READ WRITE NOTIFY  |   |#                                                             |   |#          +--------------------------------------------------+   | #          |                             +--------+---------------+#         \|/                           \|/      \|/ #      _________                      ________ _________access demogroup "" any noauth prefix demoRead demoWrite none## the demoUser token is supported by the examples/ucdDempPublic module#demoUser noAuthUserdemoUser MD5UserdemoUser MD5DESUserdemoUser SHAUserdemoUser SHADESUserdemoPass The Net-SNMP Demo Password## more security names for demogroup#group demogroup usm noAuthUsergroup demogroup usm MD5Usergroup demogroup usm SHAUsergroup demogroup usm MD5DESUsergroup demogroup usm SHADESUser## more views for demowrite#view demowrite included .1.3.6.1.6.3.12.1.2.2.1.10.9.128.0.7.229.1.208.214.166.35.7.77.68.53.85.115.101.114view demowrite included .1.3.6.1.6.3.12.1.2.2.1.10.9.128.0.7.229.1.208.214.166.35.7.83.72.65.85.115.101.114view demowrite included .1.3.6.1.6.3.12.1.2.2.1.10.9.128.0.7.229.1.208.214.166.35.10.77.68.53.68.69.83.85.115.101.114view demowrite included .1.3.6.1.6.3.12.1.2.2.1.10.9.128.0.7.229.1.208.214.166.35.10.83.72.65.68.69.83.85.115.101.114view demowrite included .1.3.6.1.6.3.12.1.2.2.1.10.9.128.0.7.229.1.208.214.166.35.10.110.111.65.117.116.104.85.115.101.114### normally these would be added in /var/net-snmp/snmpd.conf (while# snmpd was not running), where they will be replaced by a local# key when the agent started up, thus providing a bit more security.#createUser noAuthUsercreateUser MD5User MD5 "The Net-SNMP Demo Password"createUser SHAUser SHA "The Net-SNMP Demo Password"createUser MD5DESUser MD5 "The Net-SNMP Demo Password" DES "The Net-SNMP Demo Password"createUser SHADESUser SHA "The Net-SNMP Demo Password" DES "The Net-SNMP Demo Password"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -