All MIBs › CISCO-STACK-MIB › portSecurityAdminStatus
portSecurityAdminStatus
Module: CISCO-STACK-MIB
OID (symbolic): CISCO-STACK-MIB::portSecurityAdminStatus
OID (numeric): 1.3.6.1.4.1.9.5.1.10.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is portSecurityAdminStatus?
Read-write control that enables or disables port security, which monitors source MAC addresses on the port and flags/blocks any address not in the allowed secure list.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.5.1.10.1.1.3 snmpwalk -v2c -c public <target> CISCO-STACK-MIB::portSecurityAdminStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.5.1.10.1.1.3.1 snmpget -v2c -c public <target> CISCO-STACK-MIB::portSecurityAdminStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.5.1.10.1.1.3.1 i <value>
Start monitoring Cisco Catalyst switch (legacy/mid-generation) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACK-MIB::portSecurityAdminStatus OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (legacy/mid-generation) from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.5.1 | ciscoStackMIB | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.10 | securityGrp | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.10.1 | portSecurityTable | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.10.1.1 | portSecurityEntry | CISCO-STACK-MIB |
| 1.3.6.1.4.1.9.5.1.10.1.1.3 | portSecurityAdminStatus | CISCO-STACK-MIB |