request services flow-collector change-destination secondary 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 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
Specify the 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
List of Sample Output
request services flow-collector change-destination secondary 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 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
