Using the Session Manager
5000 Mobile Terminal Product Guide (5000-REV2.21)
Chapter 6-55
Setting the Terminal IP Number
Every node on an Ethernet TCP/IP network requires a unique
IP (Internet Protocol)
address. In the
2.4 GHz radio system which uses Local Telnet Sessions, the terminal is a node, and requires a unique
IP address, formatted as y.x.x.x, where 1 <= y <= 239 and 0 <= x <= 254.
To assign an IP address, use the command:
> tcp ip addr en0 [y.x.x.x]
To set the IP address for the interface
.
For example, to assign the IP address 7.7.7.3 to the Ethernet interface (known as
en0
), use the
command:
> tcp ip addr en0 7.7.7.3
The IP address assignment takes effect after the terminal is rebooted.
To store the IP address to the BC unit’s configuration memory, use the command:
> tcp param save
To save the current TCP/IP parameter settings.
Using DNS Services
DNS (Dynamic Name Service)
allow mnemonic text descriptions to be used instead of IP addresses.
For example, instead of typing in an IP number to connect to a ANSI/VT220 compatible computer
system:
Telnet> 192.168.0.1 <Enter>
The following mnemonic text could be entered:
Telnet> server <Enter>
The DNS server functions are located in the “dns” task which can be accessed using the console task or
external console connector. The following command shows the Help facilities available with the
command:
>dns ?
dns>Valid commands are:
dns>assign or set: assign [host|port] name number
dns>get: get assignments
dns>clear or zero: clear [host|port|both] name tables
dns>debug or -d: set debug level
dns>def*ault: restore default tables
dns>res*tore or read: restore [host|port|both] name tables
dns>save or write: save [host|port|both] name tables
>
To set and save a mnemonic name for an IP number, use the following command: