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)
Description
(M40e, M160, and M320 Series 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
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 interface channel-one primary
user@host> 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
Release Information
Command introduced before Junos OS Release 7.4.