SNMP---MIB/OID

本文介绍了通过Cisco官网查询SNMP MIB的具体方法,包括如何获取指定信息的OID、查看MIB的树形结构及具体信息。此外还提供了模糊搜索、下载MIB文件和查找指定型号交换机支持的MIB等功能的使用指南。
部署运行你感兴趣的模型镜像

有时候我们想:
1. 获取指定信息的oid
2. 查看MIB的树形结构
3. 了解MIB的具体信息
推荐去cisco官网,需要登陆
http://snmp.cloudapps.cisco.com/Support/SNMP/do/SearchOID.do?local=en&step=1
界面如图所示
这里写图片描述

搜索结果
这里写图片描述
主要分为四个部分:
translate/browse:可以在oid/name间进行翻译,点击search后会显示目录树结构和该节点的详细信息
search:可用于模糊搜索,默认在节点名中搜索,忽略大小写。
download mibs:下载Mib
MIB SUPPORT-SW:查找指定型号交换机支持的mib

一般可以对自己需要的信息进行模糊搜索

如需要找到交换机下的服务器,可以通过以下三种途径
1.IP/route/table
2.mac/phy/table
3.wwn/zone/fc/member
如果结果条目不多,可以将所有的oid(点击结果中显示的名字,找到oid),将oid逐行列出,然后找出部分oid的共同父oid,
snmpwalk -v 2c -c public localhost fatheroid >> oid
grep info oid
这样可以快速找到自己需要信息对应的oid

您可能感兴趣的与本文相关的镜像

ACE-Step

ACE-Step

音乐合成
ACE-Step

ACE-Step是由中国团队阶跃星辰(StepFun)与ACE Studio联手打造的开源音乐生成模型。 它拥有3.5B参数量,支持快速高质量生成、强可控性和易于拓展的特点。 最厉害的是,它可以生成多种语言的歌曲,包括但不限于中文、英文、日文等19种语言

/usr/share/snmp/mibs/IP-MIB.txt:2365: object identifier name `ipAddressPrefixAdvPreferredLifetime' longer than 32 characters /usr/share/snmp/mibs/IP-MIB.txt:2919: object identifier name `ipv6ScopeZoneIndexOrganizationLocal' longer than 32 characters /usr/share/snmp/mibs/IP-MIB.txt:4440: warning: use Integer32 instead of INTEGER in SMIv2 /usr/share/snmp/mibs/IP-MIB.txt:4461: warning: use Integer32 instead of INTEGER in SMIv2 /usr/share/snmp/mibs/IP-MIB.txt:4475: warning: use Integer32 instead of INTEGER in SMIv2 /usr/share/snmp/mibs/IP-MIB.txt:4525: warning: use Integer32 instead of INTEGER in SMIv2 /usr/share/snmp/mibs/IP-MIB.txt:2258: warning: index of row `ipAddressPrefixEntry' can exceed OID size limit by 141 subidentifier(s) /usr/share/snmp/mibs/IP-MIB.txt:2459: warning: index of row `ipAddressEntry' can exceed OID size limit by 139 subidentifier(s) /usr/share/snmp/mibs/IP-MIB.txt:2638: warning: index of row `ipNetToPhysicalEntry' can exceed OID size limit by 140 subidentifier(s) /usr/share/snmp/mibs/IP-MIB.txt:2984: warning: index of row `ipDefaultRouterEntry' can exceed OID size limit by 140 subidentifier(s) /usr/share/snmp/mibs/IP-MIB.txt:4412: warning: index element `ipAdEntAddr' of row `ipAddrEntry' should be not-accessible in SMIv2 MIB /usr/share/snmp/mibs/IP-MIB.txt:4506: warning: index element `ipNetToMediaIfIndex' of row `ipNetToMediaEntry' should be not-accessible in SMIv2 MIB /usr/share/snmp/mibs/IP-MIB.txt:4506: warning: index element `ipNetToMediaNetAddress' of row `ipNetToMediaEntry' should be not-accessible in SMIv2 MIB
08-05
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值