4.172 copy-seculog
Use this command to copy the contents of a security log to the file transfer area (FTA). If no parameters are specified, a file called yymmdda.log (see the description of the dfile parameter) is created in the FTA on the active fixed disk. The contents of the security log on the active fixed disk are copied into this file.
Parameters
- dfile (optional)
- Target file name. The name of the file that is to be created in the FTA and initialized with the security log contents.
Example
copy-seculog
copy-seculog:dfile=”somename.log”
copy-seculog:slog=stb
copy-seculog:slog=act
copy-seculog:slog=act:dloc=stb
Dependencies
No other security log command can be in progress when this command is entered.
No copy-fta
command can be in progress when this command is entered.
GPSM-II and E5-MCAP cards cannot be provisioned in the system at the same time.
The source log and destination file combination is not allowed.
The removable drive must have a File Transfer Area to be used as the destination.
Notes
For the dfile parameter, if the file name is not accepted by the system because it contains special characters such as blanks, colons, dashes, ampersands, or others; or because it does not start with an alphabetic character, enclose the file name in double quotes as in this example: "seculog-1.ext".
Any scroll area failure message that can be produced by the copy-fta
command can be produced also by the copy-seculog
command.
Output
This example shows that the log on the active fixed disk is copied to the FTA on the active fixed disk and given the default name (note the a in the log name).
copy-seculog
rlghncxa03w 04-01-04 15:59:06 EST EAGLE 31.3.0
Security log on TDM 1114 copied to file 040104a.log on TDM 1114
This example shows that the log on the active fixed disk is copied to the FTA on the active fixed disk and given a user-specified name.
copy-seculog:dfile=”somename.log”
rlghncxa03w 04-01-04 15:59:06 EST EAGLE 31.3.0
Security log on TDM 1116 copied to file somename.log on TDM 1114
This example shows that the log on the standby fixed disk is copied to the FTA on the active fixed disk and given the default name (note the s in the log name).
copy-seculog:slog=stb
rlghncxa03w 04-01-04 15:59:06 EST EAGLE 31.3.0
Security log on TDM 1114 copied to file 040104s.log on TDM 1116
This example shows that the copy of the log fails because a file already exists in the FTA with the same name.
copy-seculog:slog=act
rlghncxa03w 04-01-04 15:59:06 EST EAGLE 31.3.0
Command Failed - Destination File already exists in the File Transfer Area
This example shows that the copy fails because there is not enough room in the FTA to contain the copy.
copy-seculog:slog=act:dloc=stb
rlghncxa03w 04-01-04 15:59:06 EST EAGLE 31.3.0
Command Failed - Not enough room exists in the File Transfer Area