mplsL3VpnVrfVpnId
MPLS-L3VPN-STD-MIB ·
.1.3.6.1.2.1.10.166.11.1.2.2.1.2
Object
The VPN ID as specified in [RFC2685]. If a VPN ID has not been specified for this VRF, then this variable SHOULD be set to a zero-length OCTET STRING.
Context
- MIB
- MPLS-L3VPN-STD-MIB
- OID
.1.3.6.1.2.1.10.166.11.1.2.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mplsL3VpnVrfEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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-L3VPN-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-L3VPN-STD-MIB::mplsL3VpnVrfVpnId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-L3VPN-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-L3VPN-STD-MIB::mplsL3VpnVrfVpnId.<mplsL3VpnVrfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-L3VPN-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-L3VPN-STD-MIB::mplsL3VpnVrfVpnId'
Syntax
- Source
- VPN-TC-STD-MIBVPNIdOrZero
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0
range: 7
Conformance
Member of
Compliance refinements
mplsL3VpnModuleReadOnlyCompliance
readonly
Write access is not required.