Switches, Hubs, and Modems
1753818 Members
9337 Online
108805 Solutions
New Discussion

SNMP - State of Port, Operational Mode, Port tagging

 
Etienne222
Occasional Advisor

Re: SNMP - State of Port, Operational Mode, Port tagging

1-
State of the port as defined by STP :
Name : dot1dStpPortState
OID : 1.3.6.1.2.1.17.2.15.1.3
Value:
1 disabled
2 blocking
3 listening
4 learning
5 forwarding
6 broken

2-
Name: dot1qVlanStaticUntaggedPorts
Oid : 1.3.6.1.2.1.17.7.1.4.3.1.4

Really easy to use, the hex string output refer to bit position :
ff ff ff ff
1111 1111 1111 1111

In order, each port represent one bit.

3-
Operation mode of a port

-Duplex Mode
OID :1.3.6.1.2.1.10.7.2.1.19[dot3StatsDuplexStatus]
1 unknown
2 halfduplex
3 fullduplex

-Current Speed of the port
OID: 1.3.6.1.2.1.31.1.1.1.15[ifHighSpeed]