beautypg.com

Show tcp statistics, Show udp statistics, Port commands – Atlantis Land Mistral Lan Router ISDN User Manual

Page 31: Clear port statistics [port name, Example

background image

Example:

Router> show pat

Public

Port Private

IP

Private

Port

Number

Address

Number

--------------------------------------------------------

Default

192.168.168.121

123

192.168.168.120

234

26

192.168.168.120

26

Router>

show tcp statistics

Example:

Router> show tcp statistics

Received

Sent

-----------------------------------------------------

Total Packets

0

0

show udp statistics

Example:

Router> show udp statistics

Received

Delivered

----------------------------------------------------------

Total datagrams

19368

5424

Datagrams with checksum error

0

Datagrams with incorrect length

0

Datagrams dropped due to buffer full

1133

Datagrams with dest. port unreachable 0

Port Commands

Port related commands allow configuration of a port, the protocol running on the port, and the
corresponding protocol parameters. In addition, commands are available for clearing statistical
counters, enabling/disabling ports, and displaying port configuration and statistics.

There are two modes of operation when setting a port: (1) the advanced mode, which causes detailed
prompts to be displayed, allowing the user to configure all parameters, (2) the express mode, which
assumes default values for most parameters, and therefore causes a minimal number of prompts to
show. The system will come up in the express mode. Typing a Ctrl-E (^E, i.e., pressing both the E and
control key together) will cause the mode to be toggled.

clear port statistics [port name]

Description: This command clears port statistics. If a port is not specified, the statistics counters on all
ports are cleared.