rcPortSecMacAgingTime
SWITCH-PORTSECURITY-MIB ·
.1.3.6.1.4.1.8886.6.1.49.1.1
Object
scalar mandatory
r/w
Integer32
The interval in which the interface is secured. After the expiration of the time, the corresponding SecureMacAddress will be removed. If the value of this object is 0, the aging mechanism is disabled.
Context
- MIB
- SWITCH-PORTSECURITY-MIB
- OID
.1.3.6.1.4.1.8886.6.1.49.1.1- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- rcPortSecCfg
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 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTSECURITY-MIB::rcPortSecMacAgingTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTSECURITY-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTSECURITY-MIB::rcPortSecMacAgingTime'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1440