Administrator Guide

Switch Management Commands 2087
Example
This example enables core dumps to a TFTP server 10.27.9.1 reachable over
the out-of-band port. The core file is written to the dumps directory and the
name includes the host name of the switch and the switch TOD.
console(config)#exception dump tftp-server 10.27.9.1 file-path dumps
console(config)#exception core-file Core hostname time-stamp
console(config)#exception protocol tftp
This example enables core dumps to a USB flash drive. The core file is written
to the top level directory and the name includes the host name of the switch
and the switch TOD.
console(config)#exception core-file Core hostname time-stamp
console(config)#exception protocol usb
console(config)#do dir usb
Attr Size(bytes) Creation Time Name
drwx 16384 Jan 01 1970 00:00:00 .
drwx 0 Dec 16 2014 18:25:43 ..
-rwx 943 Jan 01 1980 00:00:00 start.scr
-rwx 21642899 Jan 01 1980 00:00:00 backup.stk
-rwx 373 Jan 01 1980 00:00:00 start.text
-rwx 8685003 Apr 05 2011 16:27:28 3750CR.pdf
-rwx 37549 Aug 21 2013 07:55:22 maxacl.scr
-rwx 33903 Aug 22 2013 10:49:38 max-acls-per-list.scr
-rwx 139874 Oct 09 2013 14:00:18 max-ipv4-acls.scr
-rwx 5899 Sep 20 2013 14:23:26 local_repro.txt
-rwx 21262857 Oct 24 2013 12:12:30 N4000vD.10.23.2.stk
Total Size: 1002160128
Bytes Used: 51904512
Bytes Free: 950255616
exception switch-chip-register
Use the exception switch-chip-register command to enable dumping the
switch chip registers in case of an exception. The register dump is taken only
for the master unit and not for the stack member units. Use the no form of
the command to disable dumping of the switch-chip registers.
Syntax
exception switch-chip-register
no exception switch-chip-register
2CSNXXX_SWUM204.book Page 2087 Monday, January 25, 2016 1:25 PM