cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2519
Views
5
Helpful
3
Replies

specific OID for switch trunk ports -

getwithrob
Level 3
Level 3

Is there a specific OID value for trunk port Up/Down messages or an OID range of trunk port messages coming from Cisco switches?

3 Replies 3

ToddWarren
Level 1
Level 1

Hey Rob,

This is a good question. I have found OID's interfaces, and for port channels, but none for trunks specifically. I don't know if Cisco differentiates between access or trunk ports. You may have to use something like portDot1qTunnel (cisco-vtp-mib; 1.3.6.1.4.1.9.9.46.1.6.1.1.29) to get the operating mode of the port, and the use the OID for ifOperStatus (IF-MIB; 1.3.6.1.2.1.2.2.1.8) to get the status. Kind of cumbersome isn't it? I'll be watching to see if there is a better way.

HTH

The only way I can think of now is to use Netconfig and go to every switch and do a show interface status or a show port status and identify trunks ports and non-trunks ports. With that list I'll have to go through all switches and disable logging and snmp traps on ports that are not trunk ports. Problems with this approach are the shear number of switches (over 8000) and all new switches that are brought up on the network will have to have snmp and logging turned off on every port that's not a trunk with the ‘no logging event link-status’, ‘no snmp trap link-status’ or ‘set port trap disable’.

NerveCenter is the SNMP mgmt platform used here. One would think this could be done a little more automatically through this tool.

How are you monitoring trunk ports on switches?

I use DFM 1.2 (LMS 2.2). It identifies port types (access or trunk) for me and puts them into their respective groups for monitoring performance and fault mamangement. For fault management DFM automatically assumes all fiber ports are trunks, but will not do them same for copper ports configured as trunks. These need to be manually added to be managed. The fiber ports are automatilcally managed. DFM 1.2 is solid. DFM 2.0, in LMS 2.5, has it's challenges. I'm only monitoring 100+ 6k chassis' at this point.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco