Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

request services flow-collector test-file-transfer

Syntax

request services flow-collector test-file-transfer filename interface (all | cp-fpc/pic/port) (channel-zero | channel-one) (primary | secondary)

Release Information

Command introduced before Junos OS Release 7.4.

Description

(M40e, M160, and M320 routers, PTX Series, and T Series routers only) Transfer a test file to the primary or secondary File Transfer Protocol (FTP) server that is configured as a flow collector. This command verifies that the output side of the flow collector interface is operating properly.

Options

filename

Name of the test file to transfer.

interface all | cp-fpc/pic/port)

Transfer a test file of flows from all configured flow collector interfaces or from only the specified interface.

channel-zero | channel-one

Transfer a file from export channel 0 (unit 0) or channel 1 (unit 1) of the PIC.

primary | secondary

Transfer a file to the primary or secondary server configured as a flow collector.

Required Privilege Level

network

List of Sample Output

request services flow-collector test-file-transfer

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Sample Output

request services flow-collector test-file-transfer

user@router> request services flow-collector test-file-transfer test_file interface cp-7/1/0 channel-one primary
Flow collector interface: cp-7/1/0
Interface state: Collecting flows
Response: Test file transfer successfully scheduled

Published: 2013-03-14

Supported Platforms

Published: 2013-03-14