Concept Guide
To congure 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 congure the above congured 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 congured, 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 conguring 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 100. MIB Objects for conguring 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
congured 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
congured 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 congured 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
Transceiver Monitoring
To retrieve and display the transceiver related parameters you can perform a snmpwalk transceiver table OID to retrieve transceiver details
as per the MIB. This enables transceiver monitoring and identication of potential issues related to the transceivers on a switch.
• Ensure that SNMP is enabled on the device before running a query to retrieve the transceiver information.
• If Tx/Rx power, temperature, current, or voltage is not supported on optics, snmp walk returns a null ("") value.
• If optics are not inserted in a port, empty string is displayed.
Example of SNMP Output for Transceiver Monitoring
Dell $ snmpwalk -v1 -c public 10.16.150.210 1.3.6.1.4.1.6027.3.11.1.3.1.1 | grep 2106373
SNMPv2-SMI::enterprises.6027.3.11.1.3.1.1.1.2113540 = STRING: "stack-unit-1 fixedmodule-5
820
Simple Network Management Protocol (SNMP)