![Black Box LES1516A User Manual Download Page 280](http://html1.mh-extra.com/html/black-box/les1516a/les1516a_user-manual_2762893280.webp)
280
1.877.877.2269
BLACKBOX.COM
NEED HELP?
LEAVE THE TECH TO US
LIVE 24/7
TECHNICAL
SUPPORT
1.877.877.2269
CHAPTER 15: CONFIGURATION FROM THE COMMAND LINE
Run the following commands:
# config -s config.services.http.enabled=on
# config -d config.services.https.enabled
# config -d config.services.telnet.enabled
# config -s config.services.ssh.enabled=on
# config -d config.services.snmp.enabled
# config -d config.services.pingreply.enabled
# config -s config.services.tftp.enabled=on
These services run on default port numbers as follows:
TABLE 15-18. DEFAULT PORT NUMBERS
SERVICE
DEFAULT PORT NUMBER
Telnet
2000
SSH
3000
TCP
4000
RFC2217
5000
unauthtel (Unauthorized Telnet)
6000
To set secondary port ranges for any service the following syntax applies:
# config -s config.services.<service>.portbase=<number>
For example: to set all these services to run on a port number that is ten higher than their default, run the following commands:
# config -s config.services.telnet.portbase=2010
# config -s config.services.ssh.portbase=3010
# config -s config.services.tcp.portbase=4010
# config -s config.services.rfc2217.portbase=5010
# config -s config.services.unauthtel.portbase=6010
The following command will synchronize the live system with the new configuration:
# config -r auth