MIB for Monitoring Trunk Links on 3750 Switches 12.2(25)SEE1

Answered Question
Dec 10th, 2007

Does anyone know which Cisco MIB can allow What's Up Pro to monitor trunk link status on 3750 switches running 12.2(25)SEE1 images?

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 9 years 1 month ago

You can use the CISCO-VTP-MIB and the vlanTrunkPortTable to get per-port trunking information from this switch. For example, vlanTrunkPortDynamicState will give you the current trunking state of each port.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (5 ratings)
Loading.
Correct Answer
Joe Clarke Mon, 12/10/2007 - 15:03

You can use the CISCO-VTP-MIB and the vlanTrunkPortTable to get per-port trunking information from this switch. For example, vlanTrunkPortDynamicState will give you the current trunking state of each port.

yuchenglai Wed, 12/12/2007 - 06:50

Joe,

I was actually looking for a MIB that can alert my NMS on ports that have gone err-disabled. If I was to look for MIBs that contain certain OID, how do I go about doing so through the pile of MIBs?

GERARD PUOPLO Fri, 12/14/2007 - 17:54

Regarding detecting if a port is error disable .... Syslog monitoring will detect this but if I am not mistaken isn't ifoperatus set to 5 (dormant)when a port goes error disable ?

yuchenglai Mon, 12/17/2007 - 13:06

As I was browsing the Cisco MIBs with my MIB Browser, I realized that I may not even need a Cisco MIB to monitor trunk link status. The standard ISO IF-MIB should be enough to do the job.

1.3.6.1.2.1.2.2.1.8

ifOperStatus

Joe Clarke Mon, 12/17/2007 - 17:24

ifOperStatus will give you the ports up/down status, but it will not tell you if the port is trunking or not. For that you will need the objects in the vlanTrunkPortTable table I mentioned earlier.

yuchenglai Tue, 12/18/2007 - 06:43

You are right about that one. I noticed another thing with the MIB Browser I'm using. It's WS_Ping ProPack, and it is not able to browse beyond the ISO MIBs and into Cisco's proprietary MIBs. Does anyone have any suggestion on any good free MIB Browser/Walker?

yuchenglai Fri, 01/25/2008 - 08:32

Will the Cisco-VTP-MIB inform the NMS if a port goes into err-disable mode? If not, what MIBS would?

Joe Clarke Fri, 01/25/2008 - 09:50

There is no trap that alerts one when a port goes into err-disabled, but you can poll the portAdditionalOperStatus object from the CISCO-STACK-MIB on certain switches to see when this happens.

yuchenglai Fri, 01/25/2008 - 12:40

I just tried to get the values of the portAdditionalOperStatus from one of my 3750 switch stacks using Net-SNMP. The reply I received was:

SNMPv2-SMI::enterprises.9.5.1.4.1.1.23 = No Such Object available on this agent at this OID

Joe Clarke Fri, 01/25/2008 - 13:39

For the 3750s, there is no object that will tell you this. Besides portAdditionalOperStatus, there is cieIfOperStatusCause from the CISCO-IF-EXTENSION-MIB which can give error-disable status, but the version of that MIB that contains this object is not supported by the 3750s.

yuchenglai Fri, 01/25/2008 - 14:01

I resorted to using ifOperStatus instead. The active SNMP monitor was able to detect that the err-disabled trunk was not up due to the NMS receiving a value of "2"

I, then, did a shut/no shut on the trunk link that was err-disabled which brought the trunk link up to a trunking state. But I still got a value of "2" when I queried the 3750 for the ifOperStatus of that particular trunk link.

GERARD PUOPLO Sat, 01/26/2008 - 06:50

Since no one mentioned it yet, let's not forget syslog messages and clog traps as another possible solution mechanism for this.

1. Syslog annunciates err-disable events

under I believe 3 or 4 different syslog

messages. err-disable is usually contained

in the syslog msg field.

2. syslog messages can be received as syslog traps

3. If you have NNM for example, you just need to setup ECS or an action on trap script on syslog traps to check clog traps where applicable messages contains *err-disable*

4. or you could setup DFM to check applicable syslog messages for *err-disable* and trap or email on them too.

5. of if you have Nagios or CIC again

just parse applicable syslog traps or

syslog messages for *err-disable*.

Jerry

Joe Clarke Sat, 01/26/2008 - 11:19

Yes, syslog is a real possibility. However, DFM does not do anything with syslog messages. RME can process the syslog messages, and turn them into emails.

I did find a new MIB that will work on the 3750 provided you are running 12.2(37)SE or later. The MIB is the CISCO-ERR-DISABLE-MIB, and the object is cErrDisableIfStatusTable. Only ports that are in an err-disable status will appear in this table.

yuchenglai Mon, 01/28/2008 - 06:03

The 2 above solutions would are good solutions. There is, however, one lingering question, and that is even though I did a shut/no shut on a trunk link to bring it from its err-disable state to the trunk state, the results of an snmp "get" on the object and variable id is still down.

ifOperStatus.11102 = INTEGER: down(2)

I expected the value to be up(1), but it remained down(2) even after I brought the interface back up to a trunk state from its previous err-disable state. What reason exists for this?

Joe Clarke Mon, 01/28/2008 - 10:27

What does the CLI say? Maybe the interface is still down for some other reason.

yuchenglai Mon, 01/28/2008 - 12:43

Joe,

My mistake, I looked at the wrong variable ID.

The ifOperStatus of ports did change when I brought up the trunk link from its previously disabled state.

Actions

This Discussion