mplsVpnVrfActiveInterfaces

MPLS-VPN-MIB · juniper variant · .1.3.6.1.3.118.1.2.2.1.6

Object

Total number of interfaces connected to this VRF with 
              
              
ifOperStatus = up(1). 
              
This counter should be incremented when:
              
a. When the ifOperStatus of one of the connected interfaces 
   changes from down(2) to up(1).
              
b. When an interface with ifOperStatus = up(1) is connected
   to this VRF.
              
This counter should be decremented when:
              
a. When the ifOperStatus of one of the connected interfaces 
   changes from up(1) to down(2).
              
b. When one of the connected interfaces with 
   ifOperStatus = up(1) gets disconnected from this VRF.

Context

MIB
MPLS-VPN-MIB
OID
.1.3.6.1.3.118.1.2.2.1.6
Type
column
Access
readonly
Status
current
Parent
mplsVpnVrfEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfActiveInterfaces'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-VPN-MIB::mplsVpnVrfActiveInterfaces.<mplsVpnVrfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-VPN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-VPN-MIB::mplsVpnVrfActiveInterfaces'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295

Conformance