request services flow-collector change-destination primary interface
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Description
(M40e, M160, and M320 routers and T Series routers only) Switch to the primary File Transfer Protocol (FTP) server that is configured as a flow collector.
Options
none | — | Switch to the primary FTP server. |
cp-fpc/pic/port | — | Specify the flow collector interface name for the primary destination. |
clear-files | — | (Optional) Request clearing of existing data files in the FTP wait queue when the switch takes place. |
clear-logs | — | (Optional) Request clearing of existing logs when the switch takes place. |
immediately | gracefully | — | (Optional) Specify whether you want the switch to take place immediately, or to affect only newly created files. |
Required Privilege Level
maintenance
List of Sample Output
request services flow-collector change-destination primary interfaceOutput Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request services flow-collector change-destination primary interface
user@host> request services flow-collector change-destination
primary interface cp-6/0/0
Flow collector interface: cp-6/0/0 Interface state: Collecting flows Destination change successful