copy core-dump daemon
Syntax
copy core-dump daemon <DAEMON-NAME>[:<INSTANCE-ID>] <REMOTE-URL> [vrf <VRF-NAME>]
Description
Copies the core-dump from the specified daemon using TFTP, SFTP, or USB.
Command context
Manager (#
)
Parameters
<DAEMON-NAME>
Specifies the name of the daemon. Required.
[:<INSTANCE-ID>]
Specifies the instance of the daemon core dump. Optional.
<REMOTE_URL>
Specifies the remote destination URL. Required. The syntax of the URL is the following:
Syntax:
{tftp:// | sftp://<USER>@}{<IP> | <HOST>}[:<PORT>][;blocksize=<VAL>]/<FILE>
vrf <VRF-NAME>
Specifies the VRF name. If no VRF name is provided, the VRF named default is used. Optional.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Copying the core dump from daemon ops-vland to a remote URL with a VRF named mgmt:
switch# copy core-dump daemon ops-vland sftp://abc@10.0.14.211/vland_coredump.xz vrf mgmt
Copying the core dump from daemon ops-switchd to a USB drive:
switch# copy core-dump daemon ops-switchd usb:/switchd