serialIfL2Mode
BIANCA-BRICK-SERIAL-MIB ·
.1.3.6.1.4.1.272.4.25.1.1.10
Object
column mandatory
r/w
Enumeration
The layer 2 mode. This value has influence on the HDLC address field (first byte of a HDCL frame). When configured as DTE the address in a command frame is 0x01, when configured as DCE it is 0x03. For response frames it is vice versa. When configured as AUTO, layer 2 is set to the same as connector is set. dte(1) HDLC address 0x01 dce(2) HDLC address 0x03 auto(3) same as conector = DTE=0x01 DCE=0x03
Context
- MIB
- BIANCA-BRICK-SERIAL-MIB
- OID
.1.3.6.1.4.1.272.4.25.1.1.10- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- serialIfEntry
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 'BIANCA-BRICK-SERIAL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-SERIAL-MIB::serialIfL2Mode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-SERIAL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-SERIAL-MIB::serialIfL2Mode.<serialIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-SERIAL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-SERIAL-MIB::serialIfL2Mode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dte |
2 | dce |
3 | auto |