All MIBs › GANDALF-ENTERPRISE-MIB › gPortName
gPortName
Module: GANDALF-ENTERPRISE-MIB
OID (symbolic): GANDALF-ENTERPRISE-MIB::gPortName
OID (numeric): 1.3.6.1.4.1.64.1.1.18.1.6
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: This attribute is a text string up to 32 characters, of locally determined significance.
What is gPortName?
A writable, up-to-32-character label an admin can assign to an individual port for local identification, such as noting which device or room it connects to. It has no effect on switching behavior, it's purely for the admin's own reference in management tools.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.64.1.1.18.1.6 snmpwalk -v2c -c public <target> GANDALF-ENTERPRISE-MIB::gPortName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.64.1.1.18.1.6.1 snmpget -v2c -c public <target> GANDALF-ENTERPRISE-MIB::gPortName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.64.1.1.18.1.6.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> gPortName.1
Start monitoring Legacy Gandalf Technologies hub equipment with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the GANDALF-ENTERPRISE-MIB::gPortName OID value, configure state conditions and alerts, and monitor any Legacy Gandalf Technologies hub equipment from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.64 | gandalf | GANDALF-ENTERPRISE-MIB |
| 1.3.6.1.4.1.64.1 | gandalf_hub | GANDALF-ENTERPRISE-MIB |
| 1.3.6.1.4.1.64.1.1 | hmBasicCapability | GANDALF-ENTERPRISE-MIB |
| 1.3.6.1.4.1.64.1.1.18 | hmBasicPortTable | GANDALF-ENTERPRISE-MIB |
| 1.3.6.1.4.1.64.1.1.18.1 | hmBasicPortEntry | GANDALF-ENTERPRISE-MIB |
| 1.3.6.1.4.1.64.1.1.18.1.6 | gPortName | GANDALF-ENTERPRISE-MIB |