x21IfL2Mode
BIANCA-BRICK-X21-MIB ·
.1.3.6.1.4.1.272.4.10.1.1.6
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(1) the address in a command frame is 0x01, when configured as DCE(2) it is 0x03. For response frames it is vice versa. When configured as AUTO(3), layer 2 is set to the same mode like L1Mode is set.
Context
- MIB
- BIANCA-BRICK-X21-MIB
- OID
.1.3.6.1.4.1.272.4.10.1.1.6- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- x21IfEntry
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-X21-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-X21-MIB::x21IfL2Mode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BIANCA-BRICK-X21-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BIANCA-BRICK-X21-MIB::x21IfL2Mode.<x21IfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BIANCA-BRICK-X21-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BIANCA-BRICK-X21-MIB::x21IfL2Mode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dte |
2 | dce |
3 | auto |