All MIBs › GANDALF-ENTERPRISE-MIB › gPortAdminState
gPortAdminState
Module: GANDALF-ENTERPRISE-MIB
OID (symbolic): GANDALF-ENTERPRISE-MIB::gPortAdminState
OID (numeric): 1.3.6.1.4.1.64.1.1.18.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Indicates whether the port is enabled or disabled. A disabled port neither transmit nor receives.
What is gPortAdminState?
A read-write control that sets whether a port is administratively enabled(3) or disabled(2) (other(1) covers any unrecognized state); a disabled port neither transmits nor receives traffic. An admin uses this to shut down a specific port, for example to isolate a misbehaving device without physically unplugging it.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.64.1.1.18.1.4 snmpwalk -v2c -c public <target> GANDALF-ENTERPRISE-MIB::gPortAdminState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.64.1.1.18.1.4.1 snmpget -v2c -c public <target> GANDALF-ENTERPRISE-MIB::gPortAdminState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.64.1.1.18.1.4.1 i <value>
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::gPortAdminState 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.4 | gPortAdminState | GANDALF-ENTERPRISE-MIB |