copy support-log
Syntax
copy support-log <DAEMON-NAME> [<MEMBER/SLOT>] {<STORAGE-URL> | <REMOTE-URL> [vrf <VRF-NAME>]}
Description
Copies the specified support log for a daemon TFTP, SFTP, or USB.
Command context
Manager (#
)
Parameters
<MEMBER/SLOT>
Specifies the slot ID. 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.
{<STORAGE-URL> | <REMOTE-URL> [vrf <VRF-NAME>]}
Selects either the storage URL or the remote URL for the destination of the copied command output. Required.
<STORAGE-URL>
Specifies the USB to copy command output.
Syntax:
{usb}:/<FILE>
<REMOTE-URL>
Specifies the URL to copy the command output.
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.
Usage
Fast log is a high performance, per-daemon binary logging infrastructure used to debug daemon level issues by precisely capturing the per daemon/module/functionalities debug traces in real time. Fast log, also referred to as support logs, helps users to understand the feature internals and its specific happenings. The fast logs from one daemon are not overwritten by other daemon logs because fast logs are captured as part of a daemon core dump. Fast logs are enabled by default.
Authority
Administrators
Examples
Copying the support log from the daemon hpe-fand to a remote URL:
switch# copy support-log hpe-fand tftp://10.100.0.12/file
Copying the support log from the daemon hpe-fand to a remote URL with a VRF named mgmt:
switch# copy support-log hpe-fand tftp://10.100.0.12/file vrf mgmt
Copying the support log from the daemon hpe-fand to a USB:
switch# copy support-log hpe-fand usb:/support-log
Copying the support log from the daemon crash-handler for a member/slot 1/1 to a remote URL with a VRF named mgmt:
switch# copy support-log crash-handler 1/1 sftp://user@10.0.14.206/cras_3_8 vrf mgmt