HP-SN-SWITCH-GROUP-MIB :: snSwPortLockAddressCount

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HP-SN-SWITCH-GROUP-MIB › snSwPortLockAddressCount

snSwPortLockAddressCount

Module: HP-SN-SWITCH-GROUP-MIB

OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snSwPortLockAddressCount

OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The number of source MAC addresses are allowed for a port. Writing 0 to this object will allow any number of addresses.

What is snSwPortLockAddressCount?

Sets the maximum number of source MAC addresses allowed to be learned on this port before port security kicks in; writing 0 removes the limit. An admin sets this to a small number like 1 or 2 on user-facing access ports to lock them to known devices and trigger a violation (and optional trap) if another MAC appears.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21
snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortLockAddressCount

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21.1
snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snSwPortLockAddressCount.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21.1 i <value>

Start monitoring HP ServerNet switch (Foundry-heritage) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-SN-SWITCH-GROUP-MIB::snSwPortLockAddressCount OID value, configure state conditions and alerts, and monitor any HP ServerNet switch (Foundry-heritage) from a single console.

OID Breakdown

Upper-level ancestors (14 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.11hpCLJ8500-MIB
1.3.6.1.4.1.11.2nmCLJ8500-MIB
1.3.6.1.4.1.11.2.3hpsystemCLJ8500-MIB
1.3.6.1.4.1.11.2.3.7netElementHP-BASE-MIB
1.3.6.1.4.1.11.2.3.7.11hpEtherSwitchHP-BASE-MIB
1.3.6.1.4.1.11.2.3.7.11.12hpSwitchCoreHP-SN-ROOT-MIB
1.3.6.1.4.1.11.2.3.7.11.12.1switchHP-SN-ROOT-MIB
1.3.6.1.4.1.11.2.3.7.11.12.1.3snSwitchHP-SN-ROOT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.11.2.3.7.11.12.1.3.3snSwPortInfoHP-SN-SWITCH-GROUP-MIB
1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1snSwPortInfoTableHP-SN-SWITCH-GROUP-MIB
1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1snSwPortInfoEntryHP-SN-SWITCH-GROUP-MIB
1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21snSwPortLockAddressCountHP-SN-SWITCH-GROUP-MIB