Setup Guide
To congure dellNetPortSecIfSecureMacLimit as 100 on an 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.1.1.3. 2101252 i 100
To remove dellNetPortSecIfSecureMacLimit conguration on an 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.1.1.3. 2101252 i 2147483647
To retrieve dellNetPortSecIfSecureMacLimit congured on an interface whose ifIndex is 2101252, use the following command.
snmpwalk -v 2c -c public 10.16.129.26 1.3.6.1.4.1.6027.3.31.1.2.1.1.3. 2101252
SNMPv2-SMI::enterprises.6027.3.31.1.2.1.1.3. 2101252 = INTEGER: 10
MIB objects for conguring MAC addresses
This section describes about the MIB objects dellNetPortSecSecureStaticMacAddrTable to congure and un-congure static
MAC addresses in the system. The OID of this MIB table is 1.3.6.1.4.1.6027.3.31.1.2.2.
The table is indexed by the following parameters:
• MAC Address (Octet string of length 6 and MAC address ( in decimal) as value
• VLAN ID
• Interface Index
NOTE
:
MAC addresses cannot be retrieved using dellNetPortSecSecureStaticMacAddrTable and
dellNetPortSecSecureMacAddrTable. These tables are valid only if port security feature is enabled globally in the system.
Table 111. MIB Objects for conguring MAC addresses
MIB Object OID Access or Permission Description
dellNetPortSecIfSecureStaticMa
cRowStatus
1.3.6.1.4.1.6027.3.31.1.2.2.1.4 read-write Allows adding or deleting entries to or
from the table
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 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
Simple Network Management Protocol (SNMP)
893