系统如何用只读访问权限填充MIB条目? [英] How does system fill MIB entries with Read-Only Access?

查看:162
本文介绍了系统如何用只读访问权限填充MIB条目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于管理系统配置,我们使用某种形式的MIB管理系统,这可能是基于C结构或Yang模块的数据建模.现在,MIB中有一些条目被标记为只读,或者对于管理器来说是不可访问的,即北向接口.运营数据通常保存在此类条目中,例如系统正常运行时间等.

For managing the system configuration, we use MIB Management Systems in some form or the other, which may be C-structure based or Yang Module for data modeling. Now there are entries in the MIB which are marked as read-only, or not accessible for the manager i.e. Northbound Interfaces. The operational data is often kept in such entries, like system up-time etc.

那么,设备本身在这些字段实现中的数据填充是特定的还是设备还使用GET/SET/TEST类型的机制来写入这些MIB叶子?

So, is the filling of data by the Device itself in these fields implementation specific or does the device also use GET/SET/TEST type of mechanism to write to these MIB leafs?

推荐答案

使用ASN.1定义MIB时,

When you are defining MIB with ASN.1 ,

最大访问权限

MAX-ACCESS

子句将是

只读

表示该特定数据.因此,这会使snmp-set查询在该特定对象标识符(OID)上失败,因为该代理不允许为其设置任何值. MAX-ACCESS的其他可能值是READ-WRITE,RIGHT-CREATE,WRITE-ONLY,NOT-ACCESSIBLE和ACCESSIBLE-FOR_NOTIFY.查看基本SNMP 的在线版本以获取信息.

for that particular data. So it makes snmp-set queries to fail on that particular Object Identifiers (OIDs) because the agent does not allow any values to be set for them. Other possible values for MAX-ACCESS are READ-WRITE, RIGHT-CREATE, WRITE-ONLY, NOT-ACCESSIBLE and ACCESSIBLE-FOR_NOTIFY. Take a look at the online edition of Essential SNMP for information.

这篇关于系统如何用只读访问权限填充MIB条目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