ctNatLocalMask
CTRON-NAT-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.1.1.22.1.6
Object
This is the subnet mask of the interface which serves as the gateway for the private network. With ctNatLocalIP, it serves to define the subnet of the hosts on the network. The preferred mask is 255.255.255.0, 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.6- 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::ctNatLocalMask'
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::ctNatLocalMask.<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::ctNatLocalMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4