Concept Guide

MIB Object OID Access or Permission Description
dellNetPortSecSecureStaticMac
AddrTable.
Enabling and viewing SNMP for static MAC addresses
You can enable and view SNMP for static MAC addresses using snmpset and snmpget command. Following example shows how to
enable and view the static MAC addresses.
To congure a static MAC address (00:00:00:00:11:11) on a vlan (100) on interface whose ifIndex is (2101252), use the following command.
snmpset -v 2c -c public 10.16.129.26 1.3.6.1.4.1.6027.3.31.1.2.2.1.4.6.0.0.0.0.17.17.100.2101252
i 4
To remove the congure the above congured static MAC address, use the following command.
snmpset -v 2c -c public 10.16.129.26 1.3.6.1.4.1.6027.3.31.1.2.2.1.4.6.0.0.0.0.17.17.100.2101252
i 6
To retrieve the static MAC address congured, use the following command.
snmpget -v 2c -c public 10.16.129.26 1.3.6.1.4.1.6027.3.31.1.2.2.1.4.6.0.0.0.0.17.17.100.2101252
MIB objects for conguring MAC addresses
This section describes about the MIB table dellNetPortSecSecureMacAddrTable that contains the MAC database of the system.
The table is indexed by the following parameters:
MAC Address (Octet string of length 6 and MAC address ( in decimal) as value
VLAN ID
Table 115. MIB Objects for
conguring MAC addresses
MIB Object OID Access or Permission Description
dellNetSecureMacIfIndex 1.3.6.1.4.1.6027.3.31.1.3.1.1.3 read-only Shows in which interface the
dellNetSecureMacAddress is
congured or learnt.
dellNetSecureMacAddrType 1.3.6.1.4.1.6027.3.31.1.3.1.1.4 read-only Indicates if the secure MAC address is
congured as a static, dynamic, or sticky.
Viewing the Details of MAC addresses
You can retrieve the dellNetSecureMacAddrType details, use the snmpwalk command.
To retrieve the dellNetSecureMacAddrType on a MAC address (00:00:00:00:11:11) learnt or congured on a VLAN 10, use the
following command.
snmpwalk -v 2c -c public 10.16.129.24 1.3.6.1.4.1.6027.3.31.1.3.1.1.4.6.0.0.0.0.17.17.10
SNMPv2-SMI::enterprises.6027.3.31.1.3.1.1.4.6.0.0.0.0.17.17.10 = INTEGER: 1
896
Simple Network Management Protocol (SNMP)