All MIBs › ERI-DNX-APS-MIB › apsSwitchCmdStatus
apsSwitchCmdStatus
Module: ERI-DNX-APS-MIB
OID (symbolic): ERI-DNX-APS-MIB::apsSwitchCmdStatus
OID (numeric): 1.3.6.1.4.1.644.2.4.1.12.2.2.1.13
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This is the command/status value for the APS Status Row. The value used in a SET will be replaced by a response value in the GET RESPONSE indicating success or failure. These commands can only be SET in the Working APS Device.
Default Response State used in GET RESPONSE Command readyForRequest (0) initial default status for a row
APS Requests used in SET Command (1..99) manualSwitchReq (8) Manually Switches the specified working device to the protection device. forceSwitchReq (14) Switches the specified working device to the protection device. clearRequest (31) Clears all of the switch commands for the specified APS device.
Response States used in GET RESPONSE Command (100..199) manual-successful (108) Manual Switch command has been successfully processed force-successful (114) Forced Switch command has been successfully processed clear-successful (131) Switch commands been successfully cleared
Error Codes used in GET RESPONSE Command (400..799) err-gen-aps-req-error (400) Unknown APS request error occurred err-invalid-aps-card-type (402) Requests cannot be processed by the protection card err-field-cannot-be-set (406) Read-only field was included in SET request err-invalid-aps-command (408) Invalid APS request err-snmp-parse-failed (500) Agent could not parse variable err-invalid-snmp-type (501) Variable ASN type does not match Agent defined type err-invalid-snmp-var-size (502) Variable size is too big
What is apsSwitchCmdStatus?
This read-write enumerated value is the command/response field used to issue APS switch actions such as manualSwitchReq(8), forceSwitchReq(14), or clearRequest(31) on the working device, returning a success code like force-successful(114) or an error such as err-invalid-aps-card-type(402) if issued against the wrong (protection) card. An admin uses this to manually force or clear a protection switch during maintenance, always issuing it against the working device as the MIB requires. For example, setting apsSwitchCmdStatus to forceSwitchReq(14) manually forces traffic from a working card onto its protection partner ahead of a planned hardware swap.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.644.2.4.1.12.2.2.1.13 snmpwalk -v2c -c public <target> ERI-DNX-APS-MIB::apsSwitchCmdStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.644.2.4.1.12.2.2.1.13.1 snmpget -v2c -c public <target> ERI-DNX-APS-MIB::apsSwitchCmdStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.644.2.4.1.12.2.2.1.13.1 i <value>
Start monitoring Eastern Research Inc. DNX digital cross-connect system (Automatic Protection Switching) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ERI-DNX-APS-MIB::apsSwitchCmdStatus OID value, configure state conditions and alerts, and monitor any Eastern Research Inc. DNX digital cross-connect system (Automatic Protection Switching) from a single console.
OID Breakdown
Upper-level ancestors (11 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.644 | eriEnterpriseRoot | ERI-ROOT-SMI |
| 1.3.6.1.4.1.644.2 | eriProducts | ERI-ROOT-SMI |
| 1.3.6.1.4.1.644.2.4 | dnx | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1 | sysMgr | ERI-DNX-SMC-MIB |
| 1.3.6.1.4.1.644.2.4.1.12 | utilities | ERI-DNX-SMC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.644.2.4.1.12.2 | dnxAPS | ERI-DNX-APS-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.2.2 | apsStatusTable | ERI-DNX-APS-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.2.2.1 | apsStatusEntry | ERI-DNX-APS-MIB |
| 1.3.6.1.4.1.644.2.4.1.12.2.2.1.13 | apsSwitchCmdStatus | ERI-DNX-APS-MIB |