How do I get this result via SNMP?

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/a9254778/article/details/50302223

This is a bit late, but researching something similar I came across this Cisco forums post. It reports the following objects in IEEE8023-LAG-MIB:

IEEE8023-LAG-MIB::dot3adAggPortSelectedAggID.28 = INTEGER: 337
IEEE8023-LAG-MIB::dot3adAggPortSelectedAggID.82 = INTEGER: 337

IEEE8023-LAG-MIB::dot3adAggPortAttachedAggID.28 = INTEGER: 337
IEEE8023-LAG-MIB::dot3adAggPortAttachedAggID.82 = INTEGER: 337

ifName.28 = Gi2/4
ifName.82 = Gi3/10
ifName.337 = Po1

In the same environment the show etherchannel summary command will result in:

+------+-------------+-----------+---------------------------------+
| Group|Port-channel |Protocol   | Ports                           |
+------+-------------+-----------+---------------------------------+
|  1   | Po1(SU)     | LACP      | Gi2/4(P)       Gi3/10(P)        |

http://stackoverflow.com/questions/14960157/how-to-map-portchannel-to-interfaces-via-snmp

是 PAgP 私有 还是 LACP 公有

上面的是LACP公有
如果是PAGP的话使用
1.3.6.1.4.1.9.9.98

阅读更多
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页