3Com 812 Network Router User Manual


 
B-8 APPENDIX B: CLI COMMAND DESCRIPTION
add network service
<service_name> Status
server_type [server_type]
socket [socket_number]
enabled [YES]
data [“string”]
close_active_connections [TRUE | FALSE]
This configures a network listener process that provides a certain type of service.
To see the available server types, use list services.
The table below shows configurable parameters for TELNET services, which are
specified with the data parameter.
Add network service example:
To configure a TELNET service to offer CLI access on port 23, doing authentication
upon connect:
add network_service CLI_access server_type TELNETD socket 23
Parameters Description
<service_name> Name of this type of service. Limit of 32 character ASCII string.
server_type Designates the type of server:
HTTP
SNMPD - SNMP agent
TFTPD - server for file transfers
TELNETD - TELNET server to the CLI
socket Indicates which “socket” the server listens on. For TFTP and TELNET, it is the
TCP or UDP port #.
enabled This indicates whether the network service is enabled. Enter YES or NO.
data Ancillary Data. This field contains server-specific configuration data. See the
table on the next page for settable ancillary data parameters for TELNET.
close_active_
connections
Indicates whether or not to close any active connections when a service is
disabled by the disable network_service command. Default: FALSE.
Ancillary Data
Parameters
Description
auth On indicates that login/password authentication should be performed on
incoming connections.
Default: on.
Format: auth=[on/off]
login_prompt ASCII string specifying the login prompt to be sent during authentication.
It must be quoted.
Default:
login: “
Format: login_prompt=[string]
login_banner ASCII string sent to a client when the connection is made. It must be
quoted. Default: none.
Format: login_banner=[string]