publish report
Sets a schedule for automatic uploading of reports (may be used in config as well as executed directly).
publish report <report>
[ <object> ]
[ customer { <name> | all } ]
<file-url>
schedule <minute> [ <hour> [ <date> [ <month> [ <day> ]]]]
no publish report <report> [ <object> ]
- report--name of report to be published; see the email command for a current list of reports (some reports, as indicated in that list, require a router name.
- object--one of the following:
- name or IP address of router
- name--name of the customer for which the report is generated. The customer-specific prefix list will be used when generating such a report. If you use ‘all’ for the name, then reports for all defined customers will be sent.
- file-url--you may specify the resulting file with either of these two methods:
- directory name--when you end the name with a slash “/” character, then the file name will be derived from the time it was generated. This will ensure that the remote file will have a unique name and thus will not be overwritten.
- file name--use this (without the ending slash “/” character) instead of a directory name when you want each scheduled upload to overwrite the previous one.
- minute--number of minutes after the hour when the report is to be mailed; range: 0 through 59 (or * for every minute, or a comma-separated list of minutes, such as 5,25,45)
- hour--hour of the day when the report is to be mailed; range: 0 through 23, or * for every hour (or * for every hour, or a comma-separated list of hours, such as 10,22)
- date--day of the month when the report is to be mailed; range: 1 through 31, or * for every day of the month (or * for each date of the month, or a comma-separated list of dates, such as 1,15)
- month--month report is to be mailed; range: 1 through 12 (or * for every month, or a comma-separated list of months, such as 1,7)
- day--day of week when the report is to be mailed; range 0 through 7 (or * for every day of the week, or a comma-separated list of days, such as 0,3); 0 and 7 both mean Sunday
Must be in report configuration mode (config-report), which requires privileged-level access, to set a schedule. One-time publishing of a report can be done with log-in level access (exec mode).
Available for use multiple times in the configuration.
* for all schedule increments (except minute, which must be specified)
Use the publish report command to schedule automatic publishing of reports. You may set one schedule for each report; enter the command once for each.
You may also use this command directly from the command line (exec mode) to publish reports immediately without needing to schedule it. In this case, you cannot use the schedule keyword.
Reports will be sent by the management module via FTP.
Use the no form of the command with no parameters to cancel all automatic publishing.
Use the no form of the command with a report name (and object type if required) to cancel a specific publish schedule.