cabhCapMappingWanPort
CABH-CAP-MIB ·
.1.3.6.1.4.1.4491.2.4.3.1.2.1.1.4
Object
The TCP/UDP port number or ICMP Identifier on the WAN side. A port number/Identifier of 0 indicates either a NAT or a DMZ mapping. A non-zero port number/Identifier indicates a NAPT mapping. If the value of cabhCapMappingNumPorts MIB object is non-zero this MIB represents a starting TCP/UDP port number on the WAN side for which a mapping entry is created.
Context
- MIB
- CABH-CAP-MIB
- OID
.1.3.6.1.4.1.4491.2.4.3.1.2.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Default
0- 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::cabhCapMappingWanPort'
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::cabhCapMappingWanPort.<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::cabhCapMappingWanPort'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535
Conformance
Member of