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 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1866 | vpnet | VPN-MIB |
| 1.3.6.1.4.1.1866.7 | vpnmib | VPN-MIB |
| 1.3.6.1.4.1.1866.7.1 | waninterface | VPN-MIB |
| 1.3.6.1.4.1.1866.7.1.1 | wanIfTable | VPN-MIB |
| 1.3.6.1.4.1.1866.7.1.1.1 | wanIfEntry | VPN-MIB |
| 1.3.6.1.4.1.1866.7.1.1.1.1 | wanIfIndex | VPN-MIB |