All MIBs › G6-IP-MIB › ipHostname
ipHostname
Module: G6-IP-MIB
OID (symbolic): G6-IP-MIB::ipHostname
OID (numeric): 1.3.6.1.4.1.3181.10.6.1.22.5
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: Defines the local hostname.
What is ipHostname?
Sets or reads the switch's local hostname, which typically appears in its management UI, DHCP client identification, and syslog messages.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.1.22.5 snmpwalk -v2c -c public <target> G6-IP-MIB::ipHostname
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3181.10.6.1.22.5.1 snmpget -v2c -c public <target> G6-IP-MIB::ipHostname.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.3181.10.6.1.22.5.1 s <value>
Start monitoring MICROSENS Generation 6 (G6) managed Ethernet switch (management IP config/ping/traceroute/DNS) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the G6-IP-MIB::ipHostname OID value, configure state conditions and alerts, and monitor any MICROSENS Generation 6 (G6) managed Ethernet switch (management IP config/ping/traceroute/DNS) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.3181 | microsens | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10 | managedSwitches | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10.6 | g6 | MICROSENS-G6-MIB |
| 1.3.6.1.4.1.3181.10.6.1 | device | G6-FACTORY-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3181.10.6.1.22 | ip | G6-IP-MIB |
| 1.3.6.1.4.1.3181.10.6.1.22.5 | ipHostname | G6-IP-MIB |