Home > Articles > Programming > General Programming/Other Languages

  • Print
  • + Share This
Like this article? We recommend

Section 1.5: Configure the Terminal Concentrator

Some steps for configuring the terminal concentrator require that you are able to gain physical access to the terminal concentrator and equipment. For example, forcing the terminal concentrator into the 'Monitor' mode. The following steps are included only when performing these steps locally, as during a manual installation.

  • For local (manual) installations, when configuring the Annex terminal server, refer to the EIS-CD, under ...sun/docs/MISC.

Step 1.5.1

For local (manual) installations, prior to connecting the serial cable:

  • Ensure that the terminal concentrator power is off.

  • Connect the cable, noting the serial port ttyb is the default serial port you will be using on the clustadm workstation.

  • As described in Figure 1 and Tables 1 through Table 5, a serial cable must be connected from a serial (ttya or b) port on the clustadm workstation to port 1 on the terminal concentrator. Port 1 (configuration port) of the terminal concentrator is required for performing all local (manual) steps.


The next step is not implemented for these BPLABS. Also, Figure 1 and Tables 1 through Table 5 indicate that serial port "A" of the clustadm workstation is connected to the terminal concentrator (port 1) instead of the default ttyb.

Step 1.5.2

For local (manual) installations, use the UNIX tip command to communicate with the terminal concentrator during configuration.


Before the tip command will work, ensure that the /etc/remote file includes the following lines (appended to the end of the file):

annexterm:    :dv=/dev/term/n:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D

{{In the above line, substitute the serial port letter you are
 using for "n" - for example, if using ttyb, replace "n" with "b",
 as: "...../dev/term/b....."}}
  • An easy way create this entry is to simply copy the lines from the hardwire command, then change the entry from hardwire to annexterm, ensuring that the port letter is correct.

  • The tip(1) command can be used to connect the clustadm workstation console I/O with the terminal concentrator I/O using the parameters specified in this file.

Step 1.5.3

For local (manual) installations, on the clustadm workstation enter the following command:

root@clustadm# tip annexterm


At this point, for local (manual) installations, you will not receive a prompt back from the terminal concentrator until you physically power off the terminal concentrator, power the terminal concentrator back on and, within 30 seconds, and press and hold the TEST button until the power LED starts flashing. This is described in the next step.

Step 1.5.4

For local (manual) installations, configure the terminal concentrator device in the following prescribed sequence:

  • Power on the terminal concentrator while viewing the front panel and status LED indicators.

  • After powering on the unit and within 30 seconds press and hold the TEST button until the power LED starts flashing.

  • When the POWER LED starts to flash, release the TEST button for at least six seconds. Then briefly push the TEST button again to initiate diagnostics.

Before proceeding to the next step, ensure that the terminal concentrator successfully completes (the diagnostic tests take approximately 60 seconds to complete).

Key Practice: Verify that the terminal concentrator settings are correct. Terminal concentrator firmware options and settings can vary from between different terminal concentrator revision levels (that is, actual options will likely differ from those specified in this BPLAB). When configuring the terminal concentrator, refer to the manufacturer's documentation to ensure that settings are established correctly. Specifically, ensure that settings for the terminal concentrator Internet address, subnet mask, and broadcast address are as indicated in the following steps.


For the next few steps to configure the terminal concentrator, the settings should be configurable 'as-listed.' However, terminal concentrator firmware settings vary from unit-revision to unit-revision. Your actual options may differ. When configuring the terminal concentrator, refer to the manufacturer's documentation to ensure that settings are established correctly. Specifically, ensure settings for the terminal concentrator Internet address, subnet mask, and broadcast address, as indicated in the following steps.

Step 1.5.5

For local (manual) installations, when the diagnostic tests are completed, the tip window of the clustadm workstation should display:

System Reset - Entering Monitor Mode

Step 1.5.6

For local (manual) installations, we will use the addr command to set the Internet address, subnet mask, and broadcast address for the terminal concentrator.

Enter the following commands:

System Reset - Entering Monitor Mode
Enter Internet address []::
Enter Subnet mask []:: <CR>
Enter Preferred load host Internet address [<any host>]:: <CR>
Enter Broadcast address []::
Enter Preferred dump address []:: <CR>
Select type of IP packet encapsulation(ieee802/ethernet)
[<ethernet>]:: <CR>
Type of IP packet encapsulation: <Ethernet>
Load Broadcast Y/N:: [N] <CR>
monitor:: sequence

