All MIBs › MY-SYSTEM-MIB › mySwitchLayer
mySwitchLayer
Module: MY-SYSTEM-MIB
OID (symbolic): MY-SYSTEM-MIB::mySwitchLayer
OID (numeric): 1.3.6.1.4.1.171.10.97.2.1.1.8
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Which layer's device the switch in system
What is mySwitchLayer?
Reports whether this device is operating as a Layer 2 switch, a Layer 3 switch, or a full router, telling an admin at a glance what routing/switching capability level the box is running in.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.1.1.8 snmpwalk -v2c -c public <target> MY-SYSTEM-MIB::mySwitchLayer
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.1.1.8.1 snmpget -v2c -c public <target> MY-SYSTEM-MIB::mySwitchLayer.1
Start monitoring D-Link managed Ethernet switch (system identity/hardware status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-SYSTEM-MIB::mySwitchLayer OID value, configure state conditions and alerts, and monitor any D-Link managed Ethernet switch (system identity/hardware status) from a single console.
OID Breakdown
Upper-level ancestors (10 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.1 | mySystemMIB | MY-SYSTEM-MIB |
| 1.3.6.1.4.1.171.10.97.2.1.1 | mySystemMIBObjects | MY-SYSTEM-MIB |
| 1.3.6.1.4.1.171.10.97.2.1.1.8 | mySwitchLayer | MY-SYSTEM-MIB |