Re: Finding what ports on Cat switch are trunks
- From: "CiscoHeadsetAdapter.com" <for-spam@xxxxxxxx>
- Date: Mon, 27 Feb 2006 23:13:12 -0500
<pzaloum@xxxxxxxxx> wrote in message
news:1141059831.591024.213770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have many Catalyst switches that I am polling with SNMP. I am trying
to find what ports are acting as trunks.
On most of the switches it works properly, using
vlanTrunkPortDynamicStatus.
It returns output like:
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.48 = INTEGER: notTrunking(2)
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.49 = INTEGER: trunking(1)
etc.
However sometimes it will only return the virtual port doing the
trunking over other physical ports:
CISCO-VTP-MIB::vlanTrunkPortDynamicStatus.27 = INTEGER: trunking(1)
RFC1213-MIB::ifType.27 = INTEGER: propVirtual(53)
I want to know what PHYSICAL ports are running on the bridge over port
"27"
Does anyone have any ideas to help me out?
Thanks
Pat
I do not remember exact MIB, but there are a series of MIBs, which return
the interface (or port) description of the SNMP instance. Try to use
SNMPWALK against that switch, and see what MIB will return the port name for
the instance .27.
Good luck,
Mike
www.ciscoheadsetadapter.com
.
- References:
- Finding what ports on Cat switch are trunks
- From: pzaloum
- Finding what ports on Cat switch are trunks
- Prev by Date: Re: Swapping a 828 - default access
- Next by Date: Re: QoS to limit bandwith to a particular app?
- Previous by thread: Finding what ports on Cat switch are trunks
- Next by thread: Re: Finding what ports on Cat switch are trunks
- Index(es):
Relevant Pages
|
|