portSecurityMaxSrcAddr
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.10.1.1.7
Object
column r/w
Integer32
The maximum number (N) of MAC address to be secured on the port. The first N MAC addresses learned or configured are made secured. If the user wants to make the port secured for more than one MAC address, the portSecurityExtTable is used in addition to portSecuritySecureSrcAddr. If changing the maximum number N of Mac address to M, which is smaller than N, some MAC addresses are removed. Setting this value to 1, the portSecurityExtTable will not be used for this port and the corresponding entries for this port will also be removed from portSecurityExtTable.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.10.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- portSecurityEntry
- Groups
- 1
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 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portSecurityMaxSrcAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::portSecurityMaxSrcAddr.<portSecurityModuleIndex>.<portSecurityPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::portSecurityMaxSrcAddr'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-1025
Conformance
Member of