portSecurityAdminStatus
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.10.1.1.3
Object
column r/w
Enumeration
When security is enabled, source MAC addresses are monitored for all packets received on the port. If an address is detected that does not match the portSecuritySecureSrcAddr and any corresponding portSecurityExtSecureSrcAddr, of which portSecurityExtModuleIndex and portSecurityExtPortIndex in the portSecurityExtTable is the same as the portSecurityModuleIndex and portSecurityPortIndex, and the number of MAC address learned or configured for this port is equal to portSecurityMaxSrcAddr, the port will shutdown or drop packets. If the portSecurityViolationPolicy is set to shutdown(2), the port is shutdown and a linkDown trap is sent; otherwise the port drops the invalid packets.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.10.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- portSecurityEntry
- Groups
- 2
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::portSecurityAdminStatus'
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::portSecurityAdminStatus.<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::portSecurityAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
Conformance
Member of