apDiscSetGwAddress
APDISC-MIB ·
.1.3.6.1.4.1.272.4.49.3.1.7
Object
The new gateway address of the access point to be used in the next set request. The gateway address must be in the network defined by apDiscSetIpAddress and the apDiscSetNetmask. 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.7- 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::apDiscSetGwAddress'
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::apDiscSetGwAddress.<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::apDiscSetGwAddress'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4