set service

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 :

index state ipport keepalive nodelay

service

1

on

23

off

off

Telnet Service

12

on

80

na

na

HTTP Service

13

on

161

na

na

SNMP Service

2

on

443

na

na

HTTPS Service

15

on

513

off

off

Rlogin Service

16

on

514

off

off

Rsh Service

9

on

515

off

off

Line Printer Daemon

8

on

771

off

na

RealPort Service

3

on

1027

off

na

Encrypted RealPort Service

4

on

2001

off

off

Telnet Server (Port 1)

5

on

2101

off

off

TCP Server (Port 1)

6

off

2101

na

na

Serial/UDP Server (Port 1)

14

on

2362

na

na

ADDP Service

7

on

2601

off

off

Secure Socket Service (Port 1)

10

on

50000

na

na

Modem Emulation (Pool)

11

on

50001

off

off

Modem Emulation (Port 1)

Note that the index number assigned to the Telnet basic service is 1. You would then specify that index number for the “range” option, and the new network port number for the “ipport” option:

#> set service range=1 ipport=100

196

Chapter 2 Command Descriptions

Page 196
Image 196
Digi 90000566_H manual Index numbers and changing default port numbers