With IPHost Network Monitor you can run simple snmp requests against a D-Link device in your network.
swMSTPInstRootPort
Switch MSTP Inst Root Port
1.3.6.1.4.1.171.12.15.2.3.1.18
The port number of the port which offers the lowest cost path from this bridge to the CIST or MSTI root bridge.
Back to MSTP-MIB MIB page.
IPHost Network monitor allows you to monitor swMSTPInstRootPort on D-Link device via the SNMP protocol. Download IPHost Network Monitor (500 monitors for 30 days, 50 monitors free forever) to start monitoring D-Link routers right now.