### info

Use the info command to:

- Display device/terminal server network statistics tables

- Clear network statistics tables

The statistics in network statistics tables are those gathered since the tables were last cleared. Normal users can view network statistics tables. Administrator (root) privileges are required to clear them.

#### Command Syntax

##### Clear Syntax

Enter the info command as shown below to clear network statistics tables:

`info clear`

##### Display Syntax: Network Statistics

Enter the info command as shown below to display statistics for IP, ICMP, TCP, UDP, Ethernet and Serial.

`info protocol_table
info interface_table`

#### Command Fields

Command Field | Description
clear | Clears all network statistics tables.
protocol_table | Specifies one of the following tables:
Table | Contents
icmp | ICMP statistics
ip | IP statistics
tcp | TCP statistics
udp | UDP statistics
interface_table | Specifies one of the following tables:
Table | Contents
ether | Statistics collected on the Ethernet interface (PortServer TS 8/16)
network | Statistics collected on the Ethernet interface (Digi One RealPort, PortServer TS 2/4)
serial[:range] | Statistics collected on the serial ports. If no range is specified, the number of received bytes and transmitted bytes is displayed for all ports. If a range is specified, detailed information is displayed for each port in range. This option is not supported on Digi One RealPort or PortServer TS 2/4.

#### Command Examples

##### Displaying the IP Table

In this example, the info command displays the IP table.

`info ip`

##### Clear All Network Statistics Tables

In this example, the info command clears all network statistics tables.

`info clear`

#### Command Output: ICMP

This section describes the fields displayed when you issue the info icmp command.

icmpInMsgs | ICMP messages received, including those counted by icmpInErrors
icmpInEchos | ICMP Echo Request messages received
icmpInEchoRp | ICMP Echo Reply messages received
icmpInDstUnrec | ICMP Destination Unreachable messages received
icmpInRedirect | ICMP Redirect messages received
icmpInParmProb | ICMP Parameter Problem messages received
icmpInTimeExcd | ICMP Time Exceeded messages received
icmpInSrcQuenc | ICMP Source Quench messages received
icmpInTimest | ICMP Timestamp Request messages received
icmpInTimestRp | ICMP Timestamp Reply messages received
icmpInAdrMsk | ICMP Address Mask Request messages received
icmpInAdrMskRp | ICMP Address Mask Reply messages received
icmpInErrors | ICMP messages received with ICMP-specific errors (for example, bad ICMP checksums or length)
icmpOutMsgs | ICMP messages that PortServer attempted to send, including those counted by icmpOutErrors
icmpOutEchoRp | ICMP Echo Reply messages sent
icmpOutEchos | ICMP Echo Request messages sent
icmpOutDstUnre | ICMP Destination Unreachable messages sent
icmpOutRedirec | ICMP Redirect messages sent
icmpOutParmPro | ICMP Parameter Problem messages sent
icmpOutTimeExc | ICMP Time Exceeded messages sent
icmpOutSrcQuen | ICMP Source Quench messages sent
icmpOutTimestR | ICMP Timestamp Reply messages sent
icmpOutTimest | ICMP Timestamp (request) messages sent
icmpOutAdrMskR | TICMP Address Mask Reply messages sent
icmpOutAdrMsk | ICMP Address Mask Request messages sent

#### Command Output: IP Statistics

This section describes the fields displayed when you issue the info ip command.

ipInReceives | Incoming datagrams, including any received in error
ipInHdrErrors | Incoming datagrams discarded due to IP header errors. Causes include bad checksums, version number mismatches, other format errors, time-to-live values exceeded, and errors discovered in processing IP options. Correctly configured networks produce few such errors.
ipInAddrErrors | Incoming datagrams discarded because the address in the IP header destination field was not valid for the PortServer’s network. This includes addresses of unsupported classes (Class E, for example). Correctly configured networks produce few such errors.
ipInUnknownProtos | Datagrams received successfully but discarded because of an unknown or unsupported protocol
ipInDiscards | Good incoming datagrams discarded for lack of resources, such as buffer space, including those discarded while awaiting reassembly
ipReasmOKs | IP datagrams successfully reassembled
ipReasmFails | Failures detected by the IP re-assembly algorithm. This is may not be a count of all discarded IP fragments because some algorithms (notably the algorithm in RFC 815) lose count by combining fragments as they are received.
ipForwDatagram | Incoming datagrams destined for another subnetwork to which the device/terminal server could not find a route
ipOutNoRoutes | Outgoing datagrams discarded because no route could be found to their destination. This includes datagrams: Counted in ipForwDatagrams That a host could not route because default gateways are down Correctly configured networks produce few such errors.
ipOutRequests | Datagrams that local IP user protocols (including ICMP) supplied to IP for transmission, not including those counted in ipForwDatagrams
ipOutDiscards | Good outgoing datagrams discarded for lack of resources, including those counted in ipForwDatagrams
ipFragCreates | Datagram fragments generated by the device/terminal server
ipFragOKs | Datagrams successfully fragmented

