10-30-2023 08:41 AM
Questions:
Having two units in the stack, in output from snmpwalk query,
We get .x.x.IfDescr.1
Value = String Gigabit Ethernet 1/1/1
further down in the output:
We get .x.x.IfDescr.257
Value = String Gigabit Ethernet 2/1/1
Question is: Where is the reference to ifDescr.257, deriving from?
And what would the numbering be on same same interface, say 3/1/1, if we add another switch, into the stack?
//Mats
Solved! Go to Solution.
10-31-2023 01:03 AM
Hi Mats
Thank you for reaching us.
I had a example of a stack of three units model 7750 Switch series. The inDescr and ifIndex would be different for each port on the switch.
Below is the example:
Stack Unit 1:
IF-MIB::ifDescr.1 = STRING: 10GigabitEthernet1/1/1
IF-MIB::ifDescr.2 = STRING: 10GigabitEthernet1/1/2
Stack Unit 2:
IF-MIB::ifDescr.257 = STRING: 10GigabitEthernet2/1/1
IF-MIB::ifDescr.258 = STRING: 10GigabitEthernet2/1/2
Stack Unit 3:
IF-MIB::ifDescr.513 = STRING: 10GigabitEthernet3/1/1
IF-MIB::ifDescr.514 = STRING: 10GigabitEthernet3/1/2
I suppose these number you view from IfDescr are associated to IfIndex which is interface index details a unique way of identifying number associated with a physical or logical interface. I suppose this varies based on vendor and could be coded or inbuild.
I hope this help answer your question.
Thanks
10-31-2023 01:03 AM
Hi Mats
Thank you for reaching us.
I had a example of a stack of three units model 7750 Switch series. The inDescr and ifIndex would be different for each port on the switch.
Below is the example:
Stack Unit 1:
IF-MIB::ifDescr.1 = STRING: 10GigabitEthernet1/1/1
IF-MIB::ifDescr.2 = STRING: 10GigabitEthernet1/1/2
Stack Unit 2:
IF-MIB::ifDescr.257 = STRING: 10GigabitEthernet2/1/1
IF-MIB::ifDescr.258 = STRING: 10GigabitEthernet2/1/2
Stack Unit 3:
IF-MIB::ifDescr.513 = STRING: 10GigabitEthernet3/1/1
IF-MIB::ifDescr.514 = STRING: 10GigabitEthernet3/1/2
I suppose these number you view from IfDescr are associated to IfIndex which is interface index details a unique way of identifying number associated with a physical or logical interface. I suppose this varies based on vendor and could be coded or inbuild.
I hope this help answer your question.
Thanks
10-31-2023 05:58 AM
Yes, it does, many thanks for the clarification.
(matches rfc2863 page 29)
rgds/Mats