ciscoTsPortCfgSecurityMode
CISCO-TS-STACK-MIB ·
.1.3.6.1.4.1.9.5.32.4.1.1.26
Object
column mandatory
r/w
Enumeration
Port security mode is used to disable address learning at a port where an allow-source or allow-destination MAC address filter is configured. A value of normal(1) indicates that the port is not configured for security. A value of secure-src-addrs(2) indicates that learning for source addresses is disabled. A value of secure-dest-addrs(3) indicates that learning for destination addresses is disabled. A value of secure-src-and-dest-addrs(4) indicates that learning is disabled for both source and destination addresses.
Context
- MIB
- CISCO-TS-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.32.4.1.1.26- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ciscoTsPortCfgEntry
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-TS-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-TS-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode.<ciscoTsStackSwitchNumber>.<ciscoTsPortCfgNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-TS-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | secure-src-addrs |
3 | secure-dest-addrs |
4 | secure-src-and-dest-addrs |