All MIBs › SNMPv2-MIB › sysName
sysName
Module: SNMPv2-MIB
OID (symbolic): SNMPv2-MIB::sysName
OID (numeric): 1.3.6.1.2.1.1.5
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description: An administratively-assigned name for this managed node. By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
What is sysName?
This is a text string (up to 255 characters) containing the device's hostname or fully-qualified domain name; operators can configure it. Network engineers rely on this to match SNMP data to device records in their inventory or naming system. For example, you might see 'switch-core-01.example.com' or 'router-dc1-edge-02'.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.1.5 snmpwalk -v2c -c public <target> SNMPv2-MIB::sysName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.1.5.1 snmpget -v2c -c public <target> SNMPv2-MIB::sysName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.1.5.1 s <value>
Example output:
SNMPv2-MIB::sysName.0 = STRING: dashboard
Start monitoring vendor-neutral, standards-based MIB, any SNMP-capable device, servers/routers/switches/printers (system identity/uptime status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SNMPv2-MIB::sysName OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, any SNMP-capable device, servers/routers/switches/printers (system identity/uptime status) from a single console.
OID Breakdown
Upper-level ancestors (7 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.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.1 | system | AIMOS |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.1.5 | sysName | SNMPv2-MIB |