portMapOperationalMode
CTRON-PORTMAP-MIB ·
.1.3.6.1.4.1.52.4.1.1.16.1.1.1.4
Object
column mandatory
r/w
Integer32
This indicates the current operational mode of this port.
This value is a logical OR of the current operational mode,
where each technology is given the values below:
other(1) Undefined, or ability not known
Auto-Negotiation(2) Auto-Negotiation
10BASE-T(4) 10BASE-T
100BASE-TX(8) 100BASE-TX
1000BASE(16) 1000BASE
For example, a port that has auto-negotiated to a speed of
100BASE-TX would have a value of 10 (2 + 8).
Context
- MIB
- CTRON-PORTMAP-MIB
- OID
.1.3.6.1.4.1.52.4.1.1.16.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- portMapEntry
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 'CTRON-PORTMAP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-PORTMAP-MIB::portMapOperationalMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-PORTMAP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-PORTMAP-MIB::portMapOperationalMode.<portMapIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-PORTMAP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-PORTMAP-MIB::portMapOperationalMode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1023