All MIBs › NETGEAR-PORTSECURITY-PRIVATE-MIB › agentPortSecurityMACAddressAdd
agentPortSecurityMACAddressAdd
Module: NETGEAR-PORTSECURITY-PRIVATE-MIB
OID (symbolic): NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd
OID (numeric): 1.3.6.1.4.1.4526.11.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 DisplayString accepts a VLAN ID and MAC address, separated by a blank space (e.g. '2 a0:b0:c0:d1:e2:a1'), to add that address to the list of statically locked MAC addresses on a port. Admins write to this object as the mechanism for manually whitelisting a specific device on a specific port, rather than relying on dynamic learning. For example, an admin sets agentPortSecurityMACAddressAdd to '5 00:11:22:33:44:55' to permanently allow that MAC address on VLAN 5 for the associated port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.8 snmpwalk -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4526.11.20.1.2.1.8.1 snmpget -v2c -c public <target> NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.4526.11.20.1.2.1.8.1 s <value>
Start monitoring Netgear managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NETGEAR-PORTSECURITY-PRIVATE-MIB::agentPortSecurityMACAddressAdd OID value, configure state conditions and alerts, and monitor any Netgear managed switches 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.4526 | netgear | FSM726S-MIB |
| 1.3.6.1.4.1.4526.11 | ng700smartswitch | Netgear-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4526.11.20 | agentPortSecurity | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1 | agentPortSecurityGroup | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2 | agentPortSecurityTable | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2.1 | agentPortSecurityEntry | NETGEAR-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4526.11.20.1.2.1.8 | agentPortSecurityMACAddressAdd | NETGEAR-PORTSECURITY-PRIVATE-MIB |