export

Profile Config Commands

Enables export of startup.log file after every boot

Supported in the following platforms:

Syntax

export startup-log [max-retries|retry-interval|url]
export startup-log [max-retries <2-65535>|retry-interval <30-86400>|url <URL>]

Parameters

export startup-log [max-retries <2-65535>|retry-interval <30-86400>|url <URL>]
export startup-log Enables export of the startup.log file after every boot. This option is disabled by default.
max-retries <2-65535> Configures the maximum number of retries in case the export process fails
  • <2-65535> – Specify a value from 2 - 65535.
retry-interval <30-86400> Configures the interval between two consecutive retries
  • <30-86400> – Specify a value from 30 - 86400 seconds.
url <URL> Configures the destination URL in the following format:

tftp://<hostname|IP>[:port]/path/file

ftp://<user>:<passwd>@<hostname|IP>[:port]/path/file

sftp://<user>@<hostname|IP>[:port]>/path/file

Example

nx9500-6C8809(config-profile-test-nx5500)#export startup-log max-retries 10 retry-interval 30 url ftp://anonymous:anonymous@192.168.13.10/log/startup.log

nx9500-6C8809(config-profile-test-nx5500)#show context
profile nx5500 test-nx5500
 no autoinstall configuration
 no autoinstall firmware
 crypto ikev1 policy ikev1-default
  .......................................................
 interface ge5
 interface ge6
 interface pppoe1
 use firewall-policy default
 export startup-log max-retries 10 retry-interval 30 url ftp://anonymous:anonymous@192.168.13.10/log/startup.log
 enforce-version adoption major
 enforce-version cluster full
 service pm sys-restart
--More--
nx9500-6C8809(config-profile-test-nx5500)#

Related Commands

no Disables export of startup.log file