Cisco Cisco Packet Data Interworking Function (PDIF)
Session Event Module Configuration Mode Commands
file ▀
Command Line Interface Reference, StarOS Release 16 ▄
8225
file
Sets the format and handling characteristics of event files.
Product
SAEGW
S-GW
Privilege
Administrator
Mode
Exec > Global Configuration > Context Configuration > Session Event Module Configuration
configure > context context_name > session-event-module
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-event)#
Syntax
file [ compression { gzip | none } ] [ current-prefix string ] [ delete-timeout seconds ]
[ directory directory_name ] [ exclude-checksum-record ] [ field-separator { hyphen |
omit | underscore } ] [ file-sequence-number rulebase-seq-num ] [ headers ] [ name
file_name ] [ reset-indicator ] [ rotation [ num-records number | time seconds | volume
bytes ] ] [ sequence-number { length length | omit | padded | padded-six-length |
unpadded } ] [ storage-limit limit ] [ time-stamp { expanded-format | rotated-format |
unix-format } ] [ trailing-text string ] [ trap-on-file-delete ] [ xor-final-record ] +
[ directory directory_name ] [ exclude-checksum-record ] [ field-separator { hyphen |
omit | underscore } ] [ file-sequence-number rulebase-seq-num ] [ headers ] [ name
file_name ] [ reset-indicator ] [ rotation [ num-records number | time seconds | volume
bytes ] ] [ sequence-number { length length | omit | padded | padded-six-length |
unpadded } ] [ storage-limit limit ] [ time-stamp { expanded-format | rotated-format |
unix-format } ] [ trailing-text string ] [ trap-on-file-delete ] [ xor-final-record ] +
default file [ compression ] [ current-prefix ] [ delete-timeout ] [ directory ] [ field-
separator ] [ file-sequence-number ] [ headers ] [ name ] [ reset-indicator ] [ rotation
{ num-records | time | volume } ] [ sequence-number ] [ storage-limit ] [ time-stamp ] [
trailing-text ] +
separator ] [ file-sequence-number ] [ headers ] [ name ] [ reset-indicator ] [ rotation
{ num-records | time | volume } ] [ sequence-number ] [ storage-limit ] [ time-stamp ] [
trailing-text ] +
default
Configures the default setting for the specified keyword(s).
compression { gzip | none }
Specifies compression of S-GW event files.
gzip
: Enables GNU zip compression of the event file at approximately 10:1 ratio.
none
: Disables Gzip compression.
current-prefix string
Specifies a string to add to the beginning of the event file that is currently being used to store records.
string
must be an alphanumeric string of 1 through 31 characters. Default: curr
delete-timeout seconds
Specifies a time period, in seconds, after which event files are deleted. By default, files are never deleted.
seconds
must be an integer from 3600 through 31536000. Default: Disabled