All MIBs › CISCO-TS-STACK-MIB › ciscoTsPortCfgSecurityMode
ciscoTsPortCfgSecurityMode
Module: CISCO-TS-STACK-MIB
OID (symbolic): CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode
OID (numeric): 1.3.6.1.4.1.9.5.32.4.1.1.26
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is ciscoTsPortCfgSecurityMode?
This read-write enum disables MAC address learning on this port in one of several directions, working alongside a configured allow-source or allow-destination MAC filter: normal(1) means no port security is active, secure-src-addrs(2) stops learning new source addresses, secure-dest-addrs(3) stops learning destination addresses, and secure-src-and-dest-addrs(4) stops both. An admin locking down a port to a known, fixed set of devices would combine this with a MAC filter table entry so the port never learns and forwards to any unauthorized station. Setting secure-src-and-dest-addrs(4) on a port meant for a single dedicated server prevents the switch from ever learning a rogue device plugged into that same port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.5.32.4.1.1.26 snmpwalk -v2c -c public <target> CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.5.32.4.1.1.26.1 snmpget -v2c -c public <target> CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.5.32.4.1.1.26.1 i <value>
Start monitoring Cisco stackable terminal server (async port aggregation, legacy) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-TS-STACK-MIB::ciscoTsPortCfgSecurityMode OID value, configure state conditions and alerts, and monitor any Cisco stackable terminal server (async port aggregation, legacy) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.5 | workgroup | CISCO-ES-STACK-MIB |
| 1.3.6.1.4.1.9.5.32 | tsStack | CISCO-STACK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.5.32.4 | ciscoTsPort | CISCO-TS-STACK-MIB |
| 1.3.6.1.4.1.9.5.32.4.1 | ciscoTsPortCfgTable | CISCO-TS-STACK-MIB |
| 1.3.6.1.4.1.9.5.32.4.1.1 | ciscoTsPortCfgEntry | CISCO-TS-STACK-MIB |
| 1.3.6.1.4.1.9.5.32.4.1.1.26 | ciscoTsPortCfgSecurityMode | CISCO-TS-STACK-MIB |