VPN-MIB :: wanIfIndex

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › VPN-MIB › wanIfIndex

wanIfIndex

Module: VPN-MIB

OID (symbolic): VPN-MIB::wanIfIndex

OID (numeric): 1.3.6.1.4.1.1866.7.1.1.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: A unique value for each interface. 1 - Private port 2 - Public port

What is wanIfIndex?

Read-only index identifying which WAN interface this row describes: 1 for the private (LAN-facing) port, 2 for the public (Internet-facing) port on this VPN gateway.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1866.7.1.1.1.1
snmpwalk -v2c -c public <target> VPN-MIB::wanIfIndex

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.1866.7.1.1.1.1.1
snmpget -v2c -c public <target> VPN-MIB::wanIfIndex.1

Start monitoring VPN gateway / WAN access router (per-interface frame/error/discard counter status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the VPN-MIB::wanIfIndex OID value, configure state conditions and alerts, and monitor any VPN gateway / WAN access router (per-interface frame/error/discard counter status) from a single console.

OID Breakdown

Upper-level ancestors (6 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
Numeric OIDNameModule
1.3.6.1.4.1.1866vpnetVPN-MIB
1.3.6.1.4.1.1866.7vpnmibVPN-MIB
1.3.6.1.4.1.1866.7.1waninterfaceVPN-MIB
1.3.6.1.4.1.1866.7.1.1wanIfTableVPN-MIB
1.3.6.1.4.1.1866.7.1.1.1wanIfEntryVPN-MIB
1.3.6.1.4.1.1866.7.1.1.1.1wanIfIndexVPN-MIB