snMspsPortMediaType
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.29.90.1.12
Object
column r/w
Enumeration
Defines the currently active media type of the combo port. Write access is only allowed for combo ports, i.e. ports that consist of both a copper port and an optical port. not-available(0) - the port is not a combo port; configuration of media type is not possible auto (1) - the media type that has a connection is used; if both ports are connected, the optical port is preferred copper (2) - the copper port is used optical (3) - the optical port is used
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.29.90.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snMspsPortEntry
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 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsPortMediaType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsPortMediaType.<snMspsPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsPortMediaType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | not-available |
1 | auto |
2 | copper |
3 | optical |