At this point you need to enter a list of 1 to 4 interfaces to attempt to use for downloading or 
upline dumping. Enter them in the order they should be tried, separated by commas or spaces. Possible interfaces are: Ethernet: net SELF: self Enter interface sequence [net]:: self Interface sequence: self monitor:: ~. {{this command ends the tip session}}

The addr command displays and sets several Annex terminal concentrator operating parameters:

  • IP address

  • Subnet mask

  • Preferred load host IP address

  • Load/dump gateway IP addresses

  • Broadcast address

  • IP encapsulation type

The sequence command edits the load/dump interface list. This list determines the order of the network interfaces, and either the local area network (LAN) or the SLIP interface to be used by the Annex terminal concentrator for loading and dumping. The default Ethernet selection is "net" which uses the LAN interface.

The self selection specifies the terminal concentrator is self-boot configured.

Step 1.5.7

For local (manual) installations, the terminal concentrator must be power cycled for the previous (manual) configuration changes to take effect:

  • Power off the terminal concentrator.

  • Power on the terminal concentrator and wait approximately 90 seconds for it to configure.

Key Practice: Because port 1 of the terminal concentrator is the configuration port, minimize security vulnerability by disconnecting port 1 of the terminal concentrator after configuration. This will prevent unauthorized access to the terminal concentrator's configuration port.

Step 1.5.8

For local (manual) installations, if the terminal concentrator requires access from an adjacent network, the defaultrouter configuration must be performed on each cluster node. This would be performed later, after the Solaris OE installation has completed on each cluster node. At that time, configure the default router information on the cluster nodes by performing the following steps.

  • Create the file /etc/defaultrouter and insert the IP address of your gateway.

  • Example: {{sample gateway address}}


    In this example, we use the gateway IP address instead of the host name (see following key practice).

    Key Practice: For each node being managed, maintain all IP addresses in one location. Edit the file /etc/defaultrouter and add the host name of the gateway system. Next, edit the /etc/inet/hosts file and reference the gateway (host name, IP address, plus an appropriate comment to identify the entry—for example, default gateway). In this manner, you can easily record and maintain a complete list of all nodes in the SunPlex.

  • If you want to enable a default route without rebooting, and verify your new router setting, enter the following commands:

  • root@clustadm# ping tc
    tc is alive
    root@clustadm# route add default 
    . . . {{this is only a sample gateway address}} . . .
    root@clustadm# netstat -rn 
    . . . {{look for entry with "ug" flag}}. . . 

Step 1.5.9

For local (manual) installations, complete the configuration of the terminal concentrator by entering the following commands. Enter the data as shown where prompted:

root@clustadm# telnet tc
Connected to tc.
Escape character is '^]'.
Annex Command Line Interpreter * Copyright 1991 Xylogics, Inc.
annex: su
Password: {{the password defaults to the assigned IP address,
             but does not echo to the screen}}
annex# edit config.annex
Ctrl-W: save and exit Ctrl-X: exit Ctrl-F: page down Ctrl-B: page up
    # The following are definitions of the gateway entries
    # The following are definitions of the macro entries
    %include macros
    # The following are definitions of the rotary entries
    %include rotaries 
    <Cntrl>+W #to exit and save
annex# admin
admin: port all
admin: set port mode slave
You may need to reset the appropriate port, Annex subsystem
or reboot the Annex for changes to take effect.
admin: reset
reset default port set [y] ? y 
admin: quit
annex# hangup {{ends the login session}}


If the terminal concentrator requires access from an adjacent network, the defaultrouter should be included in the config.annex file of the terminal concentrator.

Key Practice: To avoid security vulnerability, change the default password for the terminal concentrator. After changing the password, maintain your Telnet session with the terminal concentrator and use another window to connect to the terminal concentrator by Telnet to verify that your new password works. A typographical error when entering a password change will render the terminal concentrator inaccessible. See SunSolve SRDB ID 24989 for resetting a lost root password.

Step 1.5.10

For local (manual) installations, change the terminal concentrator password, which is similar to changing a UNIX password, as follows:

  • Connect by Telnet to the terminal concentrator, enter the cli command at the port prompt to enable the command interpreter.

  • Enter su, then the default password (the terminal concentrator IP address).

  • Enter the passwd command at the prompt and change the default password. Record any changes, and the new password setting.


While this is important in the field, for the purpose of these manual procedures, we use the default password. If the default password is lost, you must enter the erase command to clear the EEPROM contents and then re-enter all data once again. See SunSolve article SRDB ID 24989

  • + Share This
  • 🔖 Save To Your Account