Which layer's device the switch in system
Sources for this description
D-Link official switch MIBsD-Link MIB copies (LibreNMS/Observium Community)
OID reference
1.3.6.1.4.1.171.10.97.2.1.1.8
Which layer's device the switch in system
Identification
{1 3 6 1 4 1 171 10 97 2 1 1 8}
Definitions may combine these properties differently.
Numbers refer to source variants above. Each value is shown only for variants that define it. Notes below names come from selected MIB definitions.
| Value | Name and source notes | Source variants |
|---|---|---|
| 1 | layer2 Layer 2 Switch | 1, 2 |
| 2 | layer3 Layer 3 Switch | 1, 2 |
| 3 | router Router | 2 |
At least one MIB declaration places this object in a scalar group. A scalar instance uses the suffix .0.
snmpget [connection options] DEVICE .1.3.6.1.4.1.171.10.97.2.1.1.8.0
Replace the placeholders with your connection and authentication options. Available permissions and device support can differ from the MIB.
Properties come from available MIB definitions. Actual device support and access can differ. See source records below for original files and qualifications.
Available source records contain 2 distinct definitions; some records may not include a definition.
mySwitchLayer OBJECT-TYPE
SYNTAX INTEGER {
layer2 (1), -- Layer 2 Switch
layer3 (2) -- Layer 3 Switch
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Which layer's device the switch in system "
::= { mySystemMIBObjects 8 }mySwitchLayer OBJECT-TYPE
SYNTAX INTEGER {
layer2 (1), -- Layer 2 Switch
layer3 (2), -- Layer 3 Switch
router(3) -- Router
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Which layer's device the switch in system "
::= { mySystemMIBObjects 8 }
Meaning
Identical descriptions are grouped. Different wording and device-specific notes are retained.
Which layer's device the switch in system
D-Link official switch MIBsD-Link MIB copies (LibreNMS/Observium Community)
Evidence
Matching descriptions are grouped; open a group to compare definitions and supporting files.
Status in source: current.
Names: mySwitchLayer
{
"smi_kind": "OBJECT-TYPE",
"definition": [
"mySwitchLayer",
"OBJECT-TYPE",
"SYNTAX",
"INTEGER",
"{",
"layer2",
"(",
"1",
")",
",",
"layer3",
"(",
"2",
")",
"}",
"MAX-ACCESS",
"read-only",
"STATUS",
"current",
"DESCRIPTION",
"\"Which layer's device the switch in system \"",
"::=",
"{",
"mySystemMIBObjects",
"8",
"}"
],
"syntax_tree": [
[
"SimpleSyntax",
"INTEGER",
[
"enumSpec",
[
[
"layer2",
1
],
[
"layer3",
2
]
]
]
],
null,
[
"MaxAccessPart",
"read-only"
],
[
"Status",
"current"
],
[
"DESCRIPTION",
"Which layer's device the switch in system"
],
null,
null,
null,
null
]
}Module: MY-SYSTEM-MIB
See published definition above
{'MY-SMI': ['myMgmt'], 'SNMPv2-TC': ['TruthValue', 'DisplayString', 'RowStatus'], 'SNMPv2-SMI': ['MODULE-IDENTITY', 'OBJECT-TYPE', 'NOTIFICATION-TYPE', 'Integer32', 'Counter32'], 'SNMPv2-CONF': ['MODULE-COMPLIANCE', 'OBJECT-GROUP', 'NOTIFICATION-GROUP']}Related source files and packages:
Status in source: current.
Names: mySwitchLayer
{
"smi_kind": "OBJECT-TYPE",
"definition": [
"mySwitchLayer",
"OBJECT-TYPE",
"SYNTAX",
"INTEGER",
"{",
"layer2",
"(",
"1",
")",
",",
"layer3",
"(",
"2",
")",
",",
"router",
"(",
"3",
")",
"}",
"MAX-ACCESS",
"read-only",
"STATUS",
"current",
"DESCRIPTION",
"\"Which layer's device the switch in system \"",
"::=",
"{",
"mySystemMIBObjects",
"8",
"}"
],
"syntax_tree": [
[
"SimpleSyntax",
"INTEGER",
[
"enumSpec",
[
[
"layer2",
1
],
[
"layer3",
2
],
[
"router",
3
]
]
]
],
null,
[
"MaxAccessPart",
"read-only"
],
[
"Status",
"current"
],
[
"DESCRIPTION",
"Which layer's device the switch in system"
],
null,
null,
null,
null
]
}Module: MY-SYSTEM-MIB
See published definition above
{'MY-SMI': ['myMgmt'], 'SNMPv2-TC': ['DisplayString'], 'SNMPv2-SMI': ['MODULE-IDENTITY', 'OBJECT-TYPE', 'NOTIFICATION-TYPE', 'Integer32', 'Unsigned32'], 'SNMPv2-CONF': ['MODULE-COMPLIANCE', 'OBJECT-GROUP']}Related source files and packages:
Same file in 3610-MIB.rar.
Module: MY-SYSTEM-MIB
{'MY-SMI': ['myMgmt'], 'SNMPv2-TC': ['TruthValue', 'DisplayString', 'RowStatus'], 'SNMPv2-SMI': ['MODULE-IDENTITY', 'OBJECT-TYPE', 'NOTIFICATION-TYPE', 'Integer32', 'Counter32'], 'SNMPv2-CONF': ['MODULE-COMPLIANCE', 'OBJECT-GROUP', 'NOTIFICATION-GROUP']}Related source files and packages:
Same file in 3610.zip.
Same file in 3610.zip.
Vendor MIB copy from the Observium Community archive. D-Link support.
Module: DES7200-SYSTEM-MIB
{'SNMPv2-TC': ['DisplayString'], 'SNMPv2-SMI': ['MODULE-IDENTITY', 'OBJECT-TYPE', 'NOTIFICATION-TYPE', 'Integer32', 'Unsigned32'], 'DES7200-SMI': ['myMgmt'], 'SNMPv2-CONF': ['MODULE-COMPLIANCE', 'OBJECT-GROUP']}Related source files and packages:
Registration