HUAWEI-L2VPN-MIB :: hwL2VpnEnable

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-L2VPN-MIB › hwL2VpnEnable

hwL2VpnEnable

Module: HUAWEI-L2VPN-MIB

OID (symbolic): HUAWEI-L2VPN-MIB::hwL2VpnEnable

OID (numeric): 1.3.6.1.4.1.2011.5.25.119.7.1

Node type: OBJECT-TYPE

Type: EnabledStatus

Access: read-write

Description: This object indicates whether enabled mpls L2vpn capability or not.

What is hwL2VpnEnable?

This setting globally enables or disables the MPLS L2VPN capability on the Huawei device, the feature underpinning Layer-2 VPN services carried over an MPLS core. An administrator enables this before configuring any L2VPN services like VPWS or VPLS on the device, since those services depend on this capability being turned on first. For example, an ISP provisioning a new Layer-2 point-to-point service between two customer sites over their MPLS backbone would need this enabled before the specific VPWS instance could be configured.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.119.7.1
snmpwalk -v2c -c public <target> HUAWEI-L2VPN-MIB::hwL2VpnEnable

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.119.7.1.1
snmpget -v2c -c public <target> HUAWEI-L2VPN-MIB::hwL2VpnEnable.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.119.7.1.1 s <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwL2VpnEnable.1

Start monitoring Huawei networking equipment (global L2VPN enable/mode) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2VPN-MIB::hwL2VpnEnable OID value, configure state conditions and alerts, and monitor any Huawei networking equipment (global L2VPN enable/mode) from a single console.

OID Breakdown

Upper-level ancestors (10 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25.119hwL2VpnHUAWEI-CCC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.119.7hwL2VpnAttributeHUAWEI-L2VPN-MIB
1.3.6.1.4.1.2011.5.25.119.7.1hwL2VpnEnableHUAWEI-L2VPN-MIB