All MIBs › PORT-MIB › opticalPortMode
opticalPortMode
Module: PORT-MIB
OID (symbolic): PORT-MIB::opticalPortMode
OID (numeric): 1.3.6.1.4.1.5812.3.7.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The mode of operation of the port. This is set initially by the user and can only be changed by the user. It is not a status. By default, all optical ports in the system come up as working. They have to be explicitly configured to work in a protected mode or to be turned off.
What is opticalPortMode?
This sets the operating mode of an optical port to disabled, working, or protected, and by default all optical ports come up as working unless explicitly reconfigured. An admin sets a port to protected when it serves as the backup path in a protection scheme, or disabled to take it fully out of service. Because the description notes this is purely a user-set configuration rather than a derived status, an admin must actively change it to move a port between roles.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5812.3.7.1.2 snmpwalk -v2c -c public <target> PORT-MIB::opticalPortMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5812.3.7.1.2.1 snmpget -v2c -c public <target> PORT-MIB::opticalPortMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5812.3.7.1.2.1 i <value>
Start monitoring Coriolis Networks optical switch/chassis line cards (per-port optical status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PORT-MIB::opticalPortMode OID value, configure state conditions and alerts, and monitor any Coriolis Networks optical switch/chassis line cards (per-port optical status) from a single console.
OID Breakdown
Upper-level ancestors (8 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.5812 | coriolisMibs | CORIOLIS-MIB |
| 1.3.6.1.4.1.5812.3 | port | CORIOLIS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.5812.3.7 | opticalPortTable | PORT-MIB |
| 1.3.6.1.4.1.5812.3.7.1 | opticalPortEntry | PORT-MIB |
| 1.3.6.1.4.1.5812.3.7.1.2 | opticalPortMode | PORT-MIB |