Fortinet 548B Switch User Manual


 
- 331 -
7.17.1.26 clear ipv6 dhcp
This command will use to clear DHCPv6 statistics for all interfaces or for a specific interface. Use the
<slot/port> parameter to specify the interface.
Syntax
clear ipv6 dhcp {statistics | interface <slot/port> statistics}
<slot/port> - Specify the interface.
Default Setting
None
Command Mode
Privileged Exec
7.17.2 copy
This command uploads and downloads to/from the switch. Local URLs can be specified using tftp or
xmodem. The following can be specified as the source file for uploading from the switch: startup config
(startup-config), event log (eventlog), message log (msglog) and trap log (traplog). A URL is specified for
the destination.
The command can also be used to download the startup config or code image by specifying the source as
a URL and destination as startup-config or image respectively.
The command can be used to the save the running config to flash by specifying the source as
running-config and the destination as startup-config {filename}.
The command can also be used to download ssh key files as sshkey-rsa, sshkey-rsa2, and sshkey-dsa
and http secure-server certificates as sslpem-root, sslpem- server, sslpem-dhweak, and
sslpem-dhstrong.
Upload file from switch
Syntax
copy startup-config <url> <sourcefilename>
copy {errorlog | log | traplog} <url>
copy script <sourcefilename> <url>
copy image <filename> <url>
where <url>={xmodem | tftp://ipaddr/path/file | ftp://user:pass@ipaddr/path/file}
<sourcefilename> - The filename of a configuration file or a script file.