apDiscSetNetMask
APDISC-MIB ·
.1.3.6.1.4.1.272.4.49.3.1.6
Object
The new netmask of the access point to be used in the next set request. The access point uses DHCP if apDiscSetIpAddress, apDiscSetNetmask and apDiscSetGwAddress are all set to '0.0.0.0'.
Context
- MIB
- APDISC-MIB
- OID
.1.3.6.1.4.1.272.4.49.3.1.6- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- apDiscSetEntry
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 'APDISC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'APDISC-MIB::apDiscSetNetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'APDISC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'APDISC-MIB::apDiscSetNetMask.<apDiscSetIfIndex>.<apDiscSetProto>.<apDiscSetMacAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'APDISC-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'APDISC-MIB::apDiscSetNetMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4