Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

name-format

Syntax

name-format “format”;

Hierarchy Level

[edit services flow-collector file-specification variant variant-number]

Release Information

Statement introduced before Junos OS Release 7.4.

Description

Specify the name format for a specific file format. The files may include supported macros. Use macros to organize files on the external machine to which they are exported from the collector PIC.

Options

format—Specify the filename format, within quotation marks. The name format can include the following macros, typed in braces:

  • {%D}—Date
  • {%T)—Time when the file is created
  • {%I}—Description string for the logical interface configured using the collector statement at the [edit services flow-collector interface-map] hierarchy level
  • {%N}—Unique, sequential number for each new file created
  • {am_pm}AM or PM
  • {date}—Current date using the{year} {month} {day} macros
  • {day}—From01 through 31
  • {day_abbr}Sun through Sat
  • {day_full}Sunday through Saturday
  • {generation number}—Unique, sequential number for each new file created
  • {hour_12}—From 01 through 12
  • {hour_24}—From 00 through 23
  • {ifalias}—Description string for the logical interface configured using the collector statement at the [edit services flow-collector interface-map] hierarchy level
  • {minute}—From 00 through 59
  • {month}—From 01through 12
  • {month_abbr}Jan through Dec
  • {month_full}January through December
  • {num_zone}—From -2359 through +2359; this macro is not supported
  • {second}—From 00 through 60
  • {time}—Time the file is created, using the {hour_24} {minute} {second} macros
  • {time_zone}—Time zone code name of the locale; for example,gmt (this macro is not supported).
  • {year}—In the format YYYY; for example, 1970
  • {year_abbr}—From 00 through 99

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

 

Related Documentation

 

Published: 2013-08-29

Supported Platforms

 

Related Documentation

 

Published: 2013-08-29