beautypg.com

Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 663

background image

IP Addressing and Protocol Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

25.29

Table 25-3: Parameters in the output of the show ip sockets command

Parameter

Description

Not showing

local
connections

This field refers to established sessions between processes internal
to the device, that are used in its operation and management. These
sessions are not displayed as they are not useful to the user.
is some positive integer.

Not showing

local
listening
ports

This field refers to listening sockets belonging to processes internal
to the device, that are used in its operation and management. They
are not available to receive data from other devices. These sessions
are not displayed as they are not useful to the user. is
some positive integer.

Typ

This column displays the type of the socket. Possible values for this
column are:
tcp

: IP Protocol 6.

udp

: IP Protocol 17.

raw

: Indicates that socket is for a non port-orientated protocol (i.e. a

protocol other than TCP or UDP) where all packets of a specified IP
protocol type are accepted. For raw socket entries the protocol type
is indicated in subsequent columns.

Local
Address

For TCP and UDP listening sockets this shows the destination IP
address and destination TCP or UDP port number for which the
socket will receive packets. The address and port are separated by ’:’.
If the socket will accept packets addressed to any of the switch’s IP
addresses, the IP address will be 0.0.0.0 for IPv4 or :: for IPv6. For
active TCP sessions the IP address will display which of the switches
addresses the session was established with. For raw sockets this
displays the IP address and IP protocol for which the socket will
accept IP packets. The address and protocol are separated by ’:’. If
the socket will accept packets addressed to any of the switch’s IP
addresses, the IP address will be 0.0.0.0 for IPv4 and ::. IP Protocol
assignments are described at:

http://www.iana.org/assignments/

protocol-numbers

Remote
Address

For TCP and UDP listening sockets this shows the source IP address
(either IPv4 or IPv6) and source TCP or UDP port number for which
the socket will accept packets. The address and port are separated
by ’:’. If the socket will accept packets addressed from any IP address,
the IP address will be 0.0.0.0 for IPv4. This is the usual case for a
listening socket. Normally for a listen socket any source port will be
accepted. This is indicated by “. For active TCP sessions the IP
address will display the remote address and port the session was
established with. For raw sockets the entry in this column will be
0.0.0.0: for IPv4.

State

This column shows the state of the socket. For TCP sockets this
shows the state of the TCP state machine. For UDP sockets this
column is blank. For raw sockets it contains the IP protocol number.
The possible TCP states are:
LISTEN
SYN-SENT
SYN-RECEIVED
ESTABLISHED
FIN-WAIT-1
FIN-WAIT-2
CLOSE-WAIT
CLOSING
LAST-ACK
TIME-WAIT
CLOSED
RFC793 contains the TCP state machine diagram with Section 3.2
describing each of the states.