The text of a manual · part 5 of 13
HP Jetdirect Print Servers (300X/510X) Administrator's Guide: TCP/IP Configuration, pages 33 to 40
Pages 33 to 40 of 102, from HP Jetdirect Print Servers (300X/510X) Administrator's Guide
The original document is the PDF (1.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the HP J3263A JetDirect 300X
Page 33
●
From a UNIX command prompt: arp -s <IP address> <LAN hardware address> ping <IP address> where <IP address> is the desired IP address to be assigned to the print server. The arp command writes the entries to the arp cache on the workstation, and the ping command configures the IP address on the print server. For example: ●
In Windows arp -s 192.168.10.1 00-b0-60-a2-31-98 ping 192.168.10.1
●
In UNIX arp-s 192.168.10.1 00:b0:60:a2:31:98 ping 192.168.10.1
Note
Once the IP address has been set on the print server, additional arp and ping commands will be ignored. Once the IP address is configured, arp and ping cannot be used unless the print server is reset to factory values. On UNIX systems, the arp -s command may vary between different systems. Some BSD-based systems expect the IP address (or host name) in reverse order. Other systems may require additional parameters. See your system documentation for specific command formats.
ENWW
TCP/IP Configuration 33
Page 34
Using Telnet This subsection describes how to configure the print server using Telnet. Note
To use Telnet commands with the HP Jetdirect print server, a route must be available from your workstation to the print server. Simplistically, this means that there must be a match between the network identification of your system to that of the HP Jetdirect print server. On Windows systems, you can use the following route command at a DOS prompt to add a route to the print server: route add <IP address Jetdirect> <IP address workstation> where <IP address Jetdirect> is the IP address configured on the HP Jetdirect print server, and <IP address workstation> is the IP address of the workstation's network card that is attached to the same physical LAN as the print server.
CAUTION
Using Telnet to change dynamically-configured Jetdirect print servers (for example, using BOOTP, RARP, DHCP), may result in a static configuration depending on the parameter being changed.
To set configuration parameters, you must set up a Telnet connection from your system to the HP Jetdirect print server. 1. Type the following at the system prompt: telnet <IP address> where <IP address> may be the assigned address from BOOTP, RARP, DHCP, the printer control panel, or the default IP address. The default IP address is 192.0.0.192. The <IP address> is listed on the Jetdirect configuration page.
34 TCP/IP Configuration
ENWW
Page 35
2. When the server responds connected to IP address, press Enter twice to make sure that the Telnet connection is initialized. 3. If you are prompted for a password, type the correct password. By default, Telnet does not require a password, but you can set up to a 14-character password by using the password command (passwd). Once a password is set, password protection is enabled. You can disable password protection by typing 0 (zero) when prompted for a new password, or by performing a cold reset on the print server. Note
Any time during the Telnet session you can type:? then press Enter to view available configuration parameters, the correct command format, and a list of additional commands to display. To print current configuration information, type / then press Enter.
Note
The Present Config field in the Telnet Configuration menu describes how the HP Jetdirect print server is configured. For example, if the HP Jetdirect print server is configured by your BOOTP server, the menu will contain the line, “present config=BOOTP.” Other possible configuration types are RARP, DHCP, or Telnet/Front Panel.
Note
On Windows systems local echo should be selected. To determine if local echo is enabled, perform the following: ●
Run Microsoft Telnet and enter the display command.
On UNIX systems, it is not necessary to select local echo.
ENWW
TCP/IP Configuration 35
Page 36
4. At the Telnet prompt “>” type: parameter: value then press Enter, where parameter refers to the configuration parameter you are defining, and value refers to the definitions you are assigning to that parameter. Each parameter entry is followed by a carriage return. See Table 3.3 for examples on assigning configuration parameters. 5. Repeat step 4 to set any additional configuration parameters. 6. When you have finished typing the configuration parameters, type: quit and press Enter to activate the configuration parameters. To exit without activating parameters, type exit and press Enter.
Telnet Configuration Parameter Examples The examples in Table 3.3 show how to use Telnet configuration commands. Note
If a parameter is supplied by the DHCP server, its value cannot be changed using Telnet without disabling DHCP.
36 TCP/IP Configuration
ENWW
Page 37
Table 3.3
Telnet Configuration Parameter Examples (1 of 2)
IP Address Parameter Example ip: 192.168.10.1 where ip identifies the parameter and 192.168.10.1 specifies the address for the printer. By typing this parameter, you can overwrite the IP address used to make the Telnet connection with one you have selected.
Subnet Mask Example subnet-mask: 255.255.255.0 where subnet-mask identifies the parameter and 255.255.255.0 specifies the subnet mask.
Default Gateway Example default-gw: 192.168.10.2 where default-gw identifies the parameter and 192.168.10.2 specifies the IP address of the gateway. Note: If the HP Jetdirect print server is configured by DHCP and you change the subnet mask or the default gateway address (using front-panel, Telnet, or other tool), you should change the IP address to release the present IP address back to the DHCP server IP address pool.
Syslog Server Example syslog-server: where syslog-server identifies 192.168.10.3 the parameter and 192.168.10.3 specifies the IP address of that server.
Protocol Enabling/Disabling Example
IPX/SPX: 1 dlc-llc: 1 ethertalk: 1
(1 enables, 0 disables) (1 enables, 0 disables) (1 enables, 0 disables)
Idle Timeout Parameter Example idle-timeout: 120 where idle-timeout identifies the parameter and 120 specifies the number of seconds an idle print data connection is allowed to remain open. If you set this parameter to 0, the connection does not terminate and no other host is able to make a connection.
Banner Page Parameter Example banner: 1
(1 enables, 0 disables)
ENWW
TCP/IP Configuration 37
Page 38
Table 3.3
Telnet Configuration Parameter Examples (2 of 2)
Port and Banner Page Example port:2 banner:0
For multiport Jetdirect print servers, ‘port’ specifies the port that you want to enable or disable a banner page. (In this example, disable banner page on port 2.) The default port is port 1.
Set Community Name Example set-cmntyname: my_network where set-cmnty-name identifies the parameter and my_network specifies the name you want to set. The Set Community Name parameter is a network management security mechanism that enables external network management entities to set internal print server management (mib) values. The name can be from 1 to 32 alpha and numeric characters and can include the underscore (_) symbol.
DHCP Parameter Example dhcp-config: 1 where dhcp-config: identifies the Dynamic Host Configuration Protocol. (1 enables, 0 disables)
Host Name Example (to assign or change a name)
host-name: MY_PRINTER where MY_PRINTER is an alphanumeric string and must be all uppercase letters.
38 TCP/IP Configuration
ENWW
Page 39
Using Telnet to Erase the Existing IP Address To erase the IP address during a Telnet session: 1. Type cold-reset, then press Enter. 2. Type quit, then press Enter to exit Telnet. Note
This procedure resets all TCP/IP parameters, but only affects the TCP/IP subsystem. After this has been done the print server should be power cycled. Parameters for other subsystems such as IPX/SPX (Novell NetWare) or AppleTalk are not affected.
Using the Embedded Web Server You can set IP parameters on HP Jetdirect print servers that support the embedded web server. For more information, refer to Appendix B.
ENWW
TCP/IP Configuration 39
Page 40
Moving to Another Network When moving an HP Jetdirect print server that is configured with an IP address to a new network, make sure that the IP address does not conflict with addresses on the new network. You may change the IP address of the print server to one that can be used on the new network, or erase the current IP address and configure another address after you are installed on the new network. Cold reset the print server (see Chapter 6, “Troubleshooting the HP Jetdirect Print Server,” for instructions). If the current BOOTP server is not reachable, you may need to locate a different BOOTP server and configure the printer to this server. If the print server was configured using BOOTP, DHCP or RARP, edit the appropriate system files with updated settings. If the IP address was manually set (for example, Telnet), reconfigure IP parameters as described in this chapter.
40 TCP/IP Configuration
ENWW