cmgwIpConfigSubnetMask
CISCO-MEDIA-GATEWAY-MIB ·
.1.3.6.1.4.1.9.9.324.1.1.3.1.7
Object
This object is used to specify the number of leading one
bits which from the mask to be logical-ANDed with the media
gateway address before being compared to the value in the
cmgwIpCofigAddress.
Any assignment (implicit or otherwise) of an instance of
this object to a value x must be rejected if the bitwise
logical-AND of the mask formed from x with the value
of the corresponding instance of the cmgwIpCofigAddress
object is not equal to cmgwIpCofigAddress.
Context
- MIB
- CISCO-MEDIA-GATEWAY-MIB
- OID
.1.3.6.1.4.1.9.9.324.1.1.3.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cMediaGwIpConfigEntry
- 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 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-MEDIA-GATEWAY-MIB::cmgwIpConfigSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-MEDIA-GATEWAY-MIB::cmgwIpConfigSubnetMask.<cmgwIndex>.<cmgwIpConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-MEDIA-GATEWAY-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-MEDIA-GATEWAY-MIB::cmgwIpConfigSubnetMask'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of