cfgFwNatOutSourceRewritePort
WESTERMO-SW6-FIREWALL-MIB ·
.1.3.6.1.4.1.16177.1.400.2.1.1.2.2.1.12
Object
column r/w
Integer32
Set the source-port with which outbound traffic shall be rewritten.
Can only be used with TCP, UDP or TCP/UDP. Set to -1 to disable
source port rewrite.
**Note:** Usually you want this disabled.
Applies to AP and STA.
Context
- MIB
- WESTERMO-SW6-FIREWALL-MIB
- OID
.1.3.6.1.4.1.16177.1.400.2.1.1.2.2.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cfgFwNatOutboundTableEntry
- 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 'WESTERMO-SW6-FIREWALL-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-FIREWALL-MIB::cfgFwNatOutSourceRewritePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'WESTERMO-SW6-FIREWALL-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WESTERMO-SW6-FIREWALL-MIB::cfgFwNatOutSourceRewritePort.<cfgFwNatOutIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WESTERMO-SW6-FIREWALL-MIB' -M '/opt/observium/mibs/westermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WESTERMO-SW6-FIREWALL-MIB::cfgFwNatOutSourceRewritePort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-65535
Conformance
Member of