atiStkPortSecurityMode
AtiStackSwitch9424-MIB ·
.1.3.6.1.4.1.207.8.17.2.5.1.1
Object
column r/w
Enumeration
This object specifies the type of port security configured
on the switch.
Setting this object to 'automatic(1)' allows the ports to learn
new MAC addresses normally. In 'limited(2)' mode, only a
limited number of addresses are learned per port. In
'secured(3)' mode, the administrator is responsible for
configuring the MAC addresses manually per port. In 'locked(4)'
mode, the ports stop learning new addresses and those
addresses already learnt are locked.
By default, port security is set to 'automatic(1)' mode.
Context
- MIB
- AtiStackSwitch9424-MIB
- OID
.1.3.6.1.4.1.207.8.17.2.5.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- atiStkPortSecurityConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'AtiStackSwitch9424-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AtiStackSwitch9424-MIB::atiStkPortSecurityMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AtiStackSwitch9424-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AtiStackSwitch9424-MIB::atiStkPortSecurityMode.<atiStkSwModuleId>.<atiStkSwPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AtiStackSwitch9424-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AtiStackSwitch9424-MIB::atiStkPortSecurityMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | automatic |
2 | limited |
3 | secured |
4 | locked |