All MIBs › NEXANS-BM-MIB › portAdminState
portAdminState
Module: NEXANS-BM-MIB
OID (symbolic): NEXANS-BM-MIB::portAdminState
OID (numeric): 1.3.6.1.4.1.266.20.3.1.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: A value indicating the current state of the port. A SET to this object enables (2) or disables (3) the port. The possible values returned by GET are: allwaysEnable(1) The port is always enabled (usually the uplink port). enable(2) The port is active to transmit or receive data. disable(3) The port is inactive and unable to transmit or receive data. securityDisable(4) The port has been automatically disabled because of security violation. loopDisable(5) The port has been automatically disabled because of the active loop protection. bpduDisable(6) The port has been automatically disabled because a BPDU has been received on a Spanning Tree disabled port. udldDisable(7) The port has been automatically disabled because of the UDLD function. linkFlapDisable(8) The port has been automatically disabled because of the link flap protection. errorCountDisable(9) The port has been automatically disabled because of the error counter incrementation detection. sfpErrorDisable(10) The port has been automatically disabled because of wromg SFP inserted or SFP malfunction. redundanyLoopDisable(11) The port has been automatically disabled because of loop detection while spannung tree was enabled
What is portAdminState?
Reports and controls whether a port is enabled or disabled, and if disabled, why: a SET of enable(2)/adminDisable(3) manually toggles the port, while read-only states like securityDisable(4), loopDisable(5), bpduDisable(6), udldDisable(7), linkFlapDisable(8), errorCountDisable(9), sfpErrorDisable(10), or redundanyLoopDisable(11) show the port was automatically shut down by a specific protection feature.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.266.20.3.1.1.4 snmpwalk -v2c -c public <target> NEXANS-BM-MIB::portAdminState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.266.20.3.1.1.4.1 snmpget -v2c -c public <target> NEXANS-BM-MIB::portAdminState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.266.20.3.1.1.4.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> portAdminState.1
Start monitoring Nexans Advanced Networking Solutions switching equipment with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NEXANS-BM-MIB::portAdminState OID value, configure state conditions and alerts, and monitor any Nexans Advanced Networking Solutions switching equipment 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.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.266 | nexansANS | NEXANS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.266.20 | bmSwitchMIB | NEXANS-BM-MIB |
| 1.3.6.1.4.1.266.20.3 | bmSwitchPort | NEXANS-BM-MIB |
| 1.3.6.1.4.1.266.20.3.1 | bmSwitchPortTable | NEXANS-BM-MIB |
| 1.3.6.1.4.1.266.20.3.1.1 | bmSwitchPortEntry | NEXANS-BM-MIB |
| 1.3.6.1.4.1.266.20.3.1.1.4 | portAdminState | NEXANS-BM-MIB |