cmGwWanInetAddressType
CM-GATEWAY-MIB ·
.1.3.6.1.4.1.1166.1.19.52.1.1.4
Object
The address type assigned to the gateway WAN interface.
When cmGwWanDhcpcAdminStatus is enabled, this object is read-only.
Context
- MIB
- CM-GATEWAY-MIB
- OID
.1.3.6.1.4.1.1166.1.19.52.1.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- cmGwBaseMib
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::cmGwWanInetAddressType.0'
More examples
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::cmGwWanInetAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |
Conformance
Member of
Compliance refinements
cmGwCompliance
readonly
Only IPv4 address type is required to be supported. This can be
done by making this object read-only or only allowing the value
of ipv4 to be written.
done by making this object read-only or only allowing the value
of ipv4 to be written.