- request services flow-collector change-destination primary
interface cp-fpc/pic/port
- <clear-files>
- <clear-logs>
- <immediately | gracefully>
Command introduced before JUNOS Release 7.4.
(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.
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.
maintenance
When you enter this command, you are provided feedback on the status of your request.
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