cmGwVirtualServerEnable
CM-GATEWAY-MIB ·
.1.3.6.1.4.1.1166.1.19.52.1.1001.1.2.1.8
Object
Set to true to enable this virtual server (Port Forwarding) entry. Set to false to disable this virtual server (Port Forwarding) entry.
Context
- MIB
- CM-GATEWAY-MIB
- OID
.1.3.6.1.4.1.1166.1.19.52.1.1001.1.2.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cmGwVirtualServerEntry
- 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 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwVirtualServerEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwVirtualServerEnable.<cmGwVirtualServerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-GATEWAY-MIB::cmGwVirtualServerEnable'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of