Interfaces Group Variables
Access authorizations for all variables are read only with values from internal sources. The number in brackets refers to the port number (1 - Port 1, 2 - Port 2, 3 - Internal port)
If nothing else is specified, the value of a variable is 0
Variable | Data Type | Value | Description |
---|---|---|---|
ifNumber | integer | 3 | Number of network interfaces present. Constant |
IfIndex(1..3) | integer | ifIndex(1) = 1 ifIndex(2) = 2 ifIndex(3) = 3 | Unique value for each interface. Constant |
ifDescr(1..3) | octetstring | ifDescr(1) = “port-001” ifDescr(2) = “port-002” ifDescr(3) = “port-internal” | Information about the interface. ifDescr(1) must equal "port-001"and ifDescr(2) = "port-002" to be compatible with the STEP7 topology scanner. |
ifType(1..3) | integer | 6 (“Ethernet-csmacd”) | Type of interface |
ifMtu(1..3) | integer | 1500 | Size of largest datagram that can be sent/received on the interface, specified in octets |
ifSpeed(1..3) | gauge | 0 or 100 000 000 | Data transfer rate of the Ethernet port in bits per second. The speed is only shown for ports where the link status is "up". |
ifPhysAddress(1..3) | octetstring | MAC address for the ports | |
ifAdminStatus(1..3) | integer | 1 (“up”) | Desired state of the Ethernet port |
ifOperStatus(1..3) | integer | 1 (“up”) or 2 (“down”) | Current operating state of the Ethernet port. (Link = "up", No link = "down".) |
ifLastChange(1..3) | timeticks | Time when state changed, except ifLastChange(3) = 0 | Time (since start-up) when the port changed to its current state, see previous variable. Indicated in multiples of hundredths of a second |
ifInOctets(1..3) | counter | ifInOctets(1..3) = Number of octets | Total number of octets received on the interface, including framing characters |
ifInUcastPkts(1..3) | counter | ifInUcastPkts(1..3) = Number of unicast packets | Number of subnetwork-unicast packets delivered to a higher-layer protocol |
ifInNUcastPkts(1..3) | counter | ifInNUcastPkts(1..3) = Number of non-unicast packets | Number of non-unicast (i.e. subnetwork-broadcast or subnetwork-multicast) delivered to a higher-layer protocol. |
ifInDiscards(1..3) | counter | ifInDiscards(1..3) = number of discarded packets | Number of inbound packets which were discarded, without any error detected, not to be delivered to a higher-layer protocol. (One reason to discard packages might be to free up buffer space) |
ifInErrors(1..3) | counter | ifInErrors(1..3) = number of error packets | Number of inbound packets with errors |
ifInUnknownProtos(1..3) | counter | ifInUnknownProtos(1..3) = Number of unknown packets | Number of packets received via the interface, discarded because of an unknown or unsupported protocol. |
ifOutOctets(1..3) | counter | ifOutOctets(1..3) = Number of octets | Total number of octets transmitted out from the interface, including framing characters |
ifOutUcastPkts(1..3) | counter | ifOutUcastPkts(1..3) = Number of unicast packets | Total number of packets that higher-level protocols requested to be transmitted to a subnetwork-unicast address, including those that were discarded or not sent. |
ifOutNUcastPkts(1..3) | counter | ifOutNUcastPkts(1..3) = Number of non-unicast packets | Total number of packets that higher-level protocols requested be transmitted to a non-unicast (i.e. a subnetwork-broadcast or subnetwork-multicast) address, including those that were discarded or not sent. |
ifOutDiscards(1..3) | counter | ifOutDiscards(1..3) = Number of discarded packets | Number of outbound packets which were discarded without any error detected, not to be transmitted. (One reason to discard packages might be to free up buffer space) |
ifOutErrors(1..3) | counter | ifOutErrors(1..3) = Number of error packets | Number of outbound packets that could not be transmitted due to errors |
ifOutQLen(1..3) | gauge | ifOutQLen(1..3) = Number of packets in queue | Length of the output packet queue (in packets), |
ifSpecific(1..3) | objid | .0.0 | Reference to MIB definitions specific to the particular media being used to realize the interface. Here no reference is available, so a fixed value is used for all ports. |