Installation guide

129
Index numbers and changing default port numbers
An index number is assigned to each of these services. The index numbers assigned can vary over time. If
you want to change the network port number for a service, enter a “set service” or “show service”
command to display the current index number assigned to all services. Locate the service for which you
want to change the network port number, and note the index number for the service. Enter a “set service”
command, specify that index number for the “range” option, and the new network port number for the
“ipport” option.
For example, to change the network port number for the Telnet basic service from its default port number,
23, you would enter the following “set service” command:
#> set service
which displays the services defined in and their current network port number assignments:
Service configuration
no. state port keepalive nodelay dlyd_ack
1 on 2362 none none 200 ADDP Service
2 on 1027 off none 200 Encrypted RealPort Service
3 on 515 off off 200 Line Printer Daemon
4 on 771 off none 200 RealPort Service
5 on 513 off off 200 Rlogin Service
6 on 514 off none 200 Rsh Service
7 on 161 none none 200 SNMP Service
8 on 22 off off 200 SSH Service
9 on 23 off off 200 Telnet Service
10 on 80 none none 200 HTTP Service
11 on 443 none none 200 HTTPS Service
12 on 7 off off 200 TCP Echo Service
13 on 7 off off 200 UDP Echo Service
14 on 50000 none none 200 Modem Emulation(Pool)
15 on 2001 off off 200 Telnet Server(Port 1)
16 on 2101 off off 200 TCP Server(Port 1)
17 off 2101 off off 200 UDP Server(Port 1)
18 on 2501 off off 200 SSH Server(Port 1)
19 on 2601 off off 200 Secure Socket Service(Port 1)
20 off 50001 off off 200 Modem Emulation(Port 1)
21 off none none none none RealPort Service(Port 1)
22 on 2002 off off 200 Telnet Server(Port 2)
Note that the index number assigned to the Telnet basic service is 9. You would then specify that index
number for the “range” option, and the new network port number for the “ipport” option:
#> set service range=9 ipport=100