request services flow-collector change-destination secondary interface
Syntax
request services flow-collector change-destination secondary interface cp-fpc/pic/port <clear-files> <clear-logs> <immediately | gracefully>
Description
(M40e, M160, and M320 Series routers and T Series routers only) Switch to the secondary File Transfer Protocol (FTP) server that is configured as a flow collector.
Options
none | Switch to the secondary FTP server. |
cp-fpc/pic/port | Use the specified flow collector interface name (cp-fpc/pic/port) for the secondary 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
Output Fields
When you enter this command, you are provided feedback on the status of your request.
Sample Output
request services flow-collector change-destination secondary interface
user@host> request services flow-collector change-destination secondary interface cp-6/0/0 Flow collector interface: cp-6/0/0 Interface state: Collecting flows Destination change successful
Release Information
Command introduced before Junos OS Release 7.4.