tnPacketSwitchOperMode
TN-PACKETSWITCH-MIB ·
.1.3.6.1.4.1.7483.6.1.2.100.1.1.11
Object
The value of the object tnPacketSwitchOperMode specifies
the operational mode of the switch.
Note: this object is NOT applicable to centralized switched fabric
packet switches
Context
- MIB
- TN-PACKETSWITCH-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.100.1.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tnPacketSwitchConfigEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'TN-PACKETSWITCH-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PACKETSWITCH-MIB::tnPacketSwitchOperMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TN-PACKETSWITCH-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PACKETSWITCH-MIB::tnPacketSwitchOperMode.<tnSysSwitchId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TN-PACKETSWITCH-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TN-PACKETSWITCH-MIB::tnPacketSwitchOperMode'
Syntax
- Source
- TPacketSwitchOperMode
- Base type
Enumeration
Values & Constraints
Type Values
0 | unassigned |
1 | network |
2 | accessUplink |
3 | mixed |