agentPortSecurityMACAddressAdd
EdgeSwitch-PORTSECURITY-PRIVATE-MIB ·
.1.3.6.1.4.1.4413.1.1.20.1.2.1.8
Object
This MIB variable accepts a VLAN id, MAC address and the sticky value to be added to the list of statically locked MAC addresses on a port. The VLAN id, MAC address and sticky value combination would be entered in a particular fashion like :- 2 a0:b0:c0:d1:e2:a1 1(the vlan-id, MAC address and sticky value separated by blank-spaces).
Context
- MIB
- EdgeSwitch-PORTSECURITY-PRIVATE-MIB
- OID
.1.3.6.1.4.1.4413.1.1.20.1.2.1.8- Type
- column
- Access
- readwrite
- 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 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.