ctNatLocalIP
CTRON-NAT-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.1.1.22.1.5
Object
This is the IP address of the interface which serves as the gateway for the private network. With ctNatLocalMask, it serves to define the subnet of the hosts on the network. The preferred address is 192.168.254.254, part of the class C net reserved by RFC1597.
Context
- MIB
- CTRON-NAT-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.1.1.22.1.5- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ctNatConfigEntry
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 'CTRON-NAT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-NAT-MIB::ctNatLocalIP'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-NAT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-NAT-MIB::ctNatLocalIP.<ctNatConfigId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-NAT-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-NAT-MIB::ctNatLocalIP'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4