NTX_PSERV(1) — USER COMMANDS
NAME
ntx_pserv − set protocol port services
SYNOPSIS
ntx_pserv [−c] [−d device] [ −f file]|[ service port1[−port2] protocol]
ntx_pserv −r [−d device] service
DESCRIPTION
Ntx_pserv assigns a service to a range of protocol ports. A service can be one of the following: telnet, rlogin, nop, snmp, or snmp-trap. A single port is specified with port1 or a port range with port1 and port2 separated by a “−” character. The protocol can be either tcp or udp. If no arguments other than −d are selected, the current service assignments are displayed.
The service assignments can be changed at any time; however, some changes may not be recognized. For example, the tcp terminal services (telnet, rlogin, nop) will affect the next connection request received, but all other services may have an effect only before the MVME339 has been enabled with ntx_ifcfg(1). The nop (no-operation) service is a transparent terminal service that provides no special processing.
Once a protocol port has been assigned a service, it cannot be assigned to a different service without clearing all entries for the service with the −r option or clearing the entire database with the −c option.
OPTIONS
−dSets the MVME339 raw device file name. This option will override the default MVME339 device name of /dev/xedt/mvme338_c0.
−cClears all entries for all services, ports, and protocols. The default is to add the new services to the current configuration. If the −f option or a service is also specified on the command line, the database is first cleared and then the new services are added.
−fReads the service configuration from file and sends it to the MVME339. The service specification is the same format as the command line: service port1[−port2] protocol. Each service specification is listed on a separate line. The “#” character is used to start a comment and everything to the right of it is ignored.
−rRemoves all entries for the specified service on all ports and protocols.
FILES
/dev/xedt/mvme338_c0
~/include/ntx/net.h
SEE ALSO
netif_lib(3), mvme338(7), ntx_ifcfg(1), ntx_chaddr(1)
Systech Release — 25 Feb 1993