copy syslog-file ftp

Last Updated : Nov 06, 2012 |
Copies the Syslog file to a remote server using FTP.
Prolog information

Syntax

copy syslog-file ftp filename {<ip-addr>|<IPv6–addr>[%zone-id]|<hostname>}

Parameters

Parameter
Description
Possible Values
Default Value
filename
File name with full path
string
ip-addr
IPv4 address of the server
IPv6-addr
IPv6 address of the server
%zone-id
VLAN number
1 — 4,090
hostname
Hostname of the server

User level

admin

Context

general

Example

To copy the syslog file syslog1 to the host with IP address 192.168.49.10:
Gxxx-001(super)# copy syslog-file ftp syslog1 192.168.49.10
To copy the syslog file syslog1 to the host with IP address 2001:db8::c0a8:310a:
Gxxx-001(super)# copy syslog-file ftp syslog1 2001:db8::c0a8:310a
To copy the syslog file syslog1 to the host my.ftp.server:
Gxxx-001(super)# copy syslog-file ftp syslog1 my.ftp.server