SNMP + STP

Post Reply
plegrand
Member
Posts: 18
Joined: 13 Mar 2017 11:19

SNMP + STP

Post by plegrand » 04 Apr 2019 08:32

Hello,
On my 6450, stp is on default configuration, i made nothing on it about stp.

i'm trying to get the stp state on OS6450.
On cli when i make "show vlan port", i've got all ports with stp state per vlan (status).

When i use from snmp "BRIDGE-MIB", "dot1dStpPortState", i haven't all ports and i cant understand why :

Code: Select all

Name/OID: dot1dStpPortState.3; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.7; Value (Integer): disabled (1)
Name/OID: dot1dStpPortState.9; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.11; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.12; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.13; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.16; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.18; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.24; Value (Integer): disabled (1)
Name/OID: dot1dStpPortState.25; Value (Integer): forwarding (5)
Name/OID: dot1dStpPortState.26; Value (Integer): disabled (1)
When i use from snmp "ALCATEL-IND1-VLAN-STP-MIB", " vStpPortState" i've got everything like "show vlan port" but it's seems to be deprecated.
What is the best way to have, from snmp, the same result as the "show vlan port" command ?
I want to fetch all "blocking" ports
Thanks for your help

silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1299
Joined: 01 Jul 2008 10:51
Location: Germany

Re: SNMP + STP

Post by silvio » 14 Apr 2019 07:36

I do not know the MIB for it - but AOS command is "show spantree ports blocking"

Post Reply

Return to “OmniSwitch 6450”