想要H3C S5120SI系列 交换机MAC列表不知道它的OID是多少,求大佬告知,1.3.6.1.2.1.17.7.1.2.2.1
这个OID获取到的结果RESPONSE[requestID=2001623918, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.2.1.17.7.1.2.2.1.2.1.0.116.156.200.148.31 = 0; 1.3.6.1.2.1.17.7.1.2.2.1.2.1.0.116.156.200.148.32 = 4097; 1.3.6.1.2.1.17.7.1.2.2.1.2.1.32.71.71.113.30.46 = 1; 1.3.6.1.2.1.17.7.1.2.2.1.2.1.116.37.138.246.55.192 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.2.1.116.37.138.246.55.193 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.2.2.0.116.156.200.148.32 = 4098; 1.3.6.1.2.1.17.7.1.2.2.1.2.2.80.123.157.131.75.181 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.2.3.0.116.156.200.148.32 = 4099; 1.3.6.1.2.1.17.7.1.2.2.1.3.1.0.116.156.200.148.31 = 4; 1.3.6.1.2.1.17.7.1.2.2.1.3.1.0.116.156.200.148.32 = 4; 1.3.6.1.2.1.17.7.1.2.2.1.3.1.32.71.71.113.30.46 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.3.1.116.37.138.246.55.192 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.3.1.116.37.138.246.55.193 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.3.2.0.116.156.200.148.32 = 4; 1.3.6.1.2.1.17.7.1.2.2.1.3.2.80.123.157.131.75.181 = 3; 1.3.6.1.2.1.17.7.1.2.2.1.3.3.0.116.156.200.148.32 = 4; 1.3.6.1.2.1.17.7.1.4.1.0 = 0; 1.3.6.1.2.1.17.7.1.4.2.1.3.1600.1 = 1; 1.3.6.1.2.1.17.7.1.4.2.1.3.6500.2 = 2; 1.3.6.1.2.1.17.7.1.4.2.1.3.6500.3 = 3; 1.3.6.1.2.1.17.7.1.4.2.1.4.1600.1 = aa:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; 1.3.6.1.2.1.17.7.1.4.2.1.4.6500.2 = aa:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; 1.3.6.1.2.1.17.7.1.4.2.1.4.6500.3 = ff:ff:ff:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; 1.3.6.1.2.1.17.7.1.4.2.1.5.1600.1 = aa:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00; 1.3.6.1.2.1.17.7.1.4.2.1.5.6500.2 = 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00]]
看不懂
(0)
最佳答案
1.3.6.1.2.1.17.7.1.2.2.1 就是这个节点
读出来的是10进制的结果,转换成10进制即可
e.g
1.3.6.1.2.1.17.7.1.2.2.1.2.2.0.116.156.200.148. 32
1.3.6.1.2.1.17.7.1.2.2.1 .2 ---表示vlan2 .2.0.116.156.200.148---表示mac 0200-749C-C894 32---表示端口索引
ifIndex |
端口索引 |
|
ifDescr |
端口描述(如Aux0/0/1, null0, Vlan-interface2, GigabitEthernet2/0/1) |
|
(0)
MAC地址的每个字段不就是16进制的吗
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
32---表示端口索引 端口索引OID:1.3.6.1.2.1.2.2.1.2