h3cSecureAddrMACStatus
H3C-PORT-SECURITY-MIB ·
.1.3.6.1.4.1.2011.10.2.26.1.2.2.1.3
Object
column r/w
Enumeration
The state of the mac address assigned to this port.
addressBlackhole (1) the mac address is a blackhole address,
Each packet whose source address is equal to this address will be
dropped by the agent.
addressUserConfig (2) the mac address configed by user with this state
are preserved across power cycles and resets.
addressDot1xAuth (3) the mac address is authorized by 802.1x authenticator,
User can not configure this mac address. This value is used for GET
and GETNEXT operation.
addressRALM (4) the mac address is authorized by RALM authenticator,
User can not configure this mac address. This value is used for GET
and GETNEXT operation.
Context
- MIB
- H3C-PORT-SECURITY-MIB
- OID
.1.3.6.1.4.1.2011.10.2.26.1.2.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cSecureAddressEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureAddrMACStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-PORT-SECURITY-MIB::h3cSecureAddrMACStatus.<ifIndex>.<h3cSecureAddrMAC>.<h3cSecureAddrVlanID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-PORT-SECURITY-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-PORT-SECURITY-MIB::h3cSecureAddrMACStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | addressBlackhole |
2 | addressUserConfig |
3 | addressDot1xAuth |
4 | addressRALM |