Administrator Guide

Table 110. Interface level MIB Objects for Port Security
MIB Object OID Access or Permission Description
dellNetPortSecIfPortSecurityEn
able
1.3.6.1.4.1.6027.3.31.1.2.1.1.1 read-only Specifies if the port security feature is
enabled or disabled on an interface.
dellNetPortSecIfPortSecuritySta
tus
1.3.6.1.4.1.6027.3.31.1.2.1.1.2 read-only Represents the port security status of
an interface.
dellNetPortSecIfSecureMacLimit 1.3.6.1.4.1.6027.3.31.1.2.1.1.3 read-write Maximum number (N) of MAC
addresses to be secured on the
interface
dellNetPortSecIfCurrentMacCou
nt
1.3.6.1.4.1.6027.3.31.1.2.1.1.4 read-only Current number of MAC addresses
learnt or configured on this interface
dellNetPortSecIfStationMoveEn
able
1.3.6.1.4.1.6027.3.31.1.2.1.1.5 read-write Enable or disable station movement on
the dynamically secured MAC addresses
learnt on the interface.
dellNetPortSecIfSecureMacViola
tionAction
1.3.6.1.4.1.6027.3.31.1.2.1.1.6 read-write Determines the action to be taken when
MAC limit violation occurs in the
system.
dellNetPortSecIfStmvViolationA
ction
1.3.6.1.4.1.6027.3.31.1.2.1.1.7 read-write Determines the action to be taken when
either dynamic or static MAC limit
violation occurs in the system.
dellNetPortSecIfStickyEnable 1.3.6.1.4.1.6027.3.31.1.2.1.1.8 read-write Enables or disables sticky port security
feature on this interface.
dellNetPortSecIfClearSecureMa
cAddresses
1.3.6.1.4.1.6027.3.31.1.2.1.1.9 read-write Deletes secure MAC addresses based
on the specified type.
dellNetPortSecIfResetViolationS
tatus
1.3.6.1.4.1.6027.3.31.1.2.1.1.10 read-write Resets the violation status of an
interface based on the specified type.
dellNetPortSecIfSecureMacAge
Enable
1.3.6.1.4.1.6027.3.31.1.2.1.1.11 read-write Enables aging of the dynamically
secured MAC addresses learnt on the
interface.
Enabling and viewing SNMP for port security
To enable or view DELL-NETWORKING-PORT-SECURITY-MIB, configure snmp-server in read-write mode using the snmp-server
community public rw command. You can enable the port security feature on the Dell EMC Networking OS using the snmpset
command. Also, you can view if the port security feature is enabled or disabled using the snmpwalk command.
To configure 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 configuration 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 configured 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 configuring MAC addresses
This section describes about the MIB objects dellNetPortSecSecureStaticMacAddrTable to configure and un-configure 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:
780
Simple Network Management Protocol (SNMP)