smNewGateway
BLADE-MIB ·
.1.3.6.1.4.1.2.3.51.2.22.3.2.1.2.1.1.8
Object
The switch module new IP gateway. Before setting this object to a new value, smNewIpconfigEnableDisable object must first be set to disabled. NOTE: This MIB object can not be set if the AMM grants the switch module Protected Mode permission and the switch module goes into Protected Mode. NOTE: This MIB object can not be set if the switch module is in Stacking Mode, and IP Configuration is protected. NOTE: This MIB object is not applicable to modules that are running in Network Address Translation (NAT) Mode.
Context
- MIB
- BLADE-MIB
- OID
.1.3.6.1.4.1.2.3.51.2.22.3.2.1.2.1.1.8- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- smNewIPInfoEntry
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 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::smNewGateway'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BLADE-MIB::smNewGateway.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BLADE-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BLADE-MIB::smNewGateway'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4