serialPortNum
BASIS-SERIAL-MIB ·
.1.3.6.1.4.1.351.110.4.1.1.1.1
Object
column Integer32
This object identifies the serial port number.
The value 1 is used for Console Port.
The Console Port is also known as control port(CP).
The value 2 is used for Maintenance Port
and this can be used as SLIP
(Serial Line Internet Protocol) interface.
The Maintenance Port is also known as
Modem Port(MP).
Context
- MIB
- BASIS-SERIAL-MIB
- OID
.1.3.6.1.4.1.351.110.4.1.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- serialInterfaceEntry
- Groups
- 1
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 'BASIS-SERIAL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BASIS-SERIAL-MIB::serialPortNum'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BASIS-SERIAL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BASIS-SERIAL-MIB::serialPortNum.<serialPortNum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BASIS-SERIAL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BASIS-SERIAL-MIB::serialPortNum'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2
Conformance
Member of