Specifications

11-29
Cisco SN 5428-2 Storage Router Software Configuration Guide
78-15471-01
Chapter 11 Maintaining and Managing the SN 5428-2 Storage Router
Using the SN 5428-2 Logging Facilities
For example:
radius-server host 10.5.0.53 \
auth-port 1644 \
timeout 60 \
retransmit 5
! Configure 1st RADIUS server
radius-server host 10.6.0.61
. . .
Scripts can be invoked from other scripts.
You can pass parameters to scripts. Within the script, the key character is the @ which instructs
the script execution function to substitute the value of the specified parameter. Whenever the
execution function encounters @1, it substitutes the value of the first passed parameter. The value
of the second parameter is substituted for @2, and so forth. You must use the force keyword to pass
parameters to the script.
Running Command Scripts
Use the following procedure to execute the CLI commands stored in a script file. In this example, the
script file is named CreateSc and must exist in the script directory.
After the script completes, issue the appropriate show commands to verify that the script executed as
expected.
Using the SN 5428-2 Logging Facilities
The SN 5428-2 Storage Router generates a variety of system event messages. All storage router event
and debug messages are issued in the following format:
Example 11-11 Event Message
Mar 18 11:48:05: %SNMP-5-SASAS: SnmpApp starting...
<timestamp>: %<facility>-<level_number>-<mnemonic>: <message text>
Command Description
Step 1
enable Enter Administrator mode.
Step 2
show script CreateSc Verify that the script, CreateSc, exists in the script directory and
that it contains the configuration that you want to recreate.
Step 3
read script CreateSc
or
read script CreateSc force
Read and execute the CLI commands in the script file. When
prompted, confirm that you want to continue and execute the script
commands.
(Optional) Use the force keyword to execute the script
immediately without asking for confirmation. The force keyword
is also required if you are passing parameters to the script.