cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8331
Views
1
Helpful
5
Replies

SNMP check etherchannel interface members

m.hierling
Level 1
Level 1

I use snmpwalk to check our switches. My problem is, i want to check wich interfaces are assigned to an etherchannel but i don't find the right oid.

5 Replies 5

bwilmoth
Level 5
Level 5

The OID for the object “interface” is “1.3.6.1.2.1.2”

i checked this oid, but the output don't show me which interface is assigned to an etherchannel (port-channel), or am i blind?

I have found the SNMP to monitor if a port in a EtherChannel fails.

dot3adAggAggregateOrIndividual

http://ipmsupport.solarwinds.com/mibs/IEEE8023-LAG-MIB/item.aspx?id=dot3adAggAggregateOrIndividual

Hi,

for PAgP I use this OID (pagpGroupIfIndex):

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=pagpGroupIfIndex&translate=Translate&submitValue=SUBMIT

For LACP I'd need to do some research (IEEE8023-LAG-MIB dot3adAggEntry, CISCO-LAG-MIB).

Please let us know which channel-protocol your're using.

Hope that helps

Rolf

For LACP I found two interesting objetcts 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

#show etherchannel 1 summary

Group  Port-channel  Protocol    Ports

------+-------------+-----------+-----------------------------------------------

1      Po1(SU)         LACP      Gi2/4(P)       Gi3/10(P)

Best regards

Rolf