All MIBs › HM2-PLATFORM-PORTSECURITY-MIB › hm2AgentPortSecurityViolationTrapMode
hm2AgentPortSecurityViolationTrapMode
Module: HM2-PLATFORM-PORTSECURITY-MIB
OID (symbolic): HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityViolationTrapMode
OID (numeric): 1.3.6.1.4.1.248.12.20.1.2.1.4
Node type: OBJECT-TYPE
Type: HmEnabledStatus
Access: read-write
Description: This variable is used to enable or disable the sending of new violation traps designating when a packet with a disallowed MAC address is received on a locked port.
What is hm2AgentPortSecurityViolationTrapMode?
This HmEnabledStatus value, default disabled, turns on or off SNMP traps for port security violations on a given port. Enabling it lets an admin get notified in real time whenever a disallowed source MAC address arrives on a locked port, rather than having to poll violation counters. For example, enabling this on a server-room port would trigger an hm2AgentPortSecurityViolation trap the moment an unrecognized laptop is plugged in.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.4 snmpwalk -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityViolationTrapMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.4.1 snmpget -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityViolationTrapMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.12.20.1.2.1.4.1 s <value>
Start monitoring Hirschmann HiOS Platform2 industrial switch (port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityViolationTrapMode OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS Platform2 industrial switch (port security) from a single console.
OID Breakdown
Upper-level ancestors (8 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.248 | hirschmann | HIRSCHMANN-GENERIC-ERROR-MIB |
| 1.3.6.1.4.1.248.12 | hm2PlatformMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.12.20 | hm2PlatformPortSecurity | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1 | hm2AgentPortSecurityGroup | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2 | hm2AgentPortSecurityTable | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2.1 | hm2AgentPortSecurityEntry | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2.1.4 | hm2AgentPortSecurityViolationTrapMode | HM2-PLATFORM-PORTSECURITY-MIB |