[Top] [Table Of Contents] [Prev] [Next] [Index]
Use to identify and diagnose common administrative problems.
The operating system (ComOS) and configuration of the PortMaster are stored in nonvolatile RAM (NVRAM). The NVRAM (also referred to as Flash or Flash RAM) is divided into four partitions (also called "cells") that contain files. Partitions 0 (zero), 1, and 3 hold the ComOS, and partition 2 holds the configuration. This design allows you to upgrade ComOS without disturbing the configuration and to make changes to the configuration of the PortMaster without disturbing ComOS.
You can back up the configuration file if you are confident that it is not corrupted. Occasionally, downgrading ComOS to an earlier version can corrupt the configuration. If you downgrade ComOS, you must back up your configuration first. See Step 5 on page 2-16 for information on backing up the configuration.
Warning ¯
Be extremely careful when erasing NVRAM. You can quickly remove all configuration information and the operating system from the PortMaster, making it difficult to restore and possibly inoperable. Read the entire erasure procedure before beginning to ensure that you understand the effects of the erase commands.
If you erase the cells holding ComOS and reboot your PortMaster, you must netboot to restore the operating system and get your PortMaster functioning again.
If you reformat the NVRAM cell where the configuration is stored and reboot your PortMaster, your PortMaster is reset to factory defaults. You must connect a console to the S0 or C0 port for initial configuration after rebooting.
Although ComOS might still be running in dynamic RAM (DRAM), after you erase the ComOS cells, most show commands do not display useful output. Instead you will see system messages, which are stubs for the actual messages displayed on the console screen.
For example:
Command> show all
SYSMSG489 SYSMSG1029 SYSMSG71 SYSMSG52
SYSMSG603 SYSMSG210 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120
SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120
SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG120 SYSMSG208 SYSMSG459
Command> show global
SYSMSG1071 SYSMSG1030 SYSMSG1031
SYSMSG1070 SYSMSG1035 SYSMSG1072
SYSMSG1068 SYSMSG1037 Maximum PMconsole: 1
SYSMSG1038
SYSMSG1039 SYSMSG1270 PPP Authentication: PAP: on CHAP: on
Disabled Modules: SNMP OSPF BGP
The following are reasons to erase and/or reformat NVRAM:
-
By reformatting the partition of NVRAM where the configuration resides you can return the
PortMaster to factory defaults. See "Resetting the Configuration to Factory Defaults" on page
2-4.
-
A corrupted ComOS can cause the PortMaster to behave erratically. If you see unusual output
when using any of the show commands, ComOS might be corrupted. See "Erasing and
Reloading ComOS" on page 2-5.
-
A corrupted configuration can prevent the PortMaster from booting up normally or from
performing correctly. See "Erasing ComOS and the Configuration" on page 2-6.
-
The pminstall utility and PMconsole automatically reformat ComOS and system message
partitions before upgrading ComOS.
ComOS and all configuration settings on the PortMaster are stored in NVRAM. You can return the PortMaster to factory defaults by using the following commands.
Warning ¯
Be extremely careful when erasing NVRAM. You can quickly remove all configuration information and the operating system from the PortMaster, making it difficult to restore and possibly inoperable. Read the entire erasure procedure before beginning to ensure that you understand the effects of the erase commands.
-
Set the console and the debug value.
Command> set console
Setting CONSOLE to port S0
Command> set debug 0x72
Setting debug value to 0x72
-
Enter the erase configuration command.
Command> erase configuration
Erasing FLASH cell 2 - 28F010 ... Succeeded in 82 tries
Successfully erased FLASH configuration
-
Reboot the PortMaster.
Command> reboot
Note ¯
When you erase the configuration and reboot your PortMaster, it is returned to factory defaults. You must connect a console to the S0 or C0 port to perform initial configuration after rebooting.
If ComOS is corrupted, the PortMaster might behave erratically. You can erase ComOS by using the following procedure:
Warning ¯
Be extremely careful when erasing NVRAM. You can quickly remove all configuration information and the operating system from the PortMaster, making it difficult to restore and possibly inoperable. Read the entire erasure procedure before beginning to ensure that you understand the effects of the erase commands.
-
Set the console and the debug mask.
Command> set console
Setting CONSOLE to port S0
Command> set debug 0x72
Setting debug value to 0x72
-
Enter the erase comos command,
Command> erase comos
Erasing FLASH cell 0 - 28F010 ... Succeeded in 75 tries
Erasing FLASH cell 1 - 28F010 ... Succeeded in 78 tries
Erasing FLASH cell 3 - 28F010 ... Succeeded in 69 tries
sys_msginit: Missing System Messages
Successfully erased ComOs
-
The "sys_msginit: Missing System Messages" message appears when the partition holding
the system messages is erased.
-
Take note of how many tries are required to erase the NVRAM (FLASH) cells.
-
If you encounter any problems while erasing ComOS, contact Lucent InterNetworking Systems
Technical Support.
Note ¯ If you reboot your PortMaster after erasing
ComOS, you must netboot to restore the operating system and get your PortMaster functioning again. See "Netbooting" on page 2-7 for instructions.
-
After you have erased ComOS, reload it by running the pminstall utility.
-
See "Installing a New ComOS Using pminstall" on page 2-16 for instructions.
-
If you encounter problems while reloading the ComOS, verify the following:
You can erase all the NVRAM in the PortMaster including the configuration and ComOS by using the following procedure.
Warning ¯
Be extremely careful when erasing NVRAM. You can quickly remove all configuration information and the operating system from the PortMaster, making it difficult to restore and possibly inoperable. Read the entire erasure procedure before beginning to ensure that you understand the effects of the erase commands.
-
Set the console and the debug value.
Command> set console
Setting CONSOLE to port S0
Command> set debug 0x72
Setting debug value to 0x72
-
Enter the erase all-flash command.
Command> erase all-flash
Erasing FLASH cell 0 - 28F010 ... Succeeded in 72 tries
Erasing FLASH cell 1 - 28F010 ... Succeeded in 76 tries
Erasing FLASH cell 2 - 28F010 ... Succeeded in 76 tries
Erasing FLASH cell 3 - 28F010 ... Succeeded in 66 tries
sys_msginit: Missing System Messages
Successfully erased all FLASH
-
The "sys_msginit: Missing System Messages" message indicates that the partition holding the
system messages has been erased.
-
Take note of how many tries are required to erase the NVRAM (FLASH) cells.
-
After you have erased ComOS, reload it by running the pminstall utility.
Note ¯
If any NVRAM cells are physically corrupted, the PortMaster "locks up" when that cell is erased, and must be rebooted. If you have already erased ComOS when the PortMaster locks up, you must netboot instead of performing a regular reboot to restore the operating system. See the next section, "Netbooting" for instructions. If you have erased the configuration on the PortMaster, you need a console connection to boot from PROM.
Netbooting allows you to boot a PortMaster with a damaged NVRAM by downloading a temporary ComOS, either with a network connection via a TFTP host, or via the serial port.
The NVRAM might be damaged if any of the following occur:
-
Access the Lucent InterNetworking Systems FTP site and download the appropriate GENERIC file.
-
See the next section, "Accessing the Lucent InterNetworking Systems FTP Site."
-
If you have a network connection and a TFTP host, download a GENERIC ComOS image.
-
Use the procedure in "Netbooting with a Network Connection" on page 2-11.
-
If you do not have a network connection or a TFTP host, download a GENERIC ComOS from another host via the serial port.
-
Use the procedure in "Booting from PROM (Booting without a Network Connection)" on
page 2-13.
-
When the PortMaster has successfully netbooted a temporary ComOS, download a new, permanent ComOS.
-
Use the procedure in "Installing a New ComOS Using pminstall" on page 2-16.
If you are using Microsoft Windows 95 or Windows NT, use an appropriate TFTP software package to access the Lucent InterNetworking Systems FTP site and download a GENERIC ComOS.
If you are using a UNIX host to access the Lucent InterNetworking Systems FTP site, use the following procedure to download the appropriate files in preparation for netbooting:
-
Access the Lucent InterNetworking Systems FTP site, and download the README.NETBOOT file.
-
Enter the following commands from your Ethernet TFTP boot host:
% ftp ftp.livingston.com
Name: anonymous
Password: your email address
ftp> binary
ftp> cd pub/livingston/netboot
ftp> get README.NETBOOT
ftp> quit
-
Read the README.NETBOOT file to determine which netbootable ComOS to download.
-
Replace GENERIC.OS with one of the filenames in Table 2-2.
-
Access the Lucent InterNetworking Systems FTP site again, and download the appropriate ComOS.
-
Enter the following commands from your Ethernet TFTP boot host, replacing GENERIC.OS
with the appropriate filename from Table 2-2:
% ftp ftp.livingston.com
Name: anonymous
Password: your email address
ftp> binary
ftp> cd pub/le/netboot
ftp> get GENERIC.OS
ftp> quit
Note ¯
The GENERIC.OS file must be downloaded in binary format.
-
Set up TFTP on your boot host.
-
Enter the following commands, replacing GENERIC.OS with the appropriate filename (see
Table 2-2):
% umask 22
% mkdir /tftpboot
% mv GENERIC.OS /tftpboot/GENERIC.OS
% cd /tftpboot
% ln -s . tftpboot
-
Using a text editor, uncomment the tftp command entry in the /etc/inetd.conf file.
-
To have the inetd daemon reread the /etc/inetd.conf file, send a SIGHUP to the inetd
process.
-
This step applies to most UNIX systems. However, the procedure for enabling TFTP on your
system might vary. Consult your system documentation.
-
Do one of the following:
Any host capable of TFTP can be used to boot a PortMaster from the network.
If your system supports rarpd, use the following procedure on the TFTP host after you have downloaded the appropriate GENERIC.OS file to the /tftpboot directory.
Note ¯
The Reverse Address Resolution Protocol (RARP) server must be on the same subnet as the PortMaster.
-
Enter the Ethernet address of the PortMaster in the /etc/ethers file or the Network Information Service (NIS) map.
-
Start rarpd by entering the following command:
% rarpd -a
Note ¯
The command might vary, depending on your operating system. Refer to your system manual for more information about running rarpd.
-
Turn the PortMaster off and on.
-
The temporary GENERIC.OS ComOS is automatically downloaded to the PortMaster from
the TFTP host.
-
Download a new ComOS into NVRAM by using the procedure in Step 6 on page 2 -17.
If your system does not support rarpd, use the following procedure on the TFTP host after you have downloaded the appropriate GENERIC.OS file to the /tftpboot directory.
Note ¯
When you enter a command correctly, the PortMaster responds with OK. If you enter a command incorrectly, the PortMaster responds with a question mark (?).
-
Turn the PortMaster off.
-
Place the PortMaster in diagnostic boot mode by setting DIP switches 1 and 2 up.
-
Attach a terminal to the console port of the PortMaster.
-
Turn the PortMaster on.
-
When the PortMaster starts to use RARP, press the Esc key.
-
An angle bracket (>) prompt appears.
-
You can also type a caret and a left square bracket (^[) to display the prompt.
-
Commands available from the PROM are shown in Table 2-3 on page 2-13.
-
Enter the IP address of the PortMaster Ethernet port:
> address Ipaddress
-
Set the netmask and gateway, if needed.
-
You must set the gateway if the TFTP server is not on the local network. The netmask is set
to 24 bits by default.
> netmask Netmask
> gateway Ipaddress
-
Use the following command to load the PortMaster:
> tftp Ipaddress
-
Enter the IP address of the TFTP host that has the GENERIC.OS software. The PortMaster
makes a TFTP request from that host, and the server responds by sending the netboot image
to the PortMaster.
-
When the PortMaster has successfully netbooted, set DIP switch 2 down.
-
Download a fully functional ComOS into NVRAM.
-
Use the procedure in Step 6 on page 2 -17.
If you do not have a network connection, or a TFTP host, you must boot the PortMaster from PROM through the serial port using the following procedure.
Note ¯
This procedure works only with PROMs of level F or higher. The PROM version is displayed in the diagnostic messages when the PortMaster is booted with DIP switch 1 up (diagnostic mode). See the hardware installation guide that came with your PortMaster for more information about diagnostic messages.
Beginning with PROM level F, you can boot your PortMaster remotely from any host with TFTP capability in one of the following ways by using the PROM:
Table 2-3 explains the commands you use to boot the PortMaster from PROM. The following procedure explains how to use the commands.
-
Turn the PortMaster off.
-
Place the PortMaster in diagnostic boot mode by setting DIP switches 1 and 2 up.
-
Configure the host computer for 9600 baud, 8 data bits, 1 stop bit and no parity. Turn on XON/XOFF software flow control.
-
Turn the PortMaster on.
-
When the PortMaster starts to use RARP, press the Esc key.
-
An angle bracket (>) prompt appears.
-
You can also type a caret and a left square bracket (^[) to display the prompt.
-
Commands available from the PROM are shown in Table 2-3 on page 2-13.
-
Enter the address of the PortMaster Ethernet port:
> address Ipaddress
-
Set the netmask and gateway, if needed.
-
The netmask is set to 24 bits by default.
> netmask Netmask
> gateway Ipaddress
-
Use the following command to load the PortMaster:
> tftp Ipaddress
-
Enter the IP address of the TFTP host that has the GENERIC.OS software. The PortMaster
makes a TFTP request from that host, and the server responds by sending the netboot image
to the PortMaster.
-
When the PortMaster has successfully netbooted, set DIP switch 2 down.
-
Download a fully functional ComOS into NVRAM.
-
Use the procedure in Step 6 on page 2 -17.
To install a bootable ComOS on the PortMaster from a host without file transfer capability, do the following:
-
Turn off the power on the PortMaster.
-
Set DIP switches 1 and 2 up.
-
Attach a null modem serial cable to the host and to the serial port on the PortMaster.
-
On a PC, attach the cable to port COM1 or COM2.
-
Configure the host computer for 9600 baud, 8 data bits, 1 stop bit, and no parity. Turn on XON/XOFF software flow control.
-
If you are using a PC to boot the PortMaster, download the GENERIC.OS image to the hard drive.
a. From the Microsoft Windows Terminal program select Transfers from the menu bar and then Send Text File from the submenu.
b. Turn on the PortMaster.
c. Press Esc and enter download Number, replacing Number with the size in bytes of the GENERIC.OS image.
d. Uncheck the Strip LF option and find the file in the browse box. See Table 2-2 on page 2-9 for the correct filename for your PortMaster model. Press the OK button when ready to download.
-
The process takes 5-6 minutes and the PortMaster automatically reboots when done.
-
If you are using a UNIX host to boot the PortMaster, transfer the file as follows:
a. Enter {cu,tip} /dev/ttyxx in one session window, replacing ttyxx with the serial port tty.
b. Turn on the PortMaster.
c. Press Esc and enter download Number, replacing Number with the size in bytes of the GENERIC.OS image.
d. From another session window, enter cat GENERIC.OS > /dev/ttyxx, replacing GENERIC.OS with the correct filename for your PortMaster model (see Table 2-2 on page 2-9).
-
When the PortMaster receives Number bytes, it runs ComOS.
-
When the booting process is complete, set DIP switch 2 down.
-
Load a fully functional ComOS into NVRAM.
-
Use the procedure in Step 6 on page 2 -17.
To download a new ComOS to the PortMaster by using the pminstall utility, do the following:
-
Turn the PortMaster off.
-
Set DIP switch 1 to up, and DIP switch 2 to down so that the PortMaster does not netboot each time it is turned on.
-
Turn the PortMaster on.
-
Log in as !root.
-
Do one of the following:
-
To save the configuration to an output file before reformatting NVRAM, enter the
following command on your UNIX host:
% /usr/portmaster/pmreadconf Pmname Pmpassword Outputfilename
-
On a PC, use PMconsole for Windows to save your configuration.
-
See "Resetting the Configuration to Factory Defaults" on page 2-4 for instructions.
-
Download the appropriate version of pminstall and the new ComOS via FTP from the Lucent InterNetworking Systems FTP site:
ftp://ftp.livingston.com/pub/le/software/System/Tarfile.tar.Z.
-
Replace System and Tarfile.tar.Z with the names of the files. You can retrieve the upgrade
image at the same time. The following example illustrates how to retrieve the SunOS
pminstall and PortMaster 3 upgrade image:
% umask 22
% mkdir /usr/portmaster
% cd /usr/portmaster
% ftp ftp.livingston.com
Name: anonymous
Password: your email address
ftp> binary
ftp> cd /pub/le/software/sun4
ftp> get pm_3.5.3_sun4.tar.Z pm.tar.Z
ftp> cd /pub/le/upgrades
ftp> get pm3_3.7.2c3
ftp> quit
% uncompress pm.tar.Z
% tar xvf pm.tar
% rm pm.tar
% mv pm3_3.7.2c3 data
-
Install the new ComOS into the NVRAM by using the pminstall utility.
% pminstall
-
After the new ComOS is installed, prepare the PortMaster for operation.
-
See "Preparing the PortMaster for Operation" on page 2-18 for instructions.
-
If your PortMaster has problems during or after the netboot, troubleshoot them.
-
See "Troubleshooting Netbooting" on page 2-18 for instructions.
Use the following procedure to prepare the PortMaster for operation after you have downloaded a new ComOS into NVRAM:
-
Turn off the power on the PortMaster.
-
Remove the terminal from the console port.
-
Return the DIP switches to their normal operating positions.
-
Reboot the PortMaster by turning on the power.
-
If the PortMaster is running properly, reenter your PortMaster configuration settings if necessary.
-
For more information, see the PortMaster Configuration Guide.
Table 2-4 lists some of the common problems encountered during or after a netboot and recommends possible solutions.
Follow these steps if you have forgotten the administrative password:
-
Place the PortMaster in diagnostic mode by setting DIP switch 1 up.
-
Log in to the PortMaster at the PortMaster console login: prompt using !root and a password of override.
-
A case-sensitive, 16-character encrypted challenge appears.
-
Contact Lucent InterNetworking Systems Technical Support for the appropriate 16-character one-time encrypted response.
-
Log in to the PortMaster as !root, and enter the 16-character encrypted response given by Lucent InterNetworking Systems Technical Support as the password.
Note ¯
Both the challenge and the response are case-sensitive.
-
Change the administrative password using the set password command.
-
Enter the save all command to save the new password to NVRAM.
If users are having trouble being authenticated by the PortMaster and you are using RADIUS, see the RADIUS Administrator's Guide for troubleshooting information.
If you are not using RADIUS, do either or both of the following to diagnose authentication problems:
-
See the PortMaster Command Line Reference for more information on this command.
[Top] [Table Of Contents] [Prev] [Next] [Index]
spider@livingston.com
Copyright © 1998, Lucent Technologies. All rights
reserved.