cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
455
Views
0
Helpful
3
Replies

Using SNMP to get info from Catalyst Stitches

lcameron
Level 1
Level 1

I'm writing some scripts do stuff like search my switches for a MAC and to make changes to ports VLAN assignments. I need to know the MIB and OID/pnumonic (if there is one) to tell me whether a switch port is configured to be a trunking port (whether it be dot1q or ISL) or not.

Any help would be greatly appreciated.

Regards,

Lyle Cameron

3 Replies 3

thisisshanky
Level 11
Level 11

Lyle,

You can various Cisco MIBs here...

http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

Thanks. I've been to that page already, but it still doesn't tell me which MIB I need to download and what the OID of the object is.

Lyle

Lyle,

This document talks about adding VLANs to a catalyst switch, removing them and adding ports to the VLANs all using SNMP.

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c6035.shtml

Also the following link shows how to get VLAN info from a switch using SNMP.

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a008015773e.shtml

Rgds

PD

Review Cisco Networking for a $25 gift card