All MIBs › PORTSECURITY-PRIVATE-MIB › agentPortSecurityMACAddressAdd
agentPortSecurityMACAddressAdd
Module: PORTSECURITY-PRIVATE-MIB
OID (symbolic): PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd
OID (numeric): 1.3.6.1.4.1.7244.2.20.1.2.1.8
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: This MIB variable accepts a VLAN id and MAC address to be added to the list of statically locked MAC addresses on a port. The VLAN id and MAC address combination would be entered in a particular fashion like :- 2 a0:b0:c0:d1:e2:a1(the vlan-id and MAC address separated by a blank-space).
What is agentPortSecurityMACAddressAdd?
This read-write string accepts a VLAN ID and MAC address pair, entered as vlanid mac-address separated by a space, to add that address to this port's static allow-list. Admins use it as the action interface for statically whitelisting a specific device on a secured port, rather than relying on dynamic learning. Setting agentPortSecurityMACAddressAdd to 2 a0:b0:c0:d1:e2:a1 would add that MAC address on VLAN 2 to this port's list of permanently allowed static MAC addresses.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.7244.2.20.1.2.1.8 snmpwalk -v2c -c public <target> PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.7244.2.20.1.2.1.8.1 snmpget -v2c -c public <target> PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.7244.2.20.1.2.1.8.1 s <value>
Start monitoring Quanta Computer (QCI) managed Ethernet switch (MAC address port locking) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd OID value, configure state conditions and alerts, and monitor any Quanta Computer (QCI) managed Ethernet switch (MAC address port locking) 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.7244 | quanta | QUANTA-SWITCH-MIB |
| 1.3.6.1.4.1.7244.2 | switch | QUANTA-SWITCH-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.7244.2.20 | portSecurity | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1 | agentPortSecurityGroup | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1.2 | agentPortSecurityTable | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1.2.1 | agentPortSecurityEntry | PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.7244.2.20.1.2.1.8 | agentPortSecurityMACAddressAdd | PORTSECURITY-PRIVATE-MIB |