设置列表
对齐方式
请问用通过consel口可以查透明桥转发表(dotldTpFdbAddress)的信息吗?我用的命令是dis mac-address(第一张图);但是和通过snmp取到的数据(第二张图)对不上呀,我用snmp取dotldTpFdbAddress的时候oid是:SNMPv2-SMI::mib-2.17.4.3.1.1这个,两边取到的数据不一致,可以看到44 1A FA 69 28 5A 在dis mac-address 的数据中是找不到的.是我的命令用错了吗,请问怎么dotldTpFdbAddress的表的数据?
(0)
设备的MAC表:
dot1qTpFdbPort
节点OID值:
获取设备MAC地址:
1: dot1qTpFdbPort.2.0.0.0.0.0.2 (integer) 6033
2: dot1qTpFdbPort.5.0.0.0.0.0.5 (integer) 317
3: dot1qTpFdbPort.5.0.0.0.0.0.85 (integer) 319
以dot1qTpFdbPort.5.0.0.0.0.0.85
(integer) 319为例,索引5.0.0.0.0.0.85中的第一个5表示这个mac表项在vlan5内,0.0.0.0.0.85对应的16进制为0000-0000-0055,表示这个mac表项的mac地址为0000-0000-0055,节点的值319表示这个mac表项端口的逻辑端口号,逻辑端口号与端口索引的对应关系参考MIB节点dot1dBasePortIfIndex,OID:1.3.6.1.2.1.17.1.4.1.2,逻辑端口号319对应的端口索引为154,参考节点ifDescr,OID:
59: dot1dBasePortIfIndex.319 (integer) 154
60: dot1dBasePortIfIndex.320 (integer) 155
61: dot1dBasePortIfIndex.1821 (integer) 196
62: dot1dBasePortIfIndex.1822 (integer) 197
63: dot1dBasePortIfIndex.1823 (integer) 198
64: dot1dBasePortIfIndex.1824 (integer) 199
65: dot1dBasePortIfIndex.1925 (integer) 188
66: dot1dBasePortIfIndex.1926 (integer) 189
67: dot1dBasePortIfIndex.1927 (integer) 190
68: dot1dBasePortIfIndex.1928 (integer) 191
69: dot1dBasePortIfIndex.1929 (integer) 192
70: dot1dBasePortIfIndex.1930 (integer) 193
71: dot1dBasePortIfIndex.1931 (integer) 194
72: dot1dBasePortIfIndex.1932 (integer) 195
73: dot1dBasePortIfIndex.6033 (integer) 200
74: dot1dBasePortIfIndex.6034 (integer) 202
61: ifDescr.154 (octet string) Ten-GigabitEthernet1/6/0/7 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.31.2F.36.2F.30.2F.37 (hex)]
62: ifDescr.155 (octet string) Ten-GigabitEthernet1/6/0/8 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.31.2F.36.2F.30.2F.38 (hex)]
63: ifDescr.188 (octet string) Ten-GigabitEthernet2/8/0/1 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.31 (hex)]
64: ifDescr.189 (octet string) Ten-GigabitEthernet2/8/0/2 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.32 (hex)]
65: ifDescr.190 (octet string) Ten-GigabitEthernet2/8/0/3 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.33 (hex)]
66: ifDescr.191 (octet string) Ten-GigabitEthernet2/8/0/4 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.34 (hex)]
67: ifDescr.192 (octet string) Ten-GigabitEthernet2/8/0/5 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.35 (hex)]
68: ifDescr.193 (octet string) Ten-GigabitEthernet2/8/0/6 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.36 (hex)]
69: ifDescr.194 (octet string) Ten-GigabitEthernet2/8/0/7 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.37 (hex)]
70: ifDescr.195 (octet string) Ten-GigabitEthernet2/8/0/8 [54.65.6E.2D.47.69.67.61.62.69.74.45.74.68.65.72.6E.65.74.32.2F.38.2F.30.2F.38 (hex)]
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论