Monitoring Network Events and Status ping
11-4 Network Monitoring Configuration
Example
Thisexampleshowshowtodisplaystatisticsforallthecurrentactivenetworkconnections:
Matrix(rw)->show netstat
Active Internet connections (including servers)
PCB Proto Recv-Q Send-Q Local Address Foreign Address (state)
-------- ----- ------ ------ ------------------ ------------------ -------
1cc6314 TCP 0 0 0.0.0.0.80 0.0.0.0.0 LISTEN
1cc6104 TCP 0 0 0.0.0.0.23 0.0.0.0.0 LISTEN
1cc6290 UDP 0 0 0.0.0.0.162 0.0.0.0.0
1cc620c UDP 0 0 0.0.0.0.161 0.0.0.0.0
Table 11‐1providesanexplanationofthecommandoutput.
ping
UsethiscommandtosendICMPecho‐requestpacketstoanothernodeonthenetworkfromthe
switchCLI.
Syntax
ping [-s] host [count]
Parameters
Defaults
•If‐sisnotspecified,thepingwillnotbecontinuous.
•Ifnotspecified,packetcountwillbe1.
Table 11-1 show netstat Output Details
Output... What it displays...
PCB Protocol Control Block designation.
Proto Type of protocol running on the connection.
Recv-Q Number of queries received over the connection.
Send-Q Number of queries sent over the connection.
Local Address IP address of the connection’s local host.
Foreign Address IP address of the connection’s foreign host.
(state) Communications mode of the connection (listening, learning or
forwarding).
‐s (Optional)Causesacontinuousping,sendingonedatagrampersecond
andprintingonelineofoutputforeveryresponsereceived,untilthe
userentersCtrl+C.
host SpecifiestheIPaddressofthedevicetowhichthepingwillbesent.
count (Optional)Specifiesthenumberofpacketstosend.Validvalues
are
from1to2147483647.