agentPortSecurityStaticMACs
PORTSECURITY-PRIVATE-MIB ·
.1.3.6.1.4.1.7244.2.20.1.2.1.6
Object
column RFC1213-MIBDisplayString
This variable displays the statically locked MAC addresses for port. The list displayed in a particular fashion : 2 a0:b1:c2:d1:e3:a1,11 a0:b1:c2:d3:e4:f5 (i.e., VLAN MAC pairs separated by commas).
Context
- MIB
- PORTSECURITY-PRIVATE-MIB
- OID
.1.3.6.1.4.1.7244.2.20.1.2.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- agentPortSecurityEntry
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 'PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PORTSECURITY-PRIVATE-MIB::agentPortSecurityStaticMACs'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PORTSECURITY-PRIVATE-MIB::agentPortSecurityStaticMACs.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PORTSECURITY-PRIVATE-MIB::agentPortSecurityStaticMACs'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.