swPortCtrlLockState

DES3225G-MIB · .1.3.6.1.4.1.171.11.24.3.2.1.8

Object

column mandatory r/w Enumeration
The state of this entry.  When the swDevCtrlTableLockState object is 
enabled, the state is not changed. When swVlanInfoStatus is in
MAC-Base VLAN mode, this object is always disabled.The meanings of
the values are:
              
other(1)   - this entry is currently in use but the conditions under
            which it will remain so are different from each of the 
            following values.
disable(2) - Port lock funtion disable.
enable(3) -  Locking a port. Once the port is locked, it will not
            learn new SA addresses, and drop unknown/moved-SA packets
            forwarding to/from such ports. This is a way to prevent
            undesired traffic from being received or transmmited on
            the port. Note that locking a port doesn't lock the MAC
            address entries associated with the locked port, i.e. the
            existing address entries of the locked port will be age
            out even though it is locked.

Context

MIB
DES3225G-MIB
OID
.1.3.6.1.4.1.171.11.24.3.2.1.8
Type
column
Access
readwrite
Status
mandatory
Parent
swPortCtrlEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swPortCtrlLockState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DES3225G-MIB::swPortCtrlLockState.<swPortCtrlModuleIndex>.<swPortCtrlPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DES3225G-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DES3225G-MIB::swPortCtrlLockState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2disable
3enable