cabhCapMappingNumPorts
CABH-CAP-MIB ·
.1.3.6.1.4.1.4491.2.4.3.1.2.1.1.11
Object
column r/w
Unsigned32
This object represents number of ports
available for port translation
on both LAN and WAN side.
When both cabhCapMappingWanPort and
cabhCapMappingLanPort are set to zero,
the PS MUST ignore this MIB object, and
such a row entry represents either a DMZ entry
(when primary packet handling mode is NAPT) or
a NAT entry (when primary packet handling mode is
NAT).
When a row entry is created with non-zero
values for cabhCapMappingWanPort,
cabhCapMappingLanPort, and cabhCapMappingNumPorts
the PS MUST translate range of ports on
the WAN side (identified by cabhCapMappingWanPort
to cabhCapMappingWanPort + cabhCapMappingNumPorts-1)
to range of ports on the LAN side (identified by
cabhCapMappingLanPort to cabhCapMappingLanPort +
cabhCapMappingNumPorts-1).
The PS MUST ignore this MIB for a CAP mapping
entry with the value of cabhCapMappingProtocol
equal to icmp(2).
Context
- MIB
- CABH-CAP-MIB
- OID
.1.3.6.1.4.1.4491.2.4.3.1.2.1.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Default
1- Parent
- cabhCapMappingEntry
- 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 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CABH-CAP-MIB::cabhCapMappingNumPorts'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CABH-CAP-MIB::cabhCapMappingNumPorts.<cabhCapMappingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CABH-CAP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CABH-CAP-MIB::cabhCapMappingNumPorts'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-65535
Conformance
Member of