fgVpnTunEntPhase2Index
FORTINET-FORTIGATE-MIB ·
.1.3.6.1.4.1.12356.101.12.2.2.1.22
Object
column FORTINET-CORE-MIBFnIndex
An index value that uniquely identifies a Phase2 SA on a VPN tunnel within the fgVpnTunTable
Context
- MIB
- FORTINET-FORTIGATE-MIB
- OID
.1.3.6.1.4.1.12356.101.12.2.2.1.22- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- fgVpnTunEntry
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 'FORTINET-FORTIGATE-MIB' -M '/opt/observium/mibs/fortinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORTINET-FORTIGATE-MIB::fgVpnTunEntPhase2Index'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FORTINET-FORTIGATE-MIB' -M '/opt/observium/mibs/fortinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORTINET-FORTIGATE-MIB::fgVpnTunEntPhase2Index.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FORTINET-FORTIGATE-MIB' -M '/opt/observium/mibs/fortinet:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FORTINET-FORTIGATE-MIB::fgVpnTunEntPhase2Index'
Syntax
- Source
- FORTINET-CORE-MIBFnIndex
- Base type
Integer32
Values & Constraints
Enumerated Values
0 | ipv4 |
1 | ppp |
2 | ipv6 |
3 | ipv4v6 |
Type Constraints
range: 0..2147483647