© Copyright IBM Corp. 1998 261
Appendix B. GRF Configuration Files
This appendix contains relevant SP Switch Router configuration files.
Some of them are here just for information, some of them were worked out
manually during setup of hardware or software and some of them were
created using Ascend-supplied tools. If you need up to date information about
these files, look on the SP Switch Router in directory /etc. Most of the files
mentioned in this appendix come as a *.conf.template file that you can use as
a starting point for further investigation and as a skeleton for your own files.
Also, make use of the man utility that is running on the SP Switch Router.
Although there are no entries for basic operating system commands, the GRF
specific commands, which can be recognized by their gr- prefix, do.
B.1 /root/.profile
The following is a modified /root/.profile for the root user. We liked to have a
system prompt that shows the hostname and path. We also preferred emacs
command line settings over the vi settings.
We further commented out the call to the command line interface (CLI),
because most of the time when you log onto the GRF, you will be working
with a shell anyway. CLI can be started with the command
ncli.
Because the file /root/.profile is not located in the /etc directory, it must be
saved with the
grsite command to be there after system reboot. If you want
the modified file to survive even software updates, use
grsite --perm instead.
#
# NOTE: This file is considered part of the Ascend GRF software,
# and may be overwritten by future releases of Ascend GRF
# software. IF YOU EDIT THIS FILE DIRECTLY, YOUR CHANGES
# MAY BE LOST WHEN YOU UPGRADE SOFTWARE.
#
# To allow local customization of the root login, this
# script will look for the file .profile.local and source
# it in if it exists. This should allow you to set
# environment variables or execute initialization commands
# in that file.
#
# If you find that you cannot adequately customize your
# root account’s login process through .profile.local, and
# must customize it by editing this file directly, then of
# course, do what you need to make things work.
#
# If you find that you must edit this .profile script directly,
# please inform the High Performance Networking Division of
# Ascend Communications (through normal support channels) of
# the change you needed to make to this .profile script, so