Manual

99
8.5. Editing Super Series Configuration In CLI
8.5.1. Configuration file save/load mechanism:
1) While booting, the Super Series uncompresses /cnf/cnf.tar.gz to /tmp/cnf/* and
unmounts /cnf
2) When changing the configuration, the Super Series changes the contents of the files in
/tmp/cnf
3) When the user saves the configuration, the Super Series mounts /cnf and compresses
/tmp/cnf/* to /cnf/cnf.tar.gz (Web [Save to flash], or “saveconf” in CLI)
8.5.2. To Change Configuration In CLI:
To change the Super Series configuration in the CLI, run the menu-driven configuration utility
configmenu”, or configure manually as follows:
1) Edit the configuration file manually using vi command
(Please see Appendix 3. Super Series Configuration Files for detail descriptions of each
parameter in the configuration files)
2) Save the configuration file to flash using the “saveconf” utility
3) Apply all changes using “applyconf” utility
root@192.168.0.117:~# configmenu
or
root@192.168.0.117:~# cd /tmp/cnf
root@192.168.0.117:/tmp/cnf# vi redirect.cnf
root@192.168.0.117:/tmp/cnf# saveconf
root@192.168.0.117:/tmp/cnf# applyconf
8.6. Running User Defined Scripts
Shell script /usr2/rc.user is automatically called when the Super Series is booting. Users can
modify the rc.user file to run user defined script or binaries
#!/bin/bash
#
# rc.user : Sample script file for running user programs at boot time
#
#PATH=/bin:/usr/bin:/sbin:/usr/sbin
# Add shell command to execute from here
echo ‘This is the welcome message defined by users’exit 0