Avocent CCM User Manual

Page 51

Advertising
background image

Chapter 3: Operations 37

be also be unique for each day. You may use the substitution strings listed in Table 3.7 as part of
the filename specification, regardless of the file type.

If you do not specify a filename, the default is interpreted according to the configured file type:

If the file type is linear, the default is equivalent to P%#.hst. The resulting filename for each
port will include the port number.

If the file type is daily, the default is equivalent to P%#_%F.hst. The resulting daily filename
for each port will include the port number and the date.

Using the default filenames is the most convenient way to ensure that all filenames will be unique
for each port (and for each day, if the file type is daily).
However, if you choose to specify a filename rather than use the defaults, it must meet the
following criteria:

The filename must be different from the filename specified for any other port on the CCM
appliance. Using the port number substitution string (%#) in the filename specification is one
way to accomplish this.
If you are enabling NFS on all ports by including the All parameter, and you also include the
File parameter with a nondefault specification (that is, a specification other than File=), the
filename specification must explicitly include the %# port number substitution string.

If the file type is daily, the filename specification must also include one or more of the date
substitution strings so that the resulting filename is different each day.

If you specify a nondefault filename, and later wish to use the default filename, you may change it
by issuing a Port NFS Enable command with a File= or File=”” parameter.

Table 3.7: Substitution Strings in NFS Filename Specification

2-Character String

Substituted Value

Example (Port 7 on January 8, 2004)

%d

Day of month (01-31)

08

%D

Same as %m-%d-%y

01-08-04

%F

Same as %Y-%m-%d
(this is the ISO 8601 date format)

2004-01-08

%j

Julian day of year (001-366)

008

%m

Month (01-12)

01

%y

Year without century (00-99)

04

%Y

Year with century (2004-9999)

2004

%#

Port number (01-nn)

07

%%

%

%

Advertising