cnatConfStaticLocalPortTo
CISCO-IETF-NAT-MIB ·
.1.3.6.1.4.1.9.10.77.1.1.2.1.6
Object
column r/w
Integer32
If this conceptual row describes a basic NAT, then the value of this object is '0'. If this conceptual row describes NAPT, then the value of this object specifies the last port number in the range of ports being mapped. If the translation specifies a single port, then the value of this object is equal to the value of cnatConfStaticLocalPortFrom.
Context
- MIB
- CISCO-IETF-NAT-MIB
- OID
.1.3.6.1.4.1.9.10.77.1.1.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cnatConfStaticAddrMapEntry
- 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 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-NAT-MIB::cnatConfStaticLocalPortTo'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-NAT-MIB::cnatConfStaticLocalPortTo.<cnatConfName>.<cnatConfStaticAddrMapName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-NAT-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-NAT-MIB::cnatConfStaticLocalPortTo'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of