You can poll the status of each Ethernet interface via SNMP requests. The details of the OIDs corresponding to the Ethernet interfaces are given below:
The EDR-903 MIB contains seven IfOperStatus OIDs. You can check the port status using the read-only OIDs IfOperStatus.5 to IfOperStatus.7 (188.8.131.52.184.108.40.206.1.8.5 to .220.127.116.11.18.104.22.168.1.8.7) as follows:
- IfOperStatus.5 = LAN port
- IfOperStatus.6 = WAN2 port
- IfOperStatus.7 = WAN1 port
The values indicate the following status:
Monitoring Updates to the IfOperStatus Values
A network management software (NMS) can be used to periodically get updates on the status of a switch. The periodicity varies for each NMS; it is 60 secs in the case of MXview. To continuously monitor the status of network devices, enable the SNMP trap service.