07-03-2013 04:46 AM
Hi, suppose i have an interface on router:
interface Fas0/0.123
encapsulation dot1q 234
!
Is there any way to find out this interface's VLAN ID 234 over SNMP?
I do have a habit to name interface after dot matching VLAN ID, but still...
Tried walking whole snmp tree of router digging for 234, but did not find anything.
Solved! Go to Solution.
07-10-2013 02:41 AM
For the sake of knowlege:
There is cviVlanInterfaceIndexTable (.1.3.6.1.4.1.9.9.128.1.1.1.1.3) which answers my question.
You have to walk it first, though.
07-03-2013 11:45 AM
I think you should check CISCO-VTP-MIB which should have this details. Which MIB did you checked?
07-03-2013 08:07 PM
Vinod Arya wrote:
I think you should check CISCO-VTP-MIB which should have this details. Which MIB did you checked?
It's about switching ports only.
Here is reply from 7201 router, which have plenty subinterfaces:
.1.3.6.1.4.1.9.9.46 = No Such Object available on this agent at this OID
07-10-2013 02:41 AM
For the sake of knowlege:
There is cviVlanInterfaceIndexTable (.1.3.6.1.4.1.9.9.128.1.1.1.1.3) which answers my question.
You have to walk it first, though.
07-10-2013 12:45 PM
Sorry i thought of looking for this answer everyday which got delayed. Thanks for sharing, it will help many users.
I have marked it Cisco Endorsed as well.
-Thanks
Vinod
07-10-2013 09:58 PM
Thanks.
That OID also reveals subinterface - parent interface relationship in form:
.1.3.6.1.4.1.9.9.128.1.1.1.1.3.VLAN.parentIfId = subIfId
in case of Vlan interface, parentIfId == 0
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide