Socket Administration; Table 8-2 Field Descriptions For The Show Sockets Command - Cisco 11503 - CSS Content Services Switch Administration Manual

Content services switch
Hide thumbs Also See for 11503 - CSS Content Services Switch:
Table of Contents

Advertisement

Chapter 8
Using the CSS Scripting Language

Socket Administration

Note
OL-5647-02
graceful - Closes the connection gracefully by sending a FIN (finished)
rather than RST to the remote host.
You can have a maximum of 64 open (in use) sockets on a CSS concurrently. If
you issue a socket connect command and do not issue a socket disconnect
command for that socket's file descriptor (saved in the ${SOCKET} variable),
then the socket remains open until you issue a socket disconnect command with
that socket's file descriptor as the value for the socket_number argument.
If you open sockets within a script, the sockets close automatically when the script
ends, unless you passed the session argument in the socket connect command. If
you open sockets within a session, the sockets close when the session ends (user
logs out).
Use the show sockets command to list all the socket file descriptors that are
currently in use.
Table 8-2
describes the fields in the show sockets output.
Table 8-2
Field Descriptions for the show sockets Command
Field
Description
Socket ID
Socket file descriptor
Remote Host:Port
The connected Host address and Port pair
Protocol
The protocol specified for the connection: either TCP
or UDP.
User
The line identifier as displayed through the show lines
command
Time
How long the descriptor has been open
If a remote host times out or closes a socket, the socket architecture cleans up the
socket and removes it from the list of used sockets. This cleanup occurs only after
you attempt another transfer on a socket that the remote host has already closed.
Otherwise, the socket remains idle.
Cisco Content Services Switch Administration Guide
Using socket Commands
8-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

11500 series

Table of Contents