Report port status if it is err-disabled

4 posts · Closed

r1993r
18 Aug 2020

Would it be possible to report Port Status if it is err-disabled? Currently, only UP/DOWN for Admin Status and Status are shown. Perhaps Status could be UP/DOWN/ERR.

GigabitEthernet1/0/13 is down, line protocol is down (err-disabled). On this, it would also be awesome if we could then shut/unshut the port to re-enable it.

Port control and perhaps even interface Vlan assignment would be a very useful feature!

Andrew SoftPerfect
24 Aug 2020

It seems that the err-disabled state comes from either portAdditionalOperStatus (1.3.6.1.4.1.9.5.1.4.1.1.23) or cErrDisableIfStatusTable (1.3.6.1.4.1.9.9.548.1.3.1.1) from Cisco extensions.

I will check if we can query these OIDs and display the additional information where available in the State column.

Andrew SoftPerfect
25 Aug 2020

We have just added the getting of the err-disable status from cErrDisableIfStatusTable. It should now display additional information under the Status column.

There was a bit of guesswork in the implementation as we don't have a switch supporting CISCO-ERR-DISABLE-MIB for testing, so please let me know how the new builds work for you.

Regarding the actual control features to bring a port up or down, at the moment the Port Mapper is more of a "read-only" tool. It reads and displays your device configuration, but it does not change anything. As far as I understand, most network admins manage their switches from a CLI shell, so you can launch a terminal and connect directly to a switch from the Port Mapper. Then simply enter the necessary commands.

r1993r
7 Sep 2020

Works great, thanks!! Awesome... just getting better and better :-)

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Switch Port Mapper if you have a similar question.