All MIBs › NMS-SWITCH-MIB › portSecurityMaxHost
portSecurityMaxHost
Module: NMS-SWITCH-MIB
OID (symbolic): NMS-SWITCH-MIB::portSecurityMaxHost
OID (numeric): 1.3.6.1.4.1.11606.10.9.1.1.2.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The maximum number hosts which can be allowed to be used. a value bigger than portSecurityMaxHostCapability means unlimited max-host value.
What is portSecurityMaxHost?
This read-write value sets the maximum number of hosts allowed on this port under dynamic port security, where a value larger than portSecurityMaxHostCapability effectively means unlimited. An admin lowers this on a port expected to serve only a small, known number of devices, to detect or block unexpected additional devices being plugged in. For example, setting portSecurityMaxHost to 1 on a single-workstation office port ensures only the first device to connect gets learned, and any second device attempting to use that port is blocked.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11606.10.9.1.1.2.1.1.5 snmpwalk -v2c -c public <target> NMS-SWITCH-MIB::portSecurityMaxHost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11606.10.9.1.1.2.1.1.5.1 snmpget -v2c -c public <target> NMS-SWITCH-MIB::portSecurityMaxHost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11606.10.9.1.1.2.1.1.5.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> portSecurityMaxHost.1
Start monitoring nms Co., Ltd. network switch (port security/switching fabric, vendor unidentified) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NMS-SWITCH-MIB::portSecurityMaxHost OID value, configure state conditions and alerts, and monitor any nms Co., Ltd. network switch (port security/switching fabric, vendor unidentified) from a single console.
OID Breakdown
Upper-level ancestors (9 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.11606 | pbn | PBN-ROOT |
| 1.3.6.1.4.1.11606.10 | nms | NMS-SMI |
| 1.3.6.1.4.1.11606.10.9 | nmsMgmt | NMS-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11606.10.9.1 | switchMIB | NMS-SWITCH-MIB |
| 1.3.6.1.4.1.11606.10.9.1.1 | switchMIBObjects | NMS-SWITCH-MIB |
| 1.3.6.1.4.1.11606.10.9.1.1.2 | switchModules | NMS-SWITCH-MIB |
| 1.3.6.1.4.1.11606.10.9.1.1.2.1 | portSecurityTable | NMS-SWITCH-MIB |
| 1.3.6.1.4.1.11606.10.9.1.1.2.1.1 | portSecurityEntry | NMS-SWITCH-MIB |
| 1.3.6.1.4.1.11606.10.9.1.1.2.1.1.5 | portSecurityMaxHost | NMS-SWITCH-MIB |