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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3 | hpsystem | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3 | snSwPortInfo | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1 | snSwPortInfoTable | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1 | snSwPortInfoEntry | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.3.1.1.21 | snSwPortLockAddressCount | HP-SN-SWITCH-GROUP-MIB |