rcPortBackupSwitchCount
SWITCH-PORTBACKUP-MIB ·
.1.3.6.1.4.1.8886.6.1.40.1.1.1.6
Object
The count of switch between primary port and standby port.
Context
- MIB
- SWITCH-PORTBACKUP-MIB
- OID
.1.3.6.1.4.1.8886.6.1.40.1.1.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- rcPortBackupEntry
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 'SWITCH-PORTBACKUP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTBACKUP-MIB::rcPortBackupSwitchCount'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-PORTBACKUP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-PORTBACKUP-MIB::rcPortBackupSwitchCount.<rcPortBackupPrimaryPortIndex>.<rcPortBackupStandbyPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-PORTBACKUP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-PORTBACKUP-MIB::rcPortBackupSwitchCount'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647