copy core-dump [<MEMBER/SLOT>] daemon
Syntax
copy core-dump [<MEMBER/SLOT>] 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
<MEMBER/SLOT>
Specifies the slot ID on an 8400 or 6400 switch. Optional.
Syntax: Slot number for line (
1/1-1/4
,1/7-1/10
) MM(1/5
or1/6
)<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
Copying the core dump with slot ID 1/1 from daemon
hpe-sysmond
to a remote URL:
switch# copy core-dump 1/1 daemon hpe-sysmond sftp://abc@10.0.14.206/core.hpe-sysmond.xz vrf mgmt
Copying the core dump from the
hpe-config
process to a USB drive:
switch# copy core-dump daemon hpe-config usb:/config_core