TN-MGMT-MIB :: tnSysPortMacLearningState

MIB Reference — IPNetwork Monitor

All MIBsTN-MGMT-MIBtnSysPortMacLearningState

tnSysPortMacLearningState

Module: TN-MGMT-MIB

OID (symbolic): TN-MGMT-MIB::tnSysPortMacLearningState

OID (numeric): 1.3.6.1.4.1.868.2.5.3.1.1.4.1.1.1

Node type: OBJECT-TYPE

Type: PortList

Access: read-write

Description:

This indicates the port's state on MAC learning. If the bit corresponding to the port is set, then learning is enabled else it is disabled.

What is tnSysPortMacLearningState?

This is a bitmask that shows which switch ports are learning MAC addresses from incoming frames. When learning is on, the switch notes which devices are on which ports; when off, the port is blocked or read-only. A network admin would enable learning on trunk ports but disable it on secure edge ports to prevent spoofing.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.1.4.1.1.1
snmpwalk -v2c -c public <target> TN-MGMT-MIB::tnSysPortMacLearningState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.868.2.5.3.1.1.4.1.1.1.1
snmpget -v2c -c public <target> TN-MGMT-MIB::tnSysPortMacLearningState.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.868.2.5.3.1.1.4.1.1.1.1 s <value>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.4privateBIANCA-BRICK-PPP-MIB
1.3.6.1.4.1enterprisesANIROOT-MIB
1.3.6.1.4.1.868transitionTRANSITION-SMI
1.3.6.1.4.1.868.2productsTRANSITION-SMI
1.3.6.1.4.1.868.2.5tnProductsTRANSITION-SMI
1.3.6.1.4.1.868.2.5.3tnMgmtMIBTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1tnMgmtObjectsTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1.1tnDevMgmtTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1.1.4tnDevSysMACLearningTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1.1.4.1tnDevSysMacLearningTableTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1.1.4.1.1tnDevSysMacLearningEntryTN-MGMT-MIB
1.3.6.1.4.1.868.2.5.3.1.1.4.1.1.1tnSysPortMacLearningStateTN-MGMT-MIB