All MIBs › HUAWEI-L2VPN-PW-APS-MIB › hwPwApsRole
hwPwApsRole
Module: HUAWEI-L2VPN-PW-APS-MIB
OID (symbolic): HUAWEI-L2VPN-PW-APS-MIB::hwPwApsRole
OID (numeric): 1.3.6.1.4.1.2011.5.25.119.10.1.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This object indicates the role of the PW APS.
What is hwPwApsRole?
This object reports whether this end of the pseudowire APS protection group is acting as master(1) or slave(2) (or unknown), determining which side controls protection-switching decisions. Admins check this to confirm the expected master/slave relationship is in effect, since a misconfigured or unexpected role can cause protection switching to behave unpredictably. For example, seeing this read master(1) on the PE that's supposed to control failover confirms the APS role assignment matches the intended design.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.119.10.1.1.1.2 snmpwalk -v2c -c public <target> HUAWEI-L2VPN-PW-APS-MIB::hwPwApsRole
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.119.10.1.1.1.2.1 snmpget -v2c -c public <target> HUAWEI-L2VPN-PW-APS-MIB::hwPwApsRole.1
Start monitoring Huawei router/PE device (L2VPN pseudowire Automatic Protection Switching) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2VPN-PW-APS-MIB::hwPwApsRole OID value, configure state conditions and alerts, and monitor any Huawei router/PE device (L2VPN pseudowire Automatic Protection Switching) from a single console.
OID Breakdown
Upper-level ancestors (10 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.119 | hwL2Vpn | HUAWEI-CCC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.119.10 | hwL2vpnPwAps | HUAWEI-L2VPN-PW-APS-MIB |
| 1.3.6.1.4.1.2011.5.25.119.10.1 | hwPwApsObjects | HUAWEI-L2VPN-PW-APS-MIB |
| 1.3.6.1.4.1.2011.5.25.119.10.1.1 | hwPwApsTable | HUAWEI-L2VPN-PW-APS-MIB |
| 1.3.6.1.4.1.2011.5.25.119.10.1.1.1 | hwPwApsEntry | HUAWEI-L2VPN-PW-APS-MIB |
| 1.3.6.1.4.1.2011.5.25.119.10.1.1.1.2 | hwPwApsRole | HUAWEI-L2VPN-PW-APS-MIB |