hwPortSecurityProtectAction

HUAWEI-L2MAM-MIB · .1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3

Object

column r/w Enumeration
The port security protect action of this entry. The
meanings of the values are:
 restrict(1)- shutdown the port
 protect(2)- discard the unknow source mac packets and not learn
 shutdown(3)- send trap
 noaction(4)- broadcast the packet .

Context

MIB
HUAWEI-L2MAM-MIB
OID
.1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3
Type
column
Access
readwrite
Status
current
Parent
hwPortSecurityEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction.<hwPortSecurityPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2MAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1restrict
2protect
3shutdown
4noaction

Conformance