optApsConfigSwitchCommand
SL-OPT-APS-MIB ·
.1.3.6.1.4.1.4515.1.11.1.1.1.17
Object
column r/w
Enumeration
A switch command initiates one external request for evaluation
(read-write).
(1) Clear - Clears all switch commands on the channel.
(2) Lockout Of Protection - Prevents any of the working channels
from switching to the protection connection by issuing a Lockout of
Protection request [unless a request of equal priority (i.e., a
Lockout of Protection) is already in effect].
(3) Forced Switch of Working (to Protection) - Switches the
working channel to the protection connection unless a request of equal
or higher priority is in effect, by issuing a Forced Switch
request.
(4) Forced Switch of Protection (to Working) - Switches the
working channel back from the protection connection to the working
connection unless a request of equal or higher priority is in effect,
by issuing a Forced Switch request. This command applies only
in the 1+1 architecture.
(5) Manual Switch of Working (to Protection) - Switches the
working channel to the protection connection unless a request of equal
or higher priority is in effect, by issuing a Manual Switch
request.
(6) Manual Switch of Protection (to Working) - Switches the
working channel back from the protection connection to the working
connection unless a request of equal or higher priority is in effect,
by issuing a Manual Switch request. This command applies only
in the 1+1 architecture for the null.
Reading this variable always returns zero (0).
Context
- MIB
- SL-OPT-APS-MIB
- OID
.1.3.6.1.4.1.4515.1.11.1.1.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optApsConfigEntry
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 'SL-OPT-APS-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-OPT-APS-MIB::optApsConfigSwitchCommand'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-OPT-APS-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-OPT-APS-MIB::optApsConfigSwitchCommand.<optApsConfigUserWorkingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-OPT-APS-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-OPT-APS-MIB::optApsConfigSwitchCommand'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear |
2 | lockoutOfProtection |
3 | forcedSwitchOfWorking |
4 | forcedSwitchOfProtection |
5 | manualSwitchOfWorking |
6 | manualSwitchOfProtection |