mspCommand
PROTECTION-MIB ·
.1.3.6.1.4.1.1038.130.10.2.1.11
Object
Manual or forced commands can be apply to the protection switch. The forced and manual switch can be refused or cleared by equipment if a higher priority APS command is received or if the protection chanel is down. When this field is set to manual or forced, the mspTraffic field becomes read-write, and a set can be issued to specifie on which chanel the command does apply. Commands: LP (Lockout of Protection) LW (Lockout of Working channel) FSW (Forced Switch of a Working channel to protection) FSP (Forced Switch of a Protection channel to working) case 1+1 MSW (Manual Switch of a Working channel to protection) MSp (Manual Switch of a Protection channel to working) case 1+1 EXER (EXERcise)
Context
- MIB
- PROTECTION-MIB
- OID
.1.3.6.1.4.1.1038.130.10.2.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mspEntry
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 'PROTECTION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROTECTION-MIB::mspCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PROTECTION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROTECTION-MIB::mspCommand.<mspIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PROTECTION-MIB' -M '/opt/observium/mibs/sagemcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PROTECTION-MIB::mspCommand'
Syntax
- Source
- MspCommand
- Base type
Enumeration
Values & Constraints
Type Values
0 | clear |
1 | lw |
2 | lp |
3 | fsW |
4 | fsP |
5 | msW |
6 | msP |
7 | exer |