All MIBs › SW-STRCTURE-MIB › swStructDevPortEncodingFactor
swStructDevPortEncodingFactor
Module: SW-STRCTURE-MIB
OID (symbolic): SW-STRCTURE-MIB::swStructDevPortEncodingFactor
OID (numeric): 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: The factor to encode the global port ID from unit ID and the local port ID. This global port ID is required to access the bridge MIB and spanning tree MIB defined by the standard body. This global port ID will provide a unigue port ID for each port across the entire device. Example: supoposed that the encoding factor is 16, then port 2 located on module 2 will be encoded as port 18
What is swStructDevPortEncodingFactor?
Reports the multiplier the switch uses to combine a module's slot number and a port's local number into the single global port ID used by standard Bridge and Spanning Tree MIBs; for example, with a factor of 16, port 2 on module 2 is addressed as global port 18.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1.1.3 snmpwalk -v2c -c public <target> SW-STRCTURE-MIB::swStructDevPortEncodingFactor
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1.1.3.1 snmpget -v2c -c public <target> SW-STRCTURE-MIB::swStructDevPortEncodingFactor.1
Start monitoring D-Link ES2000 'Golf' series switch (Marconi-branded OEM, device-type/structure identification) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SW-STRCTURE-MIB::swStructDevPortEncodingFactor OID value, configure state conditions and alerts, and monitor any D-Link ES2000 'Golf' series switch (Marconi-branded OEM, device-type/structure identification) from a single console.
OID Breakdown
Upper-level ancestors (14 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.326 | fore | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2 | systems | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20 | ethernet | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1 | edge | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2 | golf | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2 | golfcommon | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2 | fore_mgmt | COMMON-GOLF-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28 | es2000Mgmt | SW-COMMON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1 | swStructure | SW-STRCTURE-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1.1 | swStructInfo | SW-STRCTURE-MIB |
| 1.3.6.1.4.1.326.2.20.1.2.2.2.28.1.1.3 | swStructDevPortEncodingFactor | SW-STRCTURE-MIB |