Using FTP for Core Dumps
To configure the router for a core dump using FTP, use the following commands in global configuration mode:
Step 1
Router(config)# ip ftp username username
(Optional) Configures the user name for FTP connections.
Step 2
Router(config)# ip ftp password [type] password
(Optional) Specifies the password to be used for FTP connections.
Step 3
Router(config)# exception protocol ftp
Specifies that FTP should be used for core dump file transfers.
Step 4
Router(config)# exception dump ip-address
Configures the router to dump a core file to a particular server if the router crashes.
Step 5
Router(config)# exception core-file filename
(Optional) Specifies the name to be used for the core dump file.
The following example configures a router to use FTP to dump a core file named "dumpfile" to the FTP server at 172.17.92.2 when it crashes.
ip ftp username redip ftp password blueexception protocol ftpexception dump 172.17.92.2exception core-file dumpfile
暂时还木有人评论,坐等沙发!