agentGlobalPortSecurityMode
PORTSECURITY-PRIVATE-MIB ·
.1.3.6.1.4.1.7244.2.20.1.1
Object
scalar r/w
Enumeration
Mode showing whether at the global level, port security is enabled or not.
Context
- MIB
- PORTSECURITY-PRIVATE-MIB
- OID
.1.3.6.1.4.1.7244.2.20.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentPortSecurityGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PORTSECURITY-PRIVATE-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PORTSECURITY-PRIVATE-MIB::agentGlobalPortSecurityMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |