System Management
7210 SAS D, E, K OS Basic System Configuration Guide Page 265
Post-Boot Configuration Extension Files
Two post-boot configuration extension files are supported and are triggered when either a
successful or failed boot configuration file is processed. The commands specify URLs for the CLI
scripts to be run following the completion of the boot-up configuration. A URL must be specified
or no action is taken. The commands are persistent between router (re)boots and are included in
the configuration saves (
admin>save
).
CLI Syntax: config>system
boot-bad-exec file-url
boot-good-exec file-url
Example
:config>system# boot-bad-exec ftp://test:test@192.168.xx.xxx/./
fail.cfg
config>system# boot-good-exec ftp://test:test@192.168.xx.xxx/./
ok.cfg
The following example displays the command output:
*A:ALA# configure system
*A:ALA>config>system# info
----------------------------------------------
#--------------------------------------------------
echo "System Configuration"
#--------------------------------------------------
name "ALA"
boot-good-exec "cf1:\good.cfg"
boot-bad-exec "cf1:\bad.cfg"
snmp
shutdown
exit
login-control
idle-timeout disable
pre-login-message "ala-1" name
exit
time
ntp
authentication-key 1 key "SV3BxZCsIvI" hash type message-digest
server 10.135.16.130
peer 21.0.0.1 key-id 1
no shutdown
exit
sntp
server-address 10.135.16.90 preferred
no shutdown
exit
zone UTC
exit
thresholds
rmon
exit
exit