#### Command Output: Network Statistics

This section describes the fields displayed when you issue the info ether command. This command reports activity on the Ethernet interface. Not all counters are displayed for all Digi device/terminal server products.

ifInOctets | Octets received, including framing characters
ifInUcastPkts | Subnetwork unicast packets delivered to higher-layer protocols
ifInNUcastPkts | Non-unicast (for example, subnetwork-broadcast or subnetwork multicast) packets delivered to a higher-layer
ifInDiscards | Inbound packets discarded, even though no error was detected that would prevent delivery to a higher-layer
ifInErrors | Inbound packets with errors that prevent delivery to a higher-layer
ifUnknownProtos | Inbound packets discarded because of unknown or unsupported protocols
ifOutOctets | Octets transmitted, including framing characters
ifOutUcastPkts | Outbound packets using the subnetwork unicast address, including discards
ifOutNUcastPkts | 0utbound packets using a non-unicast (that is, a subnetwork broadcast or subnetwork multicast) address, including discards
ifOutDiscards | Error-free outbound packets discarded, possibly to free buffer space
ifOutErrors | Outbound packets not transmitted because of errors
In Total | Frames received
In IP | IP protocol frames received
In ARP | ARP frames received
Out Total | Frames sent by the device/terminal server
Out IP | IP frames sent
Out ARP | ARP frames sent
In Overruns | Times the Ethernet controller was unable to place a received frame in memory
In Unaligned | Misaligned frames received
In No Resource | Incoming frames not processed due to lack of available buffers
In Collision | Ethernet collisions detected after a destination address was received
In Short Frame | Short frames received
In Bad CRC | Frames received with bad CRC
Out No Carrier | Frames lost when lack of carrier was detected
Out Lost CTS | Frames lost when ClearToSend was reset
Out DMA Underrun | Frames lost because transmit buffers were not available
Out Deferred | Transmissions deferred
Out Collisions | Ethernet collisions detected after starting a transmission

#### Command Output: TCP Statistics

This section describes the fields displayed when you issue the info TCP command.

tcpInSegs | Segments received, including those received in error. This includes only segments received on currently established connections.
tcpInErrs | Segments received in error (for example, bad TCP checksums)
tcpEstabResets | Times that TCP connections made a direct transition to the CLOSED state from either the ESTABLISHED or CLOSE-WAIT states
tcpPassiveOpen | Times that TCP connections made a direct transition to the SYN-RCVD state from the LISTEN state
tcpAttemptFail | Times that TCP connections made a direct transition to the CLOSED state from either the SYN-SENT state or the SYN-RCVD state, plus the times TCP connections made a direct transition to the LISTEN state from the SYN-RCVD state
tcpOutSegs | Segments sent, including those on current connections. This excludes those containing only retransmitted octets.
tcpRetransSegs | Segments retransmitted, that is, the number of TCP segments transmitted containing one or more previously transmitted octets
tcpOutRsts | TCP segments sent containing the RST flag
tcpActiveOpens | Times TCP connections made a direct transition to the SYN-SENT state from the CLOSED state

#### Command Output: UDP Statistics

This section describes the fields displayed when you issue the info UDP command.

udpInDatagrams | Datagrams delivered to UDP users
udpInErrors | Received UDP datagrams that could not be delivered for any reason other than the lack of an application at the destination port
udpNoPorts | Received UDP datagrams for which there was no application at the destination port
udpOutDatagrams | UDP datagrams sent

#### Command Output: Serial Statistics

This section describes the fields displayed when you issue the info serial command.

sessX rbytes | Number of bytes received in Session #X (where X is 1-9; see the sess option of the set ports command)
sessX tbytes | Number of bytes transmitted from Session #X (where X is 1-9; see the sess option of the set ports command)
rts_sigchange | Number of transitions of the RTS signal
cts_sigchange | Number of transitions of the CTS signal
dsr_sigchange | Number of transitions of the DSR signal
dcd_sigchange | Number of transitions of the DCD signal
dtr_sigchange | Number of transitions of the DTR signal
ri_sigchange | Number of transitions of the RI signal
norun | Number of overrun errors detected
noflow | Number of overflow errors detected
nframe | Number of frame errors detected
nparity | Number of parity errors detected
nbreak | Number of BREAKs